forked from yohan-b/CarnetElectron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.html
170 lines (148 loc) · 6.14 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
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
<!DOCTYPE html>
<html>
<head>
<script>
window.jQuery = window.$ = require('jquery');
</script>
<link rel="stylesheet" href="browsers/design.css">
<script src="libs/polyfill.js"></script>
<script src="libs/material.js"></script>
<script src="utils/utils.js"></script>
<script src="libs/jquery.min.js"></script>
<script src="requests/request_builder.js"></script>
<script src="compatibility/electron/request_builder.js"></script>
<script src="compatibility/compatibility.js"></script>
<script src="compatibility/compatibitlity-settings.js"></script>
<script src="reader/assets/scripts/jquery-ui.min.js"></script>
<link rel="stylesheet" href="libs/material.indigo-pink.min.css">
<link rel="stylesheet" href="libs/polyfill.css">
<!-- Material Design icon font -->
<link rel="stylesheet" href="libs/material-icons.css">
<script src="recent/recent_db_manager.js"></script>
<link rel="stylesheet" href="css/design-common.css">
</head>
<body>
<style>
.settings-button {
cursor: pointer;
}
.settings-box {
margin-top: 15px;
margin-left: calc(50% - 200px);
width: 400px;
}
.theme-selector{
width:100%;
padding-top:15px;
padding-bottom:15px;
border-bottom: 1px rgba(128, 128, 128, 0.2) solid;
}
.theme-selector .mdl-radio{
width:100%;
}
.theme-selector img{
max-width: 100%;
margin-top: 20px;
}
#theme-dialog{
margin-top:20px;
overflow-y: auto;
margin-bottom:20px;
max-height: 100%;
}
</style>
<!-- The drawer is always open in large screens. The header is always shown,
even in small screens. -->
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-drawer
mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<span class="mdl-layout-title">Settings</span>
<div class="mdl-layout-spacer"></div>
<div style="position:absolute; right:0px;" id="right-bar">
</div>
</header>
<div class="mdl-layout__drawer">
<nav class="mdl-navigation">
<a class="mdl-navigation__link" href="./" id="recent-button">Recent</a>
<a class="mdl-navigation__link" href="./" id="browser-button">Browser</a>
<a class="mdl-navigation__link">Settings</a>
</nav>
</div>
<main class="mdl-layout__content" id="page-container" style="text-align:center;">
<dialog class="mdl-dialog" id="theme-dialog">
<div class="content" id="theme-list">
</div>
</dialog>
<table class="mdl-data-table mdl-js-data-table mdl-data-table--selectable mdl-shadow--2dp settings-box"
style="">
<tr>
<td class="mdl-data-table__cell--non-numeric carnet-settings-button" id="select_note_path_button">
Select note path
<br />
<span id="current_root_path"></span>
</td>
</tr>
<tr>
<td class="mdl-data-table__cell--non-numeric carnet-settings-button" id="cloudsync">
Get mobile, desktop or online app
</td>
</tr>
<tr>
<td class="mdl-data-table__cell--non-numeric carnet-settings-button" id="theme">
Theme
</td>
</tr>
<tr>
<td class="mdl-data-table__cell--non-numeric carnet-settings-button" id="connect">
Cloud sync (webdav)
</td>
</tr>
<tr>
<td class="mdl-data-table__cell--non-numeric carnet-settings-button" id="disconnect">
Disconnect online account
</td>
</tr>
<tr>
<td class="mdl-data-table__cell--non-numeric carnet-settings-button" id="import">
Import from Google Keep (only on desktop client)
</td>
</tr>
<tr>
<td class="mdl-data-table__cell--non-numeric carnet-settings-button" id="export">
Export all notes
</td>
</tr>
<tr>
<td class="mdl-data-table__cell--non-numeric carnet-settings-button" id="window-frame">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="window-frame-switch">
<span class="mdl-switch__label" style="font-size:unset">Display window frame</span>
<input type="checkbox" id="window-frame-switch" class="mdl-switch__input">
</label>
</td>
</tr>
<tr>
<td class="mdl-data-table__cell--non-numeric carnet-settings-button" id="liberapay">
Donation - LiberaPay
</td>
</tr>
<tr>
<td class="mdl-data-table__cell--non-numeric carnet-settings-button" id="paypal">
Donation - PayPal
</td>
</tr>
<tr>
<td class="mdl-data-table__cell--non-numeric carnet-settings-button" id="sources">
Sources
</td>
</tr>
</table>
</main>
<script src="settings/settings.js"></script>
</div>
<div id="restarting" style="display:none;position: absolute; z-index:3;width:100%; height:100%; background: rgba(92, 120, 165,.9); ">
<div style="position: relative;top:50%;text-align:center;font-size:30px; color:white;">QuickDoc will now
restart</div>
</div>
</body>
</html>