-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
185 lines (154 loc) · 3.82 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
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html>
<head>
<link
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
rel="stylesheet"
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN"
crossorigin="anonymous"
/>
<style>
body {
font-family: 'Supermercado One', cursive;
background: #11998e; /* fallback for old browsers */
background: -webkit-linear-gradient(to left, #38ef7d, #11998e); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to left, #38ef7d, #11998e); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
padding:30px;
}
ul {
list-style: none;
padding: 0;
margin: 0;
}
form li + li {
margin-top: 1em;
}
label {
/* Uniform size & alignment */
font-size: 14px;
display: inline-block;
width: 90px;
text-align: right;
}
form {
/* Center the form on the page */
margin: 0 auto;
width: 400px;
/* Form outline */
padding: 1em;
border: 1px solid #ccc;
border-radius: 1em;
}
form li + li {
margin-top: 1em;
}
button.start {
background-color: #5d5e5d; /* Green */
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin-left: 12em;
}
button.stop {
background-color: #5d5e5d; /* Green */
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
h2 {
font-size: 22px;
font-weight: 400;
margin: 0;
color: #000000;
}
a:link,
a:visited {
color: #000000;
outline: 0;
text-decoration: none;
}
img {
width: 30px;
}
.modal-header {
align-items: center;
border-bottom: 0.5px solid #dadada;
}
.modal-content {
padding: 0 22px;
}
.modal-icons {
border-top: 0.5px solid #dadada;
height: 50px;
width: 100%;
}
.logo {
padding: 16px;
}
.logo-icon {
vertical-align: text-bottom;
margin-right: 12px;
}
.version {
color: #444;
font-size: 18px;
}
.flex-container {
display: flex;
justify-content: space-between;
padding: 10px 22px;
}
.flex {
opacity: 1;
transition: opacity 0.2s ease-in-out;
width: 180px;
}
.flex:hover {
opacity: 0.4;
}
.flex .fa {
font-size: 40px;
color: #2f5876;
}
</style>
<script type="text/javascript" src="popup.js"></script>
</head>
<body>
<h2><b>AUTO REFRESHER</b></h2></br>
<form action="/action_page.php">
<ul>
<li>
<label for="min"><b>Min seconds</b></label>
<input type="text" id="min" name="min" value="1" />
</li>
<li>
<label for="max"><b>Max seconds</b></label>
<input type="text" id="max" name="max" value="11" />
</li></ul>
</form>
</br>
<button type="button" id="btn-submit" >Start</button>
<button type="button" id="btn-stop">Stop</button>
<p id="output"></p>
<p id="url"></p>
<div class="modal-icons">
<div class="flex-container">
<div class="flex">
<a href="https://github.com/adeelkhan-ak" target="_blank">
<i class="fa fa-github" style="color:rgb(0, 0, 0);float:left;"></i>
<p> follow me on github </p>
</a>
</div>
</div>
</div>
</div>
</body>
</html>