Skip to content

Commit becad90

Browse files
George Khouryevilmooncake
authored andcommitted
feat(branding): add safepass branding
1 parent 4487393 commit becad90

File tree

1 file changed

+50
-30
lines changed

1 file changed

+50
-30
lines changed
Lines changed: 50 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,55 @@
1-
{% extends "base.html" %}
2-
3-
{% block content %}
1+
{% extends "base.html" %} {% block content %}
42
<div class="container">
5-
<section>
6-
<div class="page-header"><h1>{{ _('Set Secret') }}</h1></div>
7-
<div class="row">
8-
<form role="form" id="password_create" method="post" autocomplete="off">
9-
<div class="col-sm-6 margin-bottom-10">
10-
<div class="input-group">
11-
<span class="input-group-addon" id="basic-addon1"><span class="glyphicon glyphicon-lock" aria-hidden="true"></span></span>
12-
<textarea rows="10" cols="50" id="password" name="password" autofocus="true" class="form-control" placeholder="{{ _('SnapPass allows you to share secrets in a secure, ephemeral way. Input a single or multi-line secret, its expiration time, and click Generate URL. Share the one-time use URL with your intended recipient.') }}" aria-describedby="basic-addon1" autocomplete="off" required></textarea>
13-
</div>
14-
</div>
3+
<section>
4+
<div class="page-header"><h1>{{ _('Set Secret') }}</h1></div>
5+
<div class="row">
6+
<form
7+
role="form"
8+
id="password_create"
9+
method="post"
10+
autocomplete="off"
11+
>
12+
<div class="col-sm-6 margin-bottom-10">
13+
<div class="input-group">
14+
<span class="input-group-addon" id="basic-addon1"
15+
><span
16+
class="glyphicon glyphicon-lock"
17+
aria-hidden="true"
18+
></span
19+
></span>
20+
<textarea
21+
rows="10"
22+
cols="50"
23+
id="password"
24+
name="password"
25+
autofocus="true"
26+
class="form-control"
27+
placeholder="{{ _('SafePass allows you to share secrets in a secure, ephemeral way. Input a single or multi-line secret, its expiration time, and click Generate URL. Share the one-time use URL with your intended recipient.') }}"
28+
aria-describedby="basic-addon1"
29+
autocomplete="off"
30+
required
31+
></textarea>
32+
</div>
33+
</div>
1534

16-
<div class="col-sm-2 margin-bottom-10">
17-
<select class="form-control" name="ttl">
18-
<option value="Two Weeks">{{ _('Two Weeks') }}</option>
19-
<option value="Week" selected="selected">{{ _('Week') }}</option>
20-
<option value="Day">{{ _('Day') }}</option>
21-
<option value="Hour">{{ _('Hour') }}</option>
22-
</select>
23-
</div>
35+
<div class="col-sm-2 margin-bottom-10">
36+
<select class="form-control" name="ttl">
37+
<option value="Two Weeks">{{ _('Two Weeks') }}</option>
38+
<option value="Week" selected="selected">
39+
{{ _('Week') }}
40+
</option>
41+
<option value="Day">{{ _('Day') }}</option>
42+
<option value="Hour">{{ _('Hour') }}</option>
43+
</select>
44+
</div>
2445

25-
<div class="col-sm-4">
26-
<button type="submit" class="btn btn-primary" id="submit">{{ _('Generate URL') }}</button>
46+
<div class="col-sm-4">
47+
<button type="submit" class="btn btn-primary" id="submit">
48+
{{ _('Generate URL') }}
49+
</button>
50+
</div>
51+
</form>
2752
</div>
28-
</form>
29-
</div>
30-
</section>
53+
</section>
3154
</div>
32-
{% endblock %}
33-
34-
{% block js %}
35-
{% endblock %}
55+
{% endblock %} {% block js %} {% endblock %}

0 commit comments

Comments
 (0)