-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetting_page.html
105 lines (87 loc) · 4.38 KB
/
setting_page.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
<html>
<head>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./css/materialize.css" />
<script src="./js/lib/jquery-3.3.1.min.js"></script>
<script src="./js/lib/materialize.min.js"></script>
<script src="./js/preferences.js"></script>
<script src="./js/setting_page.js"></script>
<style>
.row {
margin-bottom: 0px !important;
}
form {
margin-block-end: inherit;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="col s12 m6 offset-m3 l6 offset-l3">
<div class="card grey white-text">
<div class="card-content">
<div class="row">
<div class="col s12 card-title blue darken-2" style="padding:10px;text-align: center;">
Configure Settings
</div>
</div>
<div class="row white">
<div class="col s12">
<form>
<div class="row">
<div class="input-field col s12 ">
<input type="number" id="maxQuestions">
<label for="maxQuestions">Max number of questions. </label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input type="number" id="maxAnswers">
<label for="maxAnswers">Max number of answers.</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input type="number" id="maxVotes">
<label for="maxVotes">Maximum votes in results.</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input type="number" id="minVotes">
<label for="minVotes">Minimum votes in results.</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input type="text" id="apiKey">
<label for="apiKey">StackOverflow API key.</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<p>
<label>
<input type="checkbox" id="isPopupMode" />
<span>Open In Popup ?</span>
</label>
</p>
</div>
</div>
<div class="row">
<a class=" col s12 waves-effect waves-light btn" id = "update-button">Update</a>
<a class=" col s12 waves-effect waves-light btn grey darken-1" id = "restore-button">Reset to
defaults</a>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>