Skip to content
Snippets Groups Projects
Commit 40fc552a authored by Ismail's avatar Ismail
Browse files

ManageShift component created, designed and link into Dashboard

parent 25fbee56
No related branches found
No related tags found
No related merge requests found
import React, { Component } from 'react'
import Navbar from '../layout/Navbar';
import ManageShift from '../layout/ManageShift';
class Dashboard extends Component {
render() {
return (
<div>
<div id="content">
<Navbar />
<ManageShift />
</div>
)
}
......
import React, { Component } from 'react'
class ManageShift extends Component {
render() {
return (
<div className="container">
<div className="row">
<div className="col-3 text-center"><button onClick={this.handleCreatEvent} id="startWorkTime" type="button" className="btn btn-success btn-sm btn-special">Start Work</button></div>
<div className="col-3 text-center"><button disabled type="button" className="btn btn-success btn-sm btn-special">Start Lunch Break</button></div>
<div className="col-3 text-center"><button disabled type="button" className="btn btn-success btn-sm btn-special">Lunch Break Finish</button></div>
<div className="col-3 text-center"><button disabled type="button" className="btn btn-success btn-sm btn-special">Close Work</button></div>
</div>
</div>
)
}
}
export default ManageShift
......@@ -43,3 +43,12 @@ code {
padding: 10px;
}
/*manageshift*/
.btn-special{
width: 120px;
height: 100px;
}
#content .row{
margin: 50px 0px;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment