-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
164 lines (142 loc) · 6.89 KB
/
index.html
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!DOCTYPE html>
<html lang="en-us">
<head>
<!-- Meta Data -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Page To Enter Information About The Users Team" />
<meta name="keywords" content="About Page, Ike, Adrian, Barranco, Team, Github, Employee, ID, Manager, Intern, Engineer" />
<meta name="author" content="Ikemous" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<!-- End Meta Data -->
<!-- Page Tab Title -->
<title>My Team</title>
<!-- CSS And Scripts -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css" />
<link rel="stylesheet" type="text/css" href="./Assets//style.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script defer src="Assets/script.js"></script>
</head>
<body>
<!-- Nav Bar holding navigation menu -->
<nav class="navbar navbar-expand-lg navbar-light">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navBar" aria-controls="navBar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navBar">
<ul class="navbar-nav mr-auto mt-2 mt-md-0">
<!-- Link to home page -->
<li class="nav-item active">
<a class="nav-link" href="/">Home <span class="sr-only">(current)</span></a>
</li>
<!-- Link to team page -->
<li class="nav-item">
<a class="nav-link" href="./pages/team">My Team</a>
</li>
</ul>
</div>
</nav>
<!-- End Nav Bar -->
<!-- Page Jumbotron Title -->
<div class="container-fluid">
<div class="row">
<div class="col-12 jumbotron mb-3 team-heading">
<!-- Page main Header -->
<h1 class="text-center">My Team Generator</h1>
</div>
</div>
</div>
<!-- End Page Jumbotron Title -->
<!-- Start Container -->
<div class="container">
<div class="row">
<!-- Contains employee list -->
<div class="col-sm-4">
<h2>Team List</h2>
<ul class="list-group" id="employeeList">
</ul>
<form action="./pages/team">
<button type="submit" class="btn btn-primary mb-2" id="finish">Finish</button>
</form>
</div>
<!-- End Employee list -->
<!-- Contains all the form elements for user input -->
<div class="col-sm-8">
<h2>Add New Team Member</h2>
<form method="POST" role="form">
<div class="form-group">
<label for="employeeRole">Please Select Employees Role:</label>
<select class="form-control" id="employeeRole">
<option>Manager</option>
<option>Engineer</option>
<option>Intern</option>
</select>
</div>
<div class="form-group">
<label for="employeeName">Please Enter Employee Name:</label>
<input type="text" class="form-control" id="employeeName" placeholder="John Doe">
</div>
<div class="form-group">
<label for="employeeID">Please Enter Employee ID:</label>
<input type="text" class="form-control" id="employeeID" placeholder="1,2,3">
</div>
<div class="form-group">
<label for="employeeEmail">Please Enter Employee Email Address:</label>
<input type="email" class="form-control" id="employeeEmail" placeholder="[email protected]">
</div>
<div class="form-group">
<label for="employeeExtraInfo">Please Enter Employee <span id="specialInfo">Office Number</span>:</label>
<input type="text" class="form-control" id="employeeExtraInfo" placeholder="1,2,3">
</div>
<button type="submit" class="btn btn-primary mb-2" id="add">Add Employee</button>
</form>
</div>
<!-- End form elements -->
</div>
</div>
<!-- Modal to display employee information -->
<div class="modal fade" id="editModal" tabindex="-1" role="dialog" aria-labelledby="editModal" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="employee-name">Ike Barranco</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="employee-role" class="col-form-label">Role:</label>
<input type="text" class="form-control" id="employee-role" disabled>
</div>
<div class="form-group">
<label for="employee-id" class="col-form-label">ID:</label>
<input type="text" class="form-control" id="employee-id" disabled>
</div>
<div class="form-group">
<label for="employee-email" class="col-form-label">Email:</label>
<input type="text" class="form-control" id="employee-email">
</div>
<div class="form-group">
<label for="employee-extra" class="col-form-label"><span id="extra-info">Office Number</span></label>
<input type="text" class="form-control" id="employee-extra">
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" id="delete" data-dismiss="modal">Delete</button>
<button type="button" class="btn btn-primary" id="update" data-dismiss="modal">Update</button>
</div>
</div>
</div>
</div>
<!-- End modal to display employee information -->
</body>
</html>