-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
index.html
230 lines (220 loc) · 10.4 KB
/
index.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
220
221
222
223
224
225
226
227
228
229
230
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>rclone rc GUI</title>
<link rel="icon" type="image/png" sizes="32x32" href="./favicon.png">
<link rel="stylesheet" href="./css/gui.css">
<link rel="stylesheet" href="./css/gui-mobile.css">
</head>
<body>
<div class="body-block header">
<h1 style="flex-grow:1;">rclone rc GUI</h1>
<img id="indicator-gui-frozen" class="icon" src="./images/snow2.svg"
title="The GUI is frozen in time and isn't updating">
<input id="btn-settings" type="image" class="icon"
src="./images/gear-wide-connected.svg" title="Show/hide settings">
</div>
<div id="settings">
<h4 style="margin:0 0 15px 0;">Settings</h4>
<div class="settings-item">
<input id="chbx-polling" type="checkbox">
<label for="chbx-polling">auto-refreshing the view</label>
</div>
<div id="inputRefresh" class="settings-item">
<label for="input-refresh-view">View is refreshed every</label>
<input id="input-refresh-view" type="number" min="1" max="120" value="2" step="1" style="width:5em; text-align:center;">
<label for="input-refresh-view">seconds</label>
</div>
<div id="manualRefresh" class="settings-item" style="display:none;">
<button id="btn-manualRefresh" type="button">Refresh the view manually</button>
</div>
</div>
<div class="body-block" style="margin-top:10px;">
<h2>Transfers (<span id="currentTransfersCount">0</span>)</h2>
<div id="currentTransfers">
<table>
<thead>
<th>#</th>
<th>Name</th>
<th>Size</th>
<th>Speed</th>
<th>Progress</th>
<th></th>
</thead>
<tbody id="currentTransfersBody">
<tr>
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="body-block">
<h2>Files</h2>
<div id="files">
<div class="filesPanelWrapper">
<div class="controls">
<button id="leftPanelCommandCopy" type="button" class="with-icon"
title="Copy selected files/folders to the right panel">
<img src="./images/arrow-right-square.svg">
<span>Copy</span>
</button>
<button id="leftPanelCommandMove" type="button" class="with-icon"
title="Move selected files/folders to the right panel">
<img src="./images/arrow-right-square-fill.svg">
<span>Move</span>
</button>
<button id="leftPanelCommandDelete" type="button" class="with-icon"
title="Delete selected files/folders">
<img src="./images/trash3.svg">
<span>Delete</span>
</button>
<div class="lastButtons">
<button id="leftPanelCommandShowCreateFolder" type="button" class="with-icon"
title="Create a new folder">
<img src="./images/folder-plus.svg">
<span class="hide-on-desktop">New folder</span>
</button>
<button id="leftPanelCommandShowSearch" type="button" class="with-icon"
title="Search among displayed files/folders">
<img src="./images/search.svg">
<span class="hide-on-desktop">Search</span>
</button>
<button id="leftPanelCommandRefresh" type="button" class="with-icon"
title="Refresh the list">
<img src="./images/arrow-clockwise.svg">
<span class="hide-on-desktop">Refresh</span>
</button>
</div>
</div>
<div class="input-query create-folder">
<input id="leftPanelNewFolderName" type="text" placeholder="Folder name">
<button id="leftPanelCommandCreateFolder" type="button">Create</button>
<button id="leftPanelCommandHideCreateFolder" type="button">Cancel</button>
</div>
<div class="input-query search">
<input id="leftPanelSearchQuery" type="text" placeholder="Filter files/folders by name">
<button id="leftPanelCommandHideSearch" type="button">Cancel</button>
</div>
<div class="filesPanel">
<div class="filesPanelHeader">
<select id="leftPanelRemote">
<option value="">- choose a remote -</option>
</select>
<div>Items: <span class="filesCount">-</span></div>
</div>
<div class="panelFilesContainer">
<div id="leftPanelFiles" class="filesList">
<div class="fileLine">
<img class="icon" src="./images/file.svg">
<p>..</p>
</div>
</div>
</div>
</div>
</div>
<div class="filesPanelWrapper">
<div class="controls">
<button id="rightPanelCommandCopy" type="button" class="with-icon"
title="Copy selected files/folders to the left panel">
<img src="./images/arrow-left-square.svg">
<span>Copy</span>
</button>
<button id="rightPanelCommandMove" type="button" class="with-icon"
title="Move selected files/folders to the left panel">
<img src="./images/arrow-left-square-fill.svg">
<span>Move</span>
</button>
<button id="rightPanelCommandDelete" type="button" class="with-icon"
title="Delete selected files/folders">
<img src="./images/trash3.svg">
<span>Delete</span>
</button>
<div class="lastButtons">
<button id="rightPanelCommandShowCreateFolder" type="button" class="with-icon"
title="Create a new folder">
<img src="./images/folder-plus.svg">
<span class="hide-on-desktop">New folder</span>
</button>
<button id="rightPanelCommandShowSearch" type="button" class="with-icon"
title="Search among displayed files/folders">
<img src="./images/search.svg">
<span class="hide-on-desktop">Search</span>
</button>
<button id="rightPanelCommandRefresh" type="button" class="with-icon"
title="Refresh the list">
<img src="./images/arrow-clockwise.svg">
<span class="hide-on-desktop">Refresh</span>
</button>
</div>
</div>
<div class="input-query create-folder">
<input id="rightPanelNewFolderName" type="text" placeholder="Folder name">
<button id="rightPanelCommandCreateFolder" type="button">Create</button>
<button id="rightPanelCommandHideCreateFolder" type="button">Cancel</button>
</div>
<div class="input-query search">
<input id="rightPanelSearchQuery" type="text" placeholder="Filter files/folders by name">
<button id="rightPanelCommandHideSearch" type="button">Cancel</button>
</div>
<div class="filesPanel">
<div class="filesPanelHeader">
<select id="rightPanelRemote">
<option value="">- choose a remote -</option>
</select>
<div>Items: <span class="filesCount">-</span></div>
</div>
<div class="panelFilesContainer">
<div id="rightPanelFiles" class="filesList">
<div class="fileLine">
<img class="icon" src="./images/file.svg">
<p>..</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="body-block" style="flex-grow:1; padding-bottom:30px;">
<h2>Completed transfers (<span id="completedTransfersCount">0</span>)</h2>
<div id="completedTransfers">
<table>
<thead>
<th>Started at</th>
<th>Status</th>
<th>Name</th>
<th>Size</th>
</thead>
<tbody id="completedTransfersBody">
<tr>
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="body-block footer">
<div>
<b>rclone</b> <span id="rcloneVersion"><i>unknown</i></span>
<b>on</b> <span id="rcloneOS"><i>unknown</i></span></li>
</div>
<div>
<b>gui</b> v<span id="guiVersion"><i>unknown</i></span>
</div>
</div>
<script type="module" src="./js/settings.js"></script>
<script type="module" src="./js/functions.js"></script>
<script type="module" src="./js/main.js"></script>
</body>
</html>