Commit 9929e6b4 by Dányi Bence

webui: form added for new public key

parent bca154e4
......@@ -15,12 +15,15 @@
<li class="entry small-row">
<div class="summary" id="new-key">
<div class="name">{% trans "Add public key" %}</div>
<div id="new-key-form">
<input type="text" placeholder="{% trans "Public key in OpenSSH format" %}" />
<input type="submit" value="{% trans "Add key" %}" />
</div>
<div class="clear"></div>
</div>
<div class="details">
<form style="padding-bottom: 10px" action="/key/add/">
{% csrf_token %}
<textarea style="margin-bottom: 5px" name="key" placeholder="{% trans "Public key in OpenSSH format" %}"></textarea><br />
<input type="submit" style="margin-left: 10px;" value="{% trans "Save" %}" />
</form>
</div>
</li>
</ul>
{% endblock content %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment