Skip to content

Commit c0d3604

Browse files
authored
Merge pull request #275 from Turall/master
fixing password placeholder in login page
2 parents 89d215b + ed4f992 commit c0d3604

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

flask_monitoringdashboard/templates/fmd_login.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{% extends "fmd_base.html" %}
22
{% block body %}
3+
34
<body>
45
<div class="container py-5">
56
<div class="row">
67
<div class="col-md-8 offset-md-2">
78

89
<div class="text-center" style="margin-bottom: 20px; margin-top: -30px;">
910
<div style="text-align: center;">
10-
<img src="{{ url_for('dashboard.static', filename='img/header.png') }}" width="80%" />
11-
</div>
11+
<img src="{{ url_for('dashboard.static', filename='img/header.png') }}" width="80%" />
12+
</div>
1213
<span>Automatically monitor the evolving performance of Flask/Python web services</span>
1314
</div>
1415
</div>
@@ -26,19 +27,19 @@ <h5>Login</h5>
2627
<form class="form" method="POST" action="login">
2728
<div class="form-group">
2829
<label for="formName"><i class="fa fa-user"></i> Login</label>
29-
<input id="formName" name="name" type="text" class="form-control"
30-
placeholder="Username" autofocus required />
30+
<input id="formName" name="name" type="text" class="form-control" placeholder="Username"
31+
autofocus required />
3132
</div>
3233

3334
<div class="form-group">
34-
<label for="formPassword" ><i class="fa fa-lock"></i> Password</label>
35-
<input name="password" type="password" class="form-control"
36-
placeholder="Username" required />
35+
<label for="formPassword"><i class="fa fa-lock"></i> Password</label>
36+
<input name="password" type="password" class="form-control" placeholder="Password"
37+
required />
3738
</div>
3839

3940
<button name="Login" class="btn btn-primary btn-block">Login</button>
4041
</form>
41-
<hr/>
42+
<hr />
4243

4344
<div class="text-center">
4445
For advanced documentation, see

0 commit comments

Comments
 (0)