Merge pull request #45 from frontfoot/multiline_secrets
Multiline secrets
This commit is contained in:
commit
cfc670f1b1
4 changed files with 14 additions and 14 deletions
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Send Password</title>
|
||||
<title>Snappass - Share Secrets</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
|||
<nav class="navbar navbar-default navbar-static-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand" href="/">Share Password</a>
|
||||
<a class="navbar-brand" href="/">Share Secret</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
{% block content %}
|
||||
<div class="container">
|
||||
<section>
|
||||
<div class="page-header"><h1>Share Password Link</h1></div>
|
||||
<p>The password has been temporarily saved. Send the following URL to your intended recipient.</p>
|
||||
<div class="page-header"><h1>Share Secret Link</h1></div>
|
||||
<p>The secret has been temporarily saved. Send the following URL to your intended recipient.</p>
|
||||
<div class="row">
|
||||
<div class="col-sm-6 margin-bottom-10">
|
||||
<input type="text" class="form-control" id="password-link" value="{{ password_link }}" readonly="readonly">
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
{% block content %}
|
||||
<div class="container">
|
||||
<section>
|
||||
<div class="page-header"><h1>Password</h1></div>
|
||||
<p>Save the following password to a secure location.</p>
|
||||
<div class="page-header"><h1>Secret</h1></div>
|
||||
<p>Save the following secret to a secure location.</p>
|
||||
<div class="row">
|
||||
<div class="col-sm-6 margin-bottom-10">
|
||||
<input type="text" class="form-control" id="password-text" value="{{ password }}" readonly="readonly">
|
||||
<textarea class="form-control" rows="10" cols="50" id="password-text" name="password-text" readonly="readonly">{{ password }}</textarea>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-6">
|
||||
|
@ -18,7 +18,7 @@
|
|||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<p>The password has now been permanently deleted from the system, and the URL will no longer work. Refresh this page to verify.</p>
|
||||
<p>The secret has now been permanently deleted from the system, and the URL will no longer work. Refresh this page to verify.</p>
|
||||
</section>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@ -26,4 +26,4 @@
|
|||
{% block js %}
|
||||
<script src="{{ config.STATIC_URL }}/clipboardjs/clipboard.min.js"></script>
|
||||
<script src="{{ config.STATIC_URL }}/snappass/scripts/clipboard_button.js"></script>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
{% block content %}
|
||||
<div class="container">
|
||||
<section>
|
||||
<div class="page-header"><h1>Set Password</h1></div>
|
||||
<div class="page-header"><h1>Set Secret</h1></div>
|
||||
<div class="row">
|
||||
<form role="form" id="password_create" method="post">
|
||||
<div class="col-sm-6 margin-bottom-10">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon" id="basic-addon1"><span class="glyphicon glyphicon-lock" aria-hidden="true"></span></span>
|
||||
<input type="text" id="password" name="password" autofocus="true" class="form-control" placeholder="Password" aria-describedby="basic-addon1" autocomplete="off">
|
||||
<textarea rows="10" cols="50" id="password" name="password" autofocus="true" class="form-control" placeholder="Password" aria-describedby="basic-addon1" autocomplete="off"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -28,14 +28,14 @@
|
|||
</div>
|
||||
|
||||
<h3>Using SnapPass</h3>
|
||||
<p>SnapPass allows you to share passwords in a secure, ephemeral way.</p>
|
||||
<p>SnapPass allows you to share secrets in a secure, ephemeral way.</p>
|
||||
|
||||
<ol>
|
||||
<li>Input a password, its expiration time, and click Generate URL</li>
|
||||
<li>Input a secret, its expiration time, and click Generate URL</li>
|
||||
<li>Share the <strong>one-time use URL</strong> with your intended recipient</li>
|
||||
</ol>
|
||||
|
||||
</section>
|
||||
</section>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue