forked from ccampbell/chromelogger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
129 lines (110 loc) · 2.91 KB
/
options.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
<html>
<head>
<title>Chrome Logger options</title>
<style>
body {
font-family: helvetica, sans-serif;
width: 800px;
margin: auto;
}
h1 {
font-weight: normal;
}
form {
margin: 0;
}
.swatch {
position: relative;
display: inline-block;
border: 1px solid #555;
top: 2px;
height: 12px;
width: 12px;
}
#info {
color: red;
padding-top: 10px;
display: none;
text-align: right;
}
header {
width: 488px;
margin: auto;
margin-top: 20px;
overflow: hidden;
}
header h1 {
margin: 4px 0px 0px 0px;
}
header img {
float: left;
margin-right: 20px;
}
.content {
width: 400px;
margin: auto;
margin-top: 30px;
background: #eee;
-webkit-border-radius: 5px;
padding: 15px;
border: 2px solid #999;
overflow: hidden;
/*transition: all 0.5s ease-in-out;*/
}
p {
margin: 0px 0px 20px 0px;
color: #888;
padding: 0px;
}
input {
margin-bottom: 10px;
}
.buttons {
overflow: hidden;
}
button {
float: right;
margin-left: 10px;
}
p.info {
font-size: .8em;
}
</style>
<script src="chromelogger-options.js"></script>
</head>
<body>
<header>
<img src="icon48.png" alt="logo">
<h1>Chrome Logger Options</h1>
</header>
<div class="content">
<form>
<label>
show line numbers:
<input type="checkbox" name="show_line_numbers">
</label>
<p class="info">show the filenames and line numbers where your calls originated</p>
<label>
show upgrade messages:
<input type="checkbox" name="show_upgrade_messages">
</label>
<p class="info">show upgrade messages when your server side library is out of date</p>
<label>
color 1:
<input type="color" name="color1" value="">
</label>
<p class="info">color used for line numbers</p>
<label>
color 2:
<input type="color" name="color2" value="">
</label>
<p class="info">color used for class names</p>
<div class="buttons">
<button id="save">Save Changes</button>
<button id="restore">Restore Defaults</button>
</div>
<div id="info"></div>
</form>
</div>
</body>
</html>