2012-10-08 10:51:41 -07:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="container">
|
|
|
|
<section>
|
2017-01-05 11:06:42 +11:00
|
|
|
<div class="page-header"><h1>Secret</h1></div>
|
|
|
|
<p>Save the following secret to a secure location.</p>
|
2016-11-02 21:31:50 -05:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-6 margin-bottom-10">
|
2017-01-05 11:01:16 +11:00
|
|
|
<textarea class="form-control" rows="10" cols="50" id="password-text" name="password-text" readonly="readonly">{{ password }}</textarea>
|
2016-11-02 21:31:50 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
<button title="Copy to clipboard" type="button" class="btn btn-primary copy-clipboard-btn"
|
2016-08-13 20:04:38 -04:00
|
|
|
id="copy-clipboard-btn" data-clipboard-target="#password-text"
|
|
|
|
data-placement='bottom'>
|
2016-11-02 21:31:50 -05:00
|
|
|
<i class="fa fa-clipboard"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
2016-08-13 20:04:38 -04:00
|
|
|
</div>
|
2017-01-05 11:06:42 +11:00
|
|
|
<p>The secret has now been permanently deleted from the system, and the URL will no longer work. Refresh this page to verify.</p>
|
2012-10-08 10:51:41 -07:00
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
2016-08-13 20:04:38 -04:00
|
|
|
|
|
|
|
{% block js %}
|
2016-11-02 21:31:50 -05:00
|
|
|
<script src="{{ config.STATIC_URL }}/clipboardjs/clipboard.min.js"></script>
|
|
|
|
<script src="{{ config.STATIC_URL }}/snappass/scripts/clipboard_button.js"></script>
|
2017-01-05 11:01:16 +11:00
|
|
|
{% endblock %}
|