Verified Commit aab7c036 authored by Huste, Tobias's avatar Huste, Tobias
Browse files

settings: fix ssh public key copy button

parent 87780e9b
Pipeline #2339 passed with stage
in 21 minutes and 38 seconds
......@@ -54,9 +54,9 @@
<p>
<div class="input-group input-group-sm">
<span class="input-group-addon" id="key_descr"><i class="fa fa-key" aria-hidden="true"></i>&nbsp {{ _('SSH Public key') }}</span>
<input type="text" id="pub-key" value="{{ rs.pub_key }}" class="form-control" aria-describedby="key_descr" readonly>
<input type="text" id="pub-key-{{ rs.name }}" value="{{ rs.pub_key }}" class="form-control" aria-describedby="key_descr" readonly>
<span class="input-group-btn">
<button class="btn btn-default" data-clipboard-target="#pub-key" type="button" aria-label="Copy SSH public key"><i class="fa fa-clipboard" aria-hidden="true"></i></button>
<button class="btn btn-default" data-clipboard-target="#pub-key-{{ rs.name }}" type="button" aria-label="Copy SSH public key"><i class="fa fa-clipboard" aria-hidden="true"></i></button>
</span>
</div>
</p>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment