forked from luke-ded/LAMP-Stack-Demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd.html
More file actions
65 lines (50 loc) · 2.29 KB
/
add.html
File metadata and controls
65 lines (50 loc) · 2.29 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Add Contact</title>
<script type="text/javascript" src="js/code.js"></script>
<link href="css/styles.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet">
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function()
{
readCookie();
}, false);
</script>
</head>
<body>
<div class="main">
<img src = "../images/Offical.png" style = "float:left; margin-left:1%; margin-top:19px; width: 38px; height: 38px;">
<div class="icon">
<h2 class="logo">National Football Library</h2>
</div>
<a href="search.html"><button id="searchTab" class="actionBtn">Search</button></a>
<button id="addTab" class="actionBtn">Add Player</button>
<script type="text/javascript">
document.getElementById("addTab").style.color = "rgb(0, 157, 255)";
document.getElementById("addTab").style.borderColor = "rgb(0, 157, 255)";
</script>
<button type="button" id="logoutButton" class="logoutButton" onclick="doLogout();"> Log Out </button>
<h2 id="userName"></h2>
<div id="accessUIDiv">
<h2 id = "accessUITitle">Add a Player</h2>
<h5 class = "inputPrompt">First Name </h5><h5 class="requiredStar">*</h5>
<input type="text" id="firstNameText" class = "addText" placeholder="First Name">
<h5 class = "inputPrompt">Last Name </h5><h5 class="requiredStar">*</h5>
<input type="text" id="lastNameText" class = "addText" placeholder="Last Name">
<h5 class = "inputPrompt">Phone </h5><h5 class="requiredStar">*</h5>
<input type="text" id="phoneText" class = "addText" placeholder="Phone #: XXX-XXX-XXXX">
<h5 class = "inputPrompt">Email </h5><h5 class="requiredStar">*</h5>
<input type="text" id="emailText" class = "addText" placeholder="Email: example@gmail.com">
<script>
document.getElementById("emailText").onkeyup = function(e)
{
if(e.key == 'Enter') addContact();
}
</script>
<h5 class="signupResult" id="contactAddResult"></h5>
<button type="button" id="addContactButton" class="addbutton" onclick="addContact();"> Add Player </button><br />
</div>
</div>
</body>
</html>