-
Notifications
You must be signed in to change notification settings - Fork 3
/
options.html
192 lines (153 loc) · 5.38 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
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
186
187
188
189
190
191
192
<!DOCTYPE html>
<html>
<head>
<title>My Test Extension Options</title>
<script src="js/jquery.min.js"></script>
<script src="js/materialize.min.js"></script>
<link rel="stylesheet" href="css/materialize.min.css">
<link rel="stylesheet" href="css/options.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
</head>
<html>
<body>
<nav>
<div class="nav-wrapper">
<a href="#" class="brand-logo center">My Extension Options</a>
<ul id="nav-mobile" class="left hide-on-med-and-down">
<li><a href="http://materializecss.com/sass.html" target="_blank">Sass</a></li>
<li><a href="http://materializecss.com/badges.html" target="_blank">Components</a></li>
<li><a href="http://materializecss.com/collapsible.html" target="_blank">JavaScript</a></li>
<li><a href="https://github.com/onigetoc/Materialize-CSS-Chrome-Extension-template" target="_blank">Materialize Chrome extension on Github</a></li>
</ul>
</div>
</nav>
<!-- OPTION SOULD ALL HAVE NAME AND VALUE FOR CHECKBOX AND RADIO TO WORK. SEE DEMO -->
<div class="row container-full">
<form id="optionform" class="col s6">
<!-- INPUT -->
<!-- <div class="input-field col s4">-->
<label>Checkbox options</label>
<div class="input-field">
<p>
<label>
<input type="checkbox" name="red" value="red" />
<span>Red</span>
</label>
</p>
<p>
<label>
<input type="checkbox" name="yellow" value="yellow" checked="checked" />
<span>Yellow</span>
</label>
</p>
<p>
<label>
<input type="checkbox" name="filledin" value="filledin" class="filled-in" checked="checked" />
<span>Filled in</span>
</label>
</p>
<p>
<label>
<input id="indeterminate-checkbox" name="IndeterminateStyle" value="IndeterminateStyle" type="checkbox" />
<span>Indeterminate Style</span>
</label>
</p>
<p>
<label>
<input type="checkbox" checked="checked" disabled="disabled" value="Green" />
<span>Green</span>
</label>
</p>
<p>
<label>
<input type="checkbox" disabled="disabled" value="disabled" />
<span>Brown</span>
</label>
</p>
</div>
<!-- SELECT -->
<br>
<div class="input-field">
<select name="optionselect" id="color">
<!-- <option value="" disabled >Choose your option</option>-->
<option value="" disabled selected>Choose your option</option>
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</select>
<label>Options Select</label>
</div>
<!-- RADIO -->
<!--
<p>
<label>
<input class="with-gap" name="group3" type="radio" checked />
<span>Red</span>
</label>
</p>
-->
<div class="row">
<label>Radio Choose Color</label>
<div class="input-field">
<p>
<label>
<input name="groupradio" type="radio" value="Red" checked />
<span>Red</span>
</label>
</p>
<p>
<label>
<input name="groupradio" type="radio" value="Yellow" />
<span>Yellow</span>
</label>
</p>
<p>
<label>
<input class="with-gap" name="groupradio" type="radio" value="Green" />
<span>Green</span>
</label>
</p>
</div>
</div>
<!-- FORM TEXT INPUT -->
<div class="row">
<div class="input-field col s6">
<input name="first_name" placeholder="Placeholder" id="first_name" type="text" class="validate">
<label for="first_name">First Name</label>
</div>
<div class="input-field col s6">
<input name="last_name" id="last_name" type="text" class="validate">
<label for="last_name">Last Name</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input name="username" id="username" type="text" class="validate">
<label for="username">User Name</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input name="password" id="password" type="password" class="validate">
<label for="password">Password</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input name="email" id="email" type="email" class="validate">
<label for="email">Email</label>
</div>
</div>
<button id="reset" class="btn waves-effect waves-light grey" type="button" name="reset">Reset
<i class="material-icons right">clear_all</i>
</button>
<span id="status"></span>
<button id="save" class="btn waves-effect waves-light" type="submit" name="action">Save
<i class="material-icons right">send</i>
</button>
</form>
</div>
<script src="js/options.js"></script>
<!-- <script src="js/options-BACK-BEFORE-JSONIFY-AND-AUTOSAVE.js"></script>-->
</body>
</html>