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.

57 lines
2.5 KiB
Plaintext

{% extends "base_bootstrap.html.twig" %}
9 years ago
{% block head %}
{{ parent() }}
9 years ago
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>
9 years ago
<script src="/js/new_certificate.js"></script>
9 years ago
{% endblock %}
9 years ago
{% block content %}
<div class="container">
<div class="row">
9 years ago
<div class="col-md-6 col-md-offset-3">
<div class="row">
<h2>New Certificate for "<span class="user">{{ user.getUsername() }}</span>"</h2>
9 years ago
</div>
9 years ago
<div class="form-horizontal">
9 years ago
<div class="form-group">
9 years ago
<label class="control-label col-md-4" for="name">Name</label>
<div class="col-md-8">
9 years ago
<input name="name" id="name" type="text" class="form-control">
</div>
</div>
9 years ago
<div class="form-group">
<label class="control-label col-md-4">Private Key password</label>
<div class="col-md-8">
<div class="input-group">
<div class="input-group-addon">
<input id="wantsPassword" type="checkbox" />
</div>
<input type="password" disabled class="form-control" id="password" />
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-md-4">Save private key online</label>
<div class="col-md-8">
<div class="checkbox">
<label>
<input type="checkbox" id="saveOnline" disabled /> This may be a security risk.
</label>
</div>
</div>
</div>
9 years ago
<div class="form-group">
<div class="col-md-12">
<button type="button" class="magic-csr btn btn-primary pull-right">Create certificate</button>
</div>
</div>
9 years ago
</div>
<input type="hidden" value="{{ user.getUsername() }}" id="user-input">
9 years ago
</div>
9 years ago
</div>
9 years ago
</div>
{% endblock %}