-
Notifications
You must be signed in to change notification settings - Fork 25
/
settings.html
93 lines (80 loc) · 2.41 KB
/
settings.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
@font-face {
font-family: 'Poppins';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url('./assets/fonts/Poppins-Regular.ttf');
}
@font-face {
font-family: 'Poppins';
font-style: normal;
font-weight: 800;
src: local('Roboto'), local('Roboto-Regular'), url('./assets/fonts/Poppins-Bold.ttf');
}
</style>
<link rel="stylesheet" href="assets/css/normalize.css" />
<link rel="stylesheet" href="styles/switch.min.css" />
<link rel="stylesheet" href="styles/toastify.min.css" />
<title>Switch - Settings</title>
</head>
<body class="settings-page">
<div class="board">
<div class="lside">
<div>
<img src="./assets/images/switch.ico" />
<p class="version" id="ver"></p>
</div>
</div>
<div class="rside">
<h3>Settings</h3>
<div class="form-control">
<label class="label">Auto hide dock</label>
<label class="switch">
<input type="checkbox" id="auto_hide">
<div class="slider round"></div>
</label>
</div>
<div class="form-control">
<label class="label">Maximize app on switch</label>
<label class="switch">
<input type="checkbox" id="maximize">
<div class="slider round"></div>
</label>
</div>
<div class="form-control">
<label class="label">Place dock</label>
<select id="placement">
<option value="right" default>Right</option>
<option value="left">Left</option>
</select>
<label class="switch">
</label>
</div>
<div class="form-control">
<label class="label">Show intro on startup</label>
<label class="switch">
<input type="checkbox" id="intro">
<div class="slider round"></div>
</label>
</div>
<div class="form-control mac-hide">
<label class="label">Disable switching apps with AltGr</label>
<label class="switch">
<input type="checkbox" id="disableAltGr">
<div class="slider round"></div>
</label>
</div>
<button class="btn" onclick="settings.saveSettings()">Save</button>
<br><br>
</div>
</div>
<script>
const s = require('./app/settings.js');
const settings = new s.Settings();
</script>
</body>
</html>