-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
129 lines (112 loc) · 2.91 KB
/
popup.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
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Tab Store</title>
<style type="text/css">
body {
margin: 0px;
min-width:200px;
min-height: 150px;
font-family: 'Roboto', sans-serif;
background: linear-gradient(0deg, #2f2f2f, #494949);
}
h1 {
font-size: 20px;
color: white;
text-align: center;
}
span {
color: white;
}
input {
width: 100px;
}
button {
background-color: #646464;
border: none;
border-radius: 3px;
color: white;
padding: 5px 12px;
margin: 5px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 12px;
}
.wrapper {
display: grid;
grid-gap: 0px;
grid-template-columns: 200px;
grid-template-rows: 15px 40px 15px 40px;
}
#restoreSection {
/*RS / CS / RE / CE*/
grid-area: 1 / 1 / 3 / 2;
/*background: linear-gradient(to right, #2f2f2f, #494949);*/
text-align: center;
}
#storeSection {
/*RS / CS / RE / CE*/
grid-area: 3 / 1 / 5 / 2;
/*background: linear-gradient(to right, #2f2f2f, #494949);*/
}
#saveTitle {
/*RS / CS / RE / CE*/
grid-area: 3 / 1 / 4 / 2;
text-align: left;
font-weight: bold;
padding-left: 5px;
}
#saveForm {
/*RS / CS / RE / CE*/
grid-area: 4 / 1 / 5 / 2;
text-align: center;
}
#savebtn {
/*RS / CS / RE / CE*/
grid-area: 4 / 2 / 5 / 3;
}
#restoreTitle {
/*RS / CS / RE / CE*/
grid-area: 1 / 1 / 2 / 2;
font-weight: bold;
text-align: left;
padding-left: 5px;
}
#restoreForm {
/*RS / CS / RE / CE*/
grid-area: 2 / 1 / 3 / 2;
}
</style>
<!-- ROBOTO FONT -->
<link href="https://fonts.googleapis.com/css?family=Roboto">
<script src="popup.js"></script>
</head>
<body>
<h1>Tab Store</h1>
<div class="wrapper">
<div id="restoreSection">
<div id="restoreTitle">
<span>Restore Session</span>
</div>
<div id="restoreForm">
<form action="/listSessions.html">
<button type="submit">List Saved Sessions</button>
</form>
</div>
</div>
<div id="storeSection">
<div id="saveTitle">
<span>Save Current Session</span>
</div>
<div id="saveForm">
<form>
<input type="text" id="sessionname" placeholder="Session Name" required="required">
<button id="savebtn">Save</button>
</form>
</div>
</div>
</div>
</body>
</html>