create capsul and capsuls list page working

This commit is contained in:
2020-05-11 15:13:20 -05:00
parent 452f236c6b
commit 231d1ed7c0
11 changed files with 210 additions and 124 deletions

View File

@ -1,12 +1,13 @@
{% extends 'console-base.html' %}
{% extends 'base.html' %}
{% block title %}SSH Public Keys{% endblock %}
{% block consoletitle %}Console - SSH Public Keys{% endblock %}
{% block consolecontent %}
{% if ssh_public_keys[0] is defined %} <hr/> {% endif %}
{% block content %}
<div class="third-margin">
<h1>SSH PUBLIC KEYS</h1>
</div>
<div class="third-margin">
{% if has_ssh_public_keys %} <hr/> {% endif %}
{% for ssh_public_key in ssh_public_keys %}
<form method="post">
@ -20,7 +21,7 @@
</form>
{% endfor %}
{% if ssh_public_keys[0] is defined %} <hr/> {% endif %}
{% if has_ssh_public_keys %} <hr/> {% endif %}
<div class="third-margin">
<h1>UPLOAD A NEW SSH KEY</h1>
@ -50,6 +51,7 @@
<input type="submit" value="Upload">
</div>
</form>
</div>
{% endblock %}
{% block pagesource %}/templates/ssh-public-keys.html{% endblock %}