Commit bbddebd9 authored by Linh Nguyen's avatar Linh Nguyen

Update interface

parent 70e77aa1
......@@ -39,4 +39,13 @@
padding: 5px 0 5px 200px;
margin: 0 5px 0 15px;
overflow: hidden;
}
.display-btn {
margin-top: 15px;
justify-content: center;
}
.display-btn button{
margin: 5px auto 5px auto;
}
\ No newline at end of file
......@@ -5,8 +5,8 @@ import "./App.css";
import withFetchData from "./HOC/withFetchData";
import withUVs from "./HOC/withUVs";
import { LoginInput } from "./components/LoginInput";
import { StudentsList } from "./components/StudentsList";
import { LoginInput } from "./components/User/LoginInput";
import { StudentsList } from "./components/User/StudentsList";
import LocalStorageManager from "./utils/LocalStorageManager"
const SchedulerWithData = withFetchData(withUVs(Scheduler))
......@@ -80,35 +80,34 @@ class App extends Component {
</div>
</div>
<div className="left">
<button
type="submit"
className="btn btn-primary btn-sm"
onClick={this.showByStudent}
>
Show by student
</button>
<button
type="submit"
className="btn btn-primary btn-sm"
onClick={this.showByClasses}
>
Show by class
</button>
<LoginInput
handleClick={(this.addLogin)}
/>
<div>
<LoginInput
handleClick={(this.addLogin)}
/>
</div>
<div>
<label htmlFor="exampleInputEmail1">Current students:</label>
<StudentsList
logins={logins}
handleClick={(this.deleteLogin)}
/>
</div>
<div className="display-btn">
<button
type="submit"
className="btn btn-primary btn-sm"
onClick={this.showByStudent}
>
Show by student
</button>
<button
type="submit"
className="btn btn-primary btn-sm"
onClick={this.showByClasses}
>
Show by class
</button>
</div>
<StudentsList
logins={logins}
handleClick={(this.deleteLogin)}
/>
</div>
</div>
<footer className="App-footer">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment