eduardogsilva.routerfleet/templates/router_manager/sshkey_list.html
2024-04-04 21:16:53 -03:00

56 lines
No EOL
2.3 KiB
HTML

{% extends 'base.html' %}
{% block content %}
<div class='row'>
<div class='col-lg-12'>
<div class="card card-primary card-outline">
{% if page_title %}
<div class="card-header">
<h3 class="card-title">{{ page_title }}</h3>
</div>
{% endif %}
<div class="card-body">
{% include 'router_manager/router_nav_tabs.html' %}
<div class="row">
<div class="col-lg-12">
<table class="table table-hover">
<thead>
<th>Name</th>
<th>Public Key</th>
<th>Routers</th>
<th></th>
</thead>
<tbody>
{% for sshkey in sshkey_list %}
<tr>
<td>{{ sshkey.name }}</td>
<td>{{ sshkey.public_key }}</td>
<td>{{ sshkey.router_set.count }}</td>
<td class="min-width">
<a href="/router/manage_sshkey/?uuid={{ sshkey.uuid }}"><i
class="fas fa-edit"></i></a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
<div class="row">
<div class="col-lg-12">
{% comment %}<a href="/router/manage_sshkey/" class="btn btn-primary">Add SSH Key</a>{% endcomment %}
<a href="" class="btn btn-primary disabled">Add SSH Key</a>
<p>Sorry, SSH authentication using keys is still unsupported. It will be added soon</p>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}