@@ -54,73 +54,67 @@ class BreakForm extends Component {
5454 } = this . state ;
5555
5656 return (
57- < div >
57+ < div >
5858 < img src = { logo } alt = "Logo" />
5959 < span >
6060 < a href = "/ProfileContainer" className = "btn btn-info" role = "button" >
6161 Back To Profile
6262 </ a >
6363 </ span >
64- < Container style = { {
65- display : "flex" ,
66- flexDirection : "row" ,
67- justifyContent : "center"
68- } } >
69-
70- < Card
71- style = { { background :'#31e89f' , opacity :"0.7" } }
72-
73-
74-
75-
64+ < Container
65+ style = { {
66+ display : "flex" ,
67+ flexDirection : "row" ,
68+ justifyContent : "center"
69+ } }
7670 >
77- < Card . Body >
78- < Form onSubmit = { this . onSubmit } >
79- < Form . Label > Enter Date </ Form . Label >
80- < Form . Control
81- type = "date"
82- name = "breakdate "
83- value = { breakdate }
84- onChange = { this . onChange }
85- />
86- < Form . Label > Break Start Time </ Form . Label >
87- < Form . Control
88- type = "time"
89- name = "breaketime "
90- placeholder = "Break Start "
91- value = { breaketime }
92- onChange = { this . onChange }
93- />
94- < Form . Label > Break End Time </ Form . Label >
95- < Form . Control
96- type = "time"
97- name = "breakend "
98- placeholder = "Break End "
99- value = { breakend }
100- onChange = { this . onChange }
101- />
102- < Form . Label > User id </ Form . Label >
103-
104- < Form . Control
105- name = "user_id"
106- placeholder = "Enter User Id "
107- value = { user_id }
108- onChange = { this . onChange }
109- />
110- < Form . Label > Employee id </ Form . Label >
111- < Form . Control
112- name = "employee_id"
113- placeholder = "Enter Employee Id "
114- value = { employee_id }
115- onChange = { this . onChange }
116- />
117- < Button variant = "primary" type = "submit" >
118- Add
119- </ Button >
120- </ Form >
121- </ Card . Body >
122- </ Card >
123-
71+ < Card style = { { background : "#31e89f" , opacity : "0.7" } } >
72+ < Card . Body >
73+ < Form onSubmit = { this . onSubmit } >
74+ < Form . Label > Enter Date </ Form . Label >
75+ < Form . Control
76+ type = "date "
77+ name = " breakdate"
78+ value = { breakdate }
79+ onChange = { this . onChange }
80+ / >
81+ < Form . Label > Break Start Time </ Form . Label >
82+ < Form . Control
83+ type = "time "
84+ name = "breaketime "
85+ placeholder = "Break Start"
86+ value = { breaketime }
87+ onChange = { this . onChange }
88+ / >
89+ < Form . Label > Break End Time </ Form . Label >
90+ < Form . Control
91+ type = "time "
92+ name = "breakend "
93+ placeholder = "Break End"
94+ value = { breakend }
95+ onChange = { this . onChange }
96+ / >
97+ < Form . Label > User id </ Form . Label >
98+
99+ < Form . Control
100+ name = "user_id "
101+ placeholder = "Enter User Id"
102+ value = { user_id }
103+ onChange = { this . onChange }
104+ / >
105+ < Form . Label > Employee id </ Form . Label >
106+ < Form . Control
107+ name = "employee_id "
108+ placeholder = "Enter Employee Id"
109+ value = { employee_id }
110+ onChange = { this . onChange }
111+ / >
112+ < Button variant = "primary" type = "submit" >
113+ Add
114+ </ Button >
115+ </ Form >
116+ </ Card . Body >
117+ </ Card >
124118 </ Container >
125119 </ div >
126120 ) ;
0 commit comments