-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
152 lines (131 loc) · 4.02 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style type="text/css">
input[type=text], select, textarea{
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
resize: vertical;
}
/* Style the label to display next to the inputs */
label {
padding: 12px 12px 12px 0;
display: inline-block;
}
/* Style the submit button */
input[type=submit], button {
background-color: #4CAF50;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
float: right;
}
/* Style the submit button */
input[type=reset] {
background-color: #AAAAAA;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
float: right;
}
.container {
border-radius: 5px;
background-color: #f2f2f2;
padding: 20px;
}
.col-25 {
float: left;
width: 25%;
margin-top: 6px;
margin-bottom: 9px;
}
.col-75 {
float: left;
width: 75%;
margin-top: 6px;
margin-bottom: 9px;
}
.row:after {
content: "";
display: table;
clear: both;
}
hr {
border: 0;
border-bottom: 1px dashed #ccc;
background: #dddddd;
}
@media screen and (max-width: 600px) {
.col-25, .col-75, input[type=submit] {
width: 100%;
margin-top: 0;
}
.col-25, .col-75, input[type=reset] {
width: 100%;
margin-top: 0;
}
}
</style>
</head>
<body>
<div class="container">
<form>
<div class="row">
<div class="col-25">
<label for="imgsourcephotoset"><input type="radio" id="imgsourcephotoset" name="imgsource" value="photoset">Photoset ID:</label>
</div>
<div class="col-75">
<input type="text" id="flickrsetid" name="flickrsetid">
<sub>Photo chosen from the latest 100 items in this album.</sub>
</div>
</div>
<div class="row">
<div class="col-25">
<label for="imgsourcetext"><input type="radio" id="imgsourcetext" name="imgsource" value="textsearch">Free text search:</label>
</div>
<div class="col-75">
<input type="text" id="flickrtextsearch" name="flickrtextsearch" />
<sub>Search by text as you would on <a href="https://www.flickr.com/search/">Flickr's search page</a></sub>
</div>
</div>
<div class="row">
<div class="col-25">
<label><input type="radio" id="imgsourceexplore" name="imgsource" value="explore">Flickr Explore</label>
</div>
<div class="col-75" style="text-align:unset; vertical-align: bottom; line-height: unset;">
<br />
<sub>Photo chosen from the top 50 interesting images in Flickr Explore.</sub>
</div>
</div>
<hr />
<div class="row">
<div class="col-25">
<label>Photo size:</label>
</div>
<div class="col-75" >
<input type="radio" id="photosizek" name="photosize" value="k"/><label for="photosizek">K</label>
<input type="radio" id="photosize3k" name="photosize" value="3k"/><label for="photosize3k">3K</label>
<input type="radio" id="photosize4k" name="photosize" value="4k"/><label for="photosize4k">4K</label>
<input type="radio" id="photosize5k" name="photosize" value="5k"/><label for="photosize5k">5K</label>
<input type="radio" id="photosize6k" name="photosize" value="6k"/><label for="photosize6k">6K</label>
</div>
</div>
<hr />
<div class="row">
<label id="debugtext"></label>
<input type="submit" value="Save">
<input type="reset" value="Reset">
</div>
</form>
</div>
<script src="js/options.js"></script>
</body>
</html>