3 <style type="text/css">
10 <h2><%:SSH-Keys%></h2>
12 <div class="cbi-section-descr">
13 <%_Public keys allow for the passwordless SSH logins with a higher security compared to the use of plain passwords. In order to upload a new key to the device, paste an OpenSSH compatible public key line or drag a <code>.pub</code> file into the input field.%>
16 <div class="cbi-section-node">
17 <div class="cbi-dynlist" name="sshkeys">
18 <p class="spinning"><%:Loading SSH keys…%></p>
19 <div class="add-item" ondragover="dragKey(event)" ondrop="dropKey(event)">
20 <input class="cbi-input-text" type="text" placeholder="<%:Paste or drag SSH key file…%>" onkeydown="if (event.keyCode === 13) addKey(event)" />
21 <button class="cbi-button" onclick="addKey(event)"><%:Add key%></button>
27 <script type="application/javascript" src="<%=resource%>/view/system/sshkeys.js"></script>