-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStack-Widget-UI.html
More file actions
61 lines (48 loc) · 1.77 KB
/
Copy pathStack-Widget-UI.html
File metadata and controls
61 lines (48 loc) · 1.77 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
<!DOCTYPE html>
<html lang='en'>
<head>
<link rel="stylesheet" href="./Stack-Widget-UI.css">
<title> Stack Widget </title>
</head>
<body>
<div class="container">
<div class="main" id="main">
<table class="widget-head">
<tr>
<td>
<select style="display: inline;padding:1px;margin-right:1em" id=" stacks"
onchange="serialize()">
</select>
</td>
<td>
<h1 style="display: inline;"> Stack Widget </h1>
</td>
</tr>
<tr>
<td>
<button onclick="createStack()">create stack</button>
</td>
<td>
<input id="stack_id" name="stack_id" />
</td>
<td>
<button onclick="deleteStack()">delete stack</button>
</td>
</tr>
</table>
<div class="displayArea" id="stackArea">
<ol id="allData">
</ol>
</div>
<div class="userAction">
<button id="serializeButton" onclick="serialize()">Serialize</button>
<button id="pushButton" onclick="push()">Push</button>
<input id="input_box" name="input_box" />
<button id="popButton" onclick="pop()">Pop</button>
<button id="peekButton" onclick="peek()">Peek</button>
</div>
</div>
</div>
<script src="./Stack-Widget-UI.js" charset="utf-8"></script>
</body>
</html>