You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.3 KiB
Plaintext

{% extends "panel.html.twig" %}
9 years ago
{% block head %}
{{ parent() }}
9 years ago
<script src="/js/jquery.min.js"></script>
9 years ago
<script src="/js/forge.min.js"></script>
9 years ago
<script src="/js/jszip.min.js"></script>
<script src="/js/FileSaver.min.js"></script>
<script src="/js/pages/certificates/new.js"></script>
9 years ago
{% endblock %}
9 years ago
{% block panel_contents %}
<h1>Create certificate</h1>
<form action="/panel/certificates/new" method="post">
<input type="hidden" id="user-input" value="{{ user.getUsername() }}">
<div class="row">
<label for="name">Name</label>
<input type="text" id="name" name="name">
</div>
<div class="row">
<label for="has-password">Add password?</label>
<input type="checkbox" id="has-password" name="has-password">
</div>
<div class="row">
<label for="password">Password</label>
<input type="password" disabled id="password" name="password">
</div>
<div class="row">
<label for="save-online">Save private key online?</label>
<input type="checkbox" disabled name="save-online" id="save-online">
</div>
9 years ago
<div class="row">
<button id="create-csr" type="button">Create</button>
9 years ago
</div>
</form>
9 years ago
{% endblock %}