-
Notifications
You must be signed in to change notification settings - Fork 2
/
options.html
219 lines (207 loc) · 11.9 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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<!DOCTYPE html>
<html>
<head>
<title>Options page</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!-- Popper JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<!-- For fonts -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<meta name="google" content="notranslate">
</head>
<style>
.optBut {
font-size: large;
width: 750px;
}
.optButX {
font-size: large;
width: 160px;
}
</style>
<body>
<script src="options.js"></script>
<div id="top" class="jumbotron" style="height: 15px; padding: 0px; background-color: transparent;">
<div id="alertz" class="alert alert-dismissible alert-success m-4 collapse"></div>
<div id="alertx" class="alert alert-dismissible alert-danger m-4 collapse"></div>
</div>
<div class="container" style="max-width: none;">
<div class="row ">
<i id="homePage" class="material-icons" style="font-size: 80px; margin-left: 15px;margin-bottom: 10px;">arrow_back</i>
<h1 class="d-flex" style="font-size: xxx-large;text-align: center; font-weight: 700; margin: auto;">Options page</h1>
<icon id="helpButton" class="material-icons mr-5 mt-2" >help</icon>
</div>
<div class="row">
<div id="colourButton" class="btn flex-fill m-2 p-2 focused" style="text-align: center;">Colours</div>
<div id="memoryButton" class="btn flex-fill m-2 p-2" style="text-align: center;">Memory</div>
<div id="configurationButton" class="btn flex-fill m-2 p-2" style="text-align: center;">Configuration</div>
</div>
<div id="colourOption" class="row" style="justify-content: center;">
<div class="col-md-5 mx-2" style="margin-top: 50px;">
<!-- <div class="d-flex justify-content-center my-2 p-2 btn" style="font-size: xx-large;background-color: #B44F4B;">Colour Scheme</div> -->
<div id="multipleColours">
<div id="colourPicker" style="border: 1px solid #A9A9A9; width:100%; height: 100%; border-radius: 1em; padding: 5px;background-color: #DCDCDC;">
<div class="row m-3">
<div id="singleColour" class="d-flex btn m-1" style="flex-grow: 2;">Single colour</div>
<div id="rotateColour" class="d-flex btn m-1" style="flex-grow: 2;">Rotate colours</div>
</div>
<div id="optionColour" style="overflow-y: scroll; height: 400px;">
<div id="selectAllDiv" class="m-3" style="flex-direction: row;">
<input id="selectAll" type="checkbox">
<div class="d-inline-flex mx-4">Select all</div>
</div>
</div>
</div>
</div>
</div>
<div id="selectOwn" class="col-md-5 mx-2 " style="margin-top: 50px;background-color: #DCDCDC;border-radius: 1em; border: 1px solid #A9A9A9;">
<div class="d-flex justify-content-center my-2" style="font-size: x-large;">Select your own colour</div>
<div class="mt-2">
<div class="d-flex" style="width: 100%;">
<div class="d-flex col-8">Background colour</div>
<div class="input-group mb-3">
<!-- <div class="input-group-prepend">
<span class="input-group-text" id="basic-addon1">#</span>
</div> -->
<input type="color" class="form-control" id="backgroundColour">
</div>
</div>
<div class="d-flex" style="width: 100%;">
<div class="d-flex col-8">Bookmark colour</div>
<div class="input-group mb-3">
<!-- <div class="input-group-prepend">
<span class="input-group-text" id="basic-addon1">#</span>
</div> -->
<input type="color" class="form-control" id="bookmarkColour">
</div>
</div>
<div class=" d-flex flex-row">
<div class="btn btn-success m-2 col-7 mr-auto" id="confirmButton" >Confirm</div>
<div class="btn btn-info m-2 col-4 ml-auto" id="resetButton">Reset Colours</div>
</div>
<div id="flipCol" class="btn-outline-success btn d-flex m-3 justify-content-center">Flip colours</div>
<div id="toggling" style="display: none;">
<div class="mr-auto m-2">Preview</div>
<div id="demoBackground" style="background-color: hotpink; width:100%; height: 100%; border-radius: 1em; padding: 5px;">
<div class="d-flex btn m-4 demoBookmark" style="background-color: lightcyan;">Bookmark 1</div>
<div class="d-flex btn m-4 demoBookmark" style="background-color: lightcyan;">Bookmark 2</div>
</div>
</div>
</div>
</div>
</div>
<div id="memoryOption" class="row" style="justify-content: center; display: none;">
<div class="col-md-5 mx-2" style="margin-top: 50px; background-color: #DCDCDC;border-radius: 1em; border: 1px solid #A9A9A9;">
<!-- <div class="d-flex justify-content-center p-2 my-2 btn" style="font-size: xx-large;background-color: #5F9EA0;">Reset storage</div> -->
<div class="d-flex flex-row my-4">
<div class="optBut m-2">Press this button to remove all the tags that you have allocated to a bookmark</div>
<h1 class="btn navbar-brand ml-auto p-2" style="font-size: large; width: 160px" id="clearTags">Clear Tags</h1>
</div>
</div>
</div>
<div id="configurationOption" class="row" style="justify-content: center; display: none;">
<div class="col-md-5 mx-2" style="margin-top: 50px; background-color: #DCDCDC;border-radius: 1em; border: 1px solid #A9A9A9;">
<!-- <div class="d-flex justify-content-center p-2 my-2 btn" style="font-size: xx-large;background-color: #5F9EA0;">Reset storage</div> -->
<div class="d-flex flex-row my-4">
<div class="optBut m-2">What display would you like to appear when clicking the home icon</div>
</div>
<div class="row p-3">
<div id="defaultHomeAction" class="btn btn-warning flex-fill m-2">Default</div>
<div id="popularHomeAction" class="btn btn-warning flex-fill m-2">Popular</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="helpModal" tabindex="-1" role="dialog" aria-labelledby="messages" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 id="updateTitle" class="modal-title">Help</h5>
</div>
<div class="modal-body" id="updateBodyModal">
<p class="m-2">This is a short video about how to use some of the features of the app</p>
<div id="updateBody" style="display: flex;justify-content: center;" >
<iframe style="margin: auto;" width="560" height="315" src="https://www.youtube.com/embed/hmxc3VtYO4I" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> </div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!--
<div class="container" style="max-width: none;">
<div class="row">
<div class="col-md-4">
<div id="toggling" style="display: none; position: relative; height: 400px;top: 50%; margin-top: -200px;">
<div class="mr-auto m-2">Preview</div>
<div id="demoBackground" style="background-color: hotpink; width:100%; height: 100%; border-radius: 1em; padding: 5px;">
<div class="d-flex btn m-4 demoBookmark" style="background-color: lightcyan;">Bookmark 1</div>
<div class="d-flex btn m-4 demoBookmark" style="background-color: lightcyan;">Bookmark 2</div>
<div class="d-flex btn m-4 demoBookmark" style="background-color: lightcyan;">Bookmark 3</div>
<div class="d-flex btn m-4 demoBookmark" style="background-color: lightcyan;">Bookmark 4</div>
</div>
</div>
</div>
<div class="col-md-4">
<h1 style="font-size: xxx-large;text-align: center; font-weight: 700;">Options page</h1>
<div class="d-flex flex-row my-4">
<div class="optBut m-2">Press this button to remove all the tags that you have allocated to a bookmark</div>
<h1 class="btn btn-success navbar-brand optButX ml-auto p-2" id="clearTags">Clear Tags</a>
</div>
<div class="d-flex flex-row my-4">
<div class="optBut m-2">Press this button to remove all the information that you have written about bookmarks</div>
<h1 class="btn btn-success navbar-brand optButX ml-auto" id="clearInfo">Clear Info</a>
</div>
<div class="justify-content-center">
<div id="what" class="my-4 p-2" style="background-color: grey; border-radius: 0.25rem; text-align: center;">Colour Scheme</div>
</div>
<div class="d-flex" style="width: 100%;">
<div class="d-flex col-8">Background colour</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="basic-addon1">#</span>
</div>
<input type="text" class="form-control" id="backgroundColour">
</div>
</div>
<div class="d-flex" style="width: 100%;">
<div class="d-flex col-8">Bookmark colour</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="basic-addon1">#</span>
</div>
<input type="text" class="form-control" id="bookmarkColour">
</div>
</div>
<div class=" d-flex flex-row">
<div class="btn btn-success m-2 col-7 mr-auto" id="confirmButton" >Confirm</div>
<div class="btn btn-info m-2 col-4 ml-auto" id="resetButton">Reset Colours</div>
</div>
<div id="preview" class="btn-outline-success btn d-flex m-3 justify-content-center">Show preview</div>
</div>
<div class="col-md-4">
<div id="multipleColours" style="position: relative; height: 400px;top: 50%; margin-top: -200px;">
<div class="mr-auto m-2">Colour options</div>
<div id="demoBackground" style="border: 1px solid; width:100%; height: 100%; border-radius: 1em; padding: 5px;">
<div class="row m-3">
<div id="singleColour" class="d-flex btn m-1" style="flex-grow: 2;">Single colour</div>
<div id="rotateColour" class="d-flex btn m-1" style="flex-grow: 2;">Rotate colours</div>
</div>
<div id="optionColour" style="overflow-y: scroll; height: 300px;">
<div id="selectAllDiv" class="m-3" style="flex-direction: row;">
<input id="selectAll" type="checkbox">
<div class="d-inline-flex mx-4">Deselect</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div> -->
</body>
</html>