Skip to content

Commit b275014

Browse files
committed
Build: Add a link show app usage in user login page
1 parent 70e9c7c commit b275014

2 files changed

Lines changed: 50 additions & 1 deletion

File tree

app/static/css/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
@media screen and (min-width: 900px) and (max-width: 1200px) {
3636
.footer {
37-
height: 90px;
37+
height: 65px;
3838
width: 90%;
3939
}
4040
}

app/templates/auth/login.html

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,54 @@ <h1 class="text-center">{{ title }}</h1>
1616
</div>
1717
<div class="col-md-4"><!-- Empty column --></div>
1818
</div>
19+
<div class="row">
20+
<div class="col-md-12">
21+
<div class="text-center">
22+
<button class="btn " data-toggle="modal" data-target="#usage">Usage</button>
23+
</div>
24+
<!-- Usage Modal -->
25+
<div class="modal fade" id="usage" tabindex="-1" role="dialog" aria-labelledby="usage">
26+
<div class="modal-dialog" role="document">
27+
<div class="modal-content">
28+
<div class="modal-header">
29+
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
30+
<h3 class="modal-title" id="addLiabilityLabel">About The App</h3>
31+
</div>
32+
<div class="modal-body">
33+
<h3>Usage</h3>
34+
<p>
35+
Don't know how to use the app? <a href="#">Watch on YouTube</a>.
36+
</p>
37+
<br>
38+
<h3>Available Users</h3>
39+
<ul>
40+
<p>
41+
<li>
42+
<strong>Admin</strong> - Can add/delete support members. <a href="{{ url_for('auth.admin_dashboard_registration') }}">Register here</a>.
43+
</li>
44+
</p>
45+
<p>
46+
<li>
47+
<strong>Support</strong> - Can't register self. Admin will register you and you will receive a link via email.
48+
Click <a href="{{ url_for('auth.support_login') }}">here</a> to login.
49+
</li>
50+
</p>
51+
<p>
52+
<li>
53+
<strong>User</strong> - Main user. Can register self.
54+
Click <a href="{{ url_for('auth.register') }}"> here</a> to register.
55+
</li>
56+
</p>
57+
</ul>
58+
</div>
59+
<div class="modal-footer">
60+
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
61+
</div>
62+
</div>
63+
</div>
64+
</div>
65+
<!-- End of usage modal -->
66+
</div>
67+
</div>
1968

2069
{% endblock %}

0 commit comments

Comments
 (0)