forked from libapps/libapps-mirror
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnassh_preferences_editor.html
More file actions
171 lines (148 loc) · 5.92 KB
/
nassh_preferences_editor.html
File metadata and controls
171 lines (148 loc) · 5.92 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'/>
<script type='module' src='../js/nassh_preferences_editor.js'></script>
<script type='module' src='../js/nassh_preferences_protocol_register.js'></script>
<script type='module' src='../js/nassh_preferences_ssh_files.js'></script>
<link rel='stylesheet' href='../third_party/chrome-bootstrap/chrome-bootstrap.css'/>
<link rel='stylesheet' href='../css/nassh_preferences_editor.css'/>
<link rel='stylesheet' href='../css/chrome-bootstrap-darkmode.css'/>
</head>
<body class='chrome-bootstrap'>
<div class='frame'>
<div class='navigation'>
<h1 id='manifest-name'></h1>
<ul class='menu'>
<li class='selected'>
<a href='#options' i18n='{"_": "PREFERENCES_HEADER_TERMINAL"}'></a>
<ul id='options-settings-menu'></ul>
</li>
<li>
<a href='#ssh-files' i18n='{"_": "PREFERENCES_HEADER_SSH_FILES"}'></a>
</li>
<li>
<a href='#handlers' i18n='{"_": "PREFERENCES_HEADER_URI"}'></a>
</li>
</ul>
<ul style='margin-left: 1em'>
<li><img id='icon'/></li>
<li><a id='backup' href='#backup' i18n='{"_": "BACKUP_PREFS"}'
></a></li>
<li><a id='restore' href='#restore' i18n='{"_": "RESTORE_PREFS"}'
></a></li>
<li><a id='licenses' href='licenses.html' i18n='{"_": "LICENSES"}'
target='_blank'></a></li>
<li><a id='changelog' href='changelog.html' i18n='{"_": "CHANGELOG"}'
target='_blank'></a></li>
<li><a id='feedback' href='#feedback'
i18n='{"_": "SEND_FEEDBACK_LABEL"}' target='_blank'></a></li>
</ul>
<input class='restore' type='file'>
</div>
<div class='mainview view'>
<div id='options' class='selected'>
<header>
<h1 i18n='{"_": "PREFERENCES_HEADER_TERMINAL"}'></h1>
<div id='terminal-container'>
<h3 i18n='{"_": "TERMINAL_PREVIEW_LABEL"}'></h3>
<div id='terminal'></div>
</div>
</header>
<div id='options-settings-section' class='content vflex'>
<div>
<h3 i18n='{"_": "TERMINAL_PROFILE_LABEL"}'></h3>
<div id='current-profile'>
<input type='text' id='profile'/>
<button type='reset' id='reset'>Reset</button>
<span id='label_status'> </span>
</div>
</div>
<div id='settings'></div>
</div>
</div>
<div id='ssh-files'>
<header>
<h1 i18n='{"_": "PREFERENCES_HEADER_SSH_FILES"}'></h1>
</header>
<div class='content vflex'>
<section>
<h3>
<a href='../plugin/docs/sshd.8.html#SSH_KNOWN_HOSTS_FILE_FORMAT'
target='_blank'>/etc/ssh/ssh_known_hosts</a>
<span class='float-right' i18n='{"_": "PREFERENCES_KEY_IS_SYNCED"}'></span>
</h3>
<textarea id='ssh-files-etc-ssh-known-hosts' rows=5 autocomplete=off
spellcheck=false></textarea>
<br/>
<button id='ssh-files-etc-ssh-known-hosts-save'
i18n='{"_": "SAVE_LABEL"}'></button>
</section>
<section>
<h3>
<a href='../plugin/docs/sshd.8.html#SSH_KNOWN_HOSTS_FILE_FORMAT'
target='_blank'>~/.ssh/known_hosts</a>
<span class='float-right' i18n='{"_": "PREFERENCES_KEY_IS_LOCAL"}'></span>
</h3>
<textarea id='ssh-files-known-hosts' rows=5 autocomplete=off
spellcheck=false></textarea>
<br/>
<button id='ssh-files-known-hosts-clear'
i18n='{"_": "CLEAR_LABEL"}'></button>
<button id='ssh-files-known-hosts-save'
i18n='{"_": "SAVE_LABEL"}'></button>
</section>
<section>
<h3>
<a href='../plugin/docs/ssh_config.5.html'
target='_blank'>/etc/ssh/ssh_config</a>
<span class='float-right' i18n='{"_": "PREFERENCES_KEY_IS_SYNCED"}'></span>
</h3>
<textarea id='ssh-files-etc-ssh-config' rows=10 autocomplete=off
spellcheck=false></textarea>
<button id='ssh-files-etc-ssh-config-save'
i18n='{"_": "SAVE_LABEL"}'></button>
</section>
<section>
<h3>
<a href='../plugin/docs/ssh_config.5.html'
target='_blank'>~/.ssh/config</a>
<span class='float-right' i18n='{"_": "PREFERENCES_KEY_IS_LOCAL"}'></span>
</h3>
<textarea id='ssh-files-config' rows=10 autocomplete=off
spellcheck=false></textarea>
<br/>
<button id='ssh-files-config-save'
i18n='{"_": "SAVE_LABEL"}'></button>
</section>
<section>
<h3>
<a href='../plugin/docs/ssh_config.5.html#IdentityFile'
target='_blank' i18n='{"_": "IDENTITY_LABEL"}'></a>
<span class='float-right' i18n='{"_": "PREFERENCES_KEY_IS_LOCAL"}'></span>
</h3>
<ul id='ssh-files-identities'></ul>
</section>
</div>
</div>
<div id='handlers'>
<header>
<h1 i18n='{"_": "PROTOCOL_REGISTER_TITLE"}'></h1>
</header>
<div id='handlers-settings-section' class='content vflex'>
<section>
<p i18n='{"_": "PROTOCOL_REGISTER_EXPLAIN"}'></p>
<button id='proto-register'
i18n='{"_": "PROTOCOL_REGISTER_BUTTON"}'></button>
</section>
<section>
<p i18n='{"_": "PROTOCOL_REGISTER_EXPLAIN_SETTINGS"}'></p>
<button id='proto-open-settings'
i18n='{"_": "PROTOCOL_REGISTER_SETTINGS_BUTTON"}'></button>
</section>
</div>
</div>
</div>
</div>
</body>
</html>