init
Some checks failed
Build And Test / build-and-push (push) Failing after 53s

This commit is contained in:
2024-12-13 17:12:03 +09:00
parent a27be94b19
commit ea11832a53
695 changed files with 71766 additions and 1 deletions

View File

@ -0,0 +1,27 @@
{% extends "components/base.html" %}
{% block content %}
<h2>Login</h2>
<!-- 로그인 실패 메시지 표시 -->
{% if messages %}
{% for message in messages %}
<div class="alert alert-danger" role="alert">
{{ message }}
</div>
{% endfor %}
{% endif %}
<form method="post">
{% csrf_token %}
<div class="mb-3">
<label for="username" class="form-label">Username</label>
<input type="text" class="form-control" id="username" name="username" required="required">
</div>
<div class="mb-3">
<label for="password" class="form-label">Password</label>
<input type="password" class="form-control" id="password" name="password" required="required">
</div>
<button type="submit" class="btn btn-primary w-100">Login</button>
</form>
{% endblock %}

View File

@ -0,0 +1,10 @@
{% extends "components/base.html" %}
{% block content %}
<h2>Login</h2>
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">Login</button>
</form>
{% endblock %}

View File

@ -0,0 +1,6 @@
{% extends "components/base.html" %}
{% block content %}
<h2>Welcome, {{ user.username }}!</h2>
<p>This is your profile page.</p>
{% endblock %}

View File

@ -0,0 +1,10 @@
{% extends "components/base.html" %}
{% block content %}
<h2>Sign Up</h2>
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<button type="submit" class="btn btn-primary">Sign Up</button>
</form>
{% endblock %}

View File

@ -0,0 +1,23 @@
{% 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 %}