Apply the shared page-header pattern to configuration, access, operations, retention, log, and changelog pages so the control panel uses one consistent title, context, and action structure. Add representative view assertions for the new page context on utility pages. Refs #28
38 lines
1.1 KiB
HTML
38 lines
1.1 KiB
HTML
{% extends "pobsync_backend/base.html" %}
|
|
|
|
{% block title %}Generate SSH Key | pobsync{% endblock %}
|
|
|
|
{% block content %}
|
|
<header class="page-header">
|
|
<div class="page-title">
|
|
<div class="page-kicker">Access</div>
|
|
<h1>Generate SSH Key</h1>
|
|
<div class="page-subtitle">Create a pobsync-managed SSH key pair for one or more backup targets.</div>
|
|
</div>
|
|
<section class="actions" aria-label="SSH key form actions">
|
|
<a class="button-link" href="{% url 'ssh_credentials' %}">Back to SSH keys</a>
|
|
</section>
|
|
</header>
|
|
|
|
<section class="panel">
|
|
<h2>Create Key Pair</h2>
|
|
<form method="post" class="form-grid">
|
|
{% csrf_token %}
|
|
{{ form.non_field_errors }}
|
|
|
|
{% for field in form %}
|
|
<div class="field">
|
|
{{ field.errors }}
|
|
<label for="{{ field.id_for_label }}">{{ field.label }}</label>
|
|
{{ field }}
|
|
{% if field.help_text %}<div class="helptext">{{ field.help_text }}</div>{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
|
|
<div class="actions">
|
|
<button type="submit">Generate SSH key</button>
|
|
</div>
|
|
</form>
|
|
</section>
|
|
{% endblock %}
|