-
Notifications
You must be signed in to change notification settings - Fork 1
/
color.html
40 lines (32 loc) · 1.11 KB
/
color.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
<html>
<head>
<title>COP 4331 LAMP Stack Demo</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>
<h1 id="title">COP 4331 LAMP Stack Demo</h1>
<div id="loggedInDiv">
<span id="userName"></span><br />
<button type="button" id="logoutButton" class="buttons" onclick="doLogout();"> Log Out </button>
</div>
<div id="accessUIDiv">
<br />
<input type="text" id="searchText" placeholder="Color To Search For"/>
<button type="button" id="searchColorButton" class="buttons" onclick="searchColor();"> Search Color </button><br />
<span id="colorSearchResult"></span>
<p id="colorList">
</p><br /><br />
<input type="text" id="colorText" placeholder="Color To Add">
<button type="button" id="addColorButton" class="buttons" onclick="addColor();"> Add Color </button><br />
<span id="colorAddResult"></span>
</div>
</body>
</html>