-
Notifications
You must be signed in to change notification settings - Fork 7
/
add-employee.php
126 lines (119 loc) · 5.25 KB
/
add-employee.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<?php include('partials/header.php');
/*
* If DEPARTMENT table is empty, redirect to create department first
*
*/
?>
<div class="row">
<div class="medium-12 columns">
if no Department, you cannot create employee.
<br>
if no Job, you cannot create employee.
<h3>Create Employee</h3>
<form id="profile-form" action="" method="post">
<div class="row">
<div class="large-7 medium-8 columns">
<div class="row">
<div class="columns">
<label>First Name
<input type="text" name="first_name">
</label>
</div>
</div>
<div class="row">
<div class="columns">
<label>Last Name
<input type="text" name="last_name">
</label>
</div>
</div>
<div class="row">
<div class="columns">
<label>Email
<input type="text" name="email">
</label>
</div>
</div>
<div class="row">
<div class="columns">
<label>Birth Date
<input type="text" name="email">
</label>
</div>
</div>
<div class="row">
<div class="columns">
<label>Phone Number
<input type="text" name="email">
</label>
</div>
</div>
<div class="row">
<div class="columns">
<label>Address
<textarea></textarea>
</label>
</div>
</div>
<div class="row">
<div class="columns">
<label>State Date
<input type="text" name="email">
</label>
</div>
</div>
</div>
<div class="large-5 medium-4 columns">
<div class="row">
<div class="columns">
<label>Profile Picture</label>
<img class="thumbnail" src="http://placehold.it/150x150">
<br>
<label for="exampleFileUpload" class="button">Upload File</label>
<input type="file" id="exampleFileUpload" class="show-for-sr">
</div>
</div>
<div class="row">
<div class="columns">
<label>Notes
<textarea></textarea>
</label>
</div>
</div>
<div class="row">
<div class="columns">
<label>Department
<select>
<option value="husker">Husker</option>
<option value="starbuck">Starbuck</option>
<option value="hotdog">Hot Dog</option>
<option value="apollo">Apollo</option>
</select>
</label>
</div>
</div>
<div class="row">
<div class="columns">
<label>Job Title
<input type="text" name="email">
</label>
</div>
</div>
<div class="row">
<div class="columns">
<label>Starting Salary
<input type="text" name="email">
</label>
</div>
</div>
</div>
</div>
<div class="row" style="margin:40px auto;">
<div class="columns">
<button type="submit" name="submit" class="button" style="padding-left:50px; padding-right:50px;">Submit</button>
</div>
</div>
</form>
</div>
</div>
<?php include('partials/footer.php'); ?>