Commit 356dddae by Dányi Bence

webui: keys are hidden by default

parent 59bbda4e
......@@ -84,6 +84,15 @@
<div class="clear"></div>
</div>
</li>
<li class="entry small-row">
<div class="summary" id="keys">
<div class="name keys">{% trans "Manage keys" %}</div>
<div class="clear"></div>
</div>
</li>
{% for key in keys %}
{% include "box/key/entry.html" %}
{% endfor %}
<li class="file-upload entry small-row">
<div class="summary" data-bind="click: getUploadURL">
<div class="quota">
......
......@@ -12,7 +12,7 @@
{% for key in keys %}
{% include "box/key/entry.html" %}
{% endfor %}
<li class="entry small-row">
<li class="entry small-row" style="display: none">
<div class="summary" id="new-key">
<div class="name">{% trans "Add public key" %}</div>
<div class="clear"></div>
......@@ -25,7 +25,7 @@
</form>
</div>
</li>
<li class="entry small-row">
<li class="entry small-row" style="display: none">
<div class="summary" id="reset-key">
<div class="name">{% trans "Reset key" %}</div>
<div class="clear"></div>
......
......@@ -3,7 +3,7 @@
{% get_current_language as LANGUAGE_CODE %}
{% block content %}
<li class="entry" id="key-{{key.id}}">
<li class="entry" id="key-{{key.id}}" style="display: none">
{{block.super}}
</li>
{% 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