-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
122 lines (109 loc) · 2.96 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
<!doctype html>
<!--
This page is shown when the extension button is clicked, because the
"browser_action" field in manifest.json contains the "default_popup" key with
value "popup.html".
-->
<html>
<head>
<title>Nogo</title>
<style>
body {
font-family: "Segoe UI", "Lucida Grande", Tahoma, sans-serif;
font-size: 100%;
background-color: powderblue;
}
#status {
avoid an excessively wide status text
white-space: pre;
text-overflow: ellipsis;
overflow: hidden;
max-width: 400px;
}
label {
font-family: ‘Trebuchet MS’, Helvetica, sans-serif;
color: darkslategrey;
font-size: 10px;
}
#web {
width: 100%;
padding: 2px 10px;
margin: 8px 0;
box-sizing: border-box;
border: 2px solid #B22222;
border-radius: 2px;
}
input[type=time] {
box-sizing: border-box;
border: 2px solid #B22222;
border-radius: 2px;
}
#add {
background-color: #B22222;
border: 2px solid black;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 10px;
margin: 4px 2px;
cursor: pointer;
border-radius: 20px;
}
#sett {
background-color: #B22222;
border: 2px solid black;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 10px;
margin: 4px 2px;
cursor: pointer;
border-radius: 20px;
}
}
</style>
<!--
- JavaScript and HTML must be in separate files: see our Content Security
- Policy documentation[1] for details and explanation.
-
- [1]: https://developer.chrome.com/extensions/contentSecurityPolicy
-->
<script src="setting.js"></script>
<script src="popup.js"></script>
</head>
<body id="body">
<input placeholder = "type website" id="web" required>
<div id = "week">
<label><input type = "checkbox" name="check" id="0">Sunday</label>
<br/>
<label><input type = "checkbox" name="check" id="1">Monday</label>
<br/>
<label><input type = "checkbox" name="check" id="2">Tuesday</label>
<br/>
<label><input type = "checkbox" name="check" id="3">Wednesday</label>
<br/>
<label><input type = "checkbox" name="check" id="4">Thursday</label>
<br/>
<label><input type = "checkbox" name="check" id="5">Friday</label>
<br/>
<label><input type = "checkbox" name="check" id="6">Saturday</label>
</div>
<div id = "bod"></div>
<label id="timer">Starting Time<input type="time" id="starting"></label>
<label id="timer">End Time<input type="time" id="ending"></label>
<br/>
<div id="status"></div>
<br/>
<div id="but" style="text-align:center;">
<input type="button" onclick="" id="add" value="Add">
</div>
<!-- <br/>-->
<!-- <div id="but1" style="text-align:center;">-->
<!-- <input onclick="" type="button" id="sett" value="Settings">-->
<!-- </div>-->
</body>
</html>