-
Notifications
You must be signed in to change notification settings - Fork 3
/
settings.html
executable file
·120 lines (120 loc) · 5.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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title data-i18n="settingsTitle">CENO Settings</title>
<link rel="stylesheet" href="settings.css">
<script type="module" src="localizer/Localizer.js"></script>
<script src="config.js"></script>
<script src="settings.js"></script>
</head>
<body>
<div data-i18n="settingsTitle" id="header">CENO Settings</div>
<p data-i18n="settingsWarn" data-opt-i18n-keep-children
id="test-warning">Settings on this page are only intended for testing CENO functionality in various network conditions.
See the
<a data-i18n="settingsWarnMan" data-i18n-href="settingsWarnManLN" data-i18n-title="settingsWarnManTI"
href="https://censorship.no/user-manual/en/browser/settings.html"
title="Censorship.no! User Manual – CENO settings" target="_blank">manual</a> for more information.</p>
<form class="cb_form" id="access-mechanisms">
<div class="group">
<p data-i18n="settingsSources">Content retrieval sources:</p>
<div class="row">
<label class="cb_container">
<input type="checkbox" id="origin_access" disabled>
<span class="checkmark"></span>
<div data-i18n="settingsSrcOrigin" class="cb_label">Direct from website</div>
</label>
</div>
<div class="row">
<label class="cb_container">
<input type="checkbox" id="proxy_access" disabled>
<span class="checkmark"></span>
<div data-i18n="settingsSrcProxy" class="cb_label">Via the CENO network (private)</div>
</label>
</div>
<div class="row">
<label class="cb_container">
<input type="checkbox" id="injector_access" disabled>
<span class="checkmark"></span>
<div data-i18n="settingsSrcInjector" class="cb_label">Via the CENO network (public)</div>
</label>
</div>
<div class="row">
<label class="cb_container">
<input type="checkbox" id="distributed_cache" disabled>
<span class="checkmark"></span>
<div data-i18n="settingsSrcDcache" class="cb_label">Shared by other CENO users</div>
</label>
</div>
</div>
<div id="am-warnings">
<p data-i18n="settingsPubwarn" data-opt-i18n-keep-children
id="am-warning-public"><strong data-i18n="settingsPubwarnPub">Public browsing</strong> will fail with current settings.</p>
<p data-i18n="settingsPrivwarn" data-opt-i18n-keep-children
id="am-warning-private"><strong data-i18n="settingsPrivwarnPriv">Private browsing</strong> will fail with current settings.</p>
</div>
</form>
<div class="status_items">
<form>
<span data-i18n="settingsStatusCacheSize" class="name">Local cache size</span>
<a data-i18n="settingsStatusCacheList" id="fe-link-cache-list"
href="#" class="download" target="_blank">Content shared by you</a><br>
<span id="local_cache_size"> </span>
<button data-i18n="settingsStatusCachePurge"
class="action" type="button" id="purge_cache" disabled>Purge now</button>
</form>
<p>
<span data-i18n="settingsStatusClientState" class="name">Ouinet client state</span><br>
<span id="state"> </span>
<p>
<span data-i18n="settingsStatusReachability" class="name">Reachability status</span><br>
<span id="udp_world_reachable"> </span>
<p>
<span data-i18n="settingsStatusUpnp" class="name">UPnP status</span><br>
<span id="is_upnp_active"> </span>
<p>
<span data-i18n="settingsStatusEndpoints" class="name">Local UDP endpoints</span><br>
<span id="local_udp_endpoints"> </span>
<p>
<span data-i18n="settingsStatusExtEndpoints" class="name">External UDP endpoints</span><br>
<span id="external_udp_endpoints"> </span>
<p>
<span data-i18n="settingsStatusPubEndpoints" class="name">Public UDP endpoints</span><br>
<span id="public_udp_endpoints"> </span>
<p>
<form>
<span data-i18n="settingsStatusBtBootstraps" class="name">Extra BitTorrent bootstraps</span><br>
<input data-i18n-placeholder="settingsStatusBtBootstrapsPlaceholder"
class="input" type="text" id="bt_extra_bootstraps" placeholder="HOST1 HOST2:PORT ..." disabled>
<button data-i18n="settingsStatusBtBootstrapsSave"
class="action" type="button" id="save-bt_extra_bootstraps" disabled>Save</button>
<span id="saved-bt_extra_bootstraps" style="display: none">✔</span>
</form>
</div>
<div class="status_items">
<span data-i18n="settingsStatusBrowser" class="name">CENO Browser</span><br>
<span id="ceno_version"> </span>
<p>
<span data-i18n="settingsStatusExtension" class="name">CENO Extension</span><br>
<span id="ceno_extension_version"> </span>
<p>
<span data-i18n="settingsStatusOuinet" class="name">Ouinet</span><br>
<span id="ouinet_version"> </span> <span id="ouinet_build_id"> </span>
<p>
<span data-i18n="settingsStatusProtocol" class="name">Ouinet protocol</span><br>
<span id="ouinet_protocol"> </span>
</div>
<form class="cb_form">
<div class="row">
<label class="cb_container">
<input type="checkbox" id="logfile" disabled>
<span class="checkmark"></span>
<div data-i18n="settingsLogEnable" class="cb_label">Enable log file</div>
<a data-i18n="settingsLogDownload" id="fe-link-log-file"
href="#" class="download" download="ceno-logfile.txt" target="_blank">Download</a>
</label>
</div>
</form>
</body>
</html>