Files
butler_ddochi/custom_auth/templates/custom_auth/upload_ssh_key.html
icurfer ea11832a53
Some checks failed
Build And Test / build-and-push (push) Failing after 53s
init
2024-12-13 17:12:03 +09:00

23 lines
716 B
HTML

{% extends "components/base.html" %}
{% block main_area %}
<h1>Upload SSH Private Key</h1>
<form method="POST">
{% csrf_token %}
{{ form.as_p }}
<button type="submit" class="btn btn-primary">Upload</button>
</form>
<!-- 복호화된 SSH Key 표시 -->
{% if decrypted_key %}
<hr>
<p class="text-muted mt-4">Upload 클릭 후 이전 SSH Key가 업데이트 됩니다.</p>
<h3>Stored SSH Private Key (Decrypted)</h3>
<pre class="bg-light p-3">{{ decrypted_key }}</pre>
{% else %}
<!-- <p class="text-muted mt-4">No SSH Private Key stored.</p> -->
<p class="text-muted mt-4">Upload 클릭 후 이전 SSH Key가 업데이트 됩니다.</p>
{% endif %}
{% endblock %}