forked from 3wordchant/capsul-flask
create capsul and capsuls list page working
This commit is contained in:
@ -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 %}
|
||||
|
Reference in New Issue
Block a user