Commit e20ac51cab46d27527aa164f64e4ef73c3c5b5a9
1 parent
8dbbfdac
Exists in
master
and in
1 other branch
- fix javascript scripts locations and removal
Showing
4 changed files
with
40 additions
and
43 deletions
Show diff stats
@@ -0,0 +1,39 @@ | @@ -0,0 +1,39 @@ | ||
1 | +html, | ||
2 | +body { | ||
3 | + height: 100%; | ||
4 | +} | ||
5 | + | ||
6 | +body { | ||
7 | + display: flex; | ||
8 | + align-items: center; | ||
9 | + padding-top: 40px; | ||
10 | + padding-bottom: 40px; | ||
11 | + background-color: #f5f5f5; | ||
12 | +} | ||
13 | + | ||
14 | +.form-signin { | ||
15 | + width: 100%; | ||
16 | + max-width: 330px; | ||
17 | + padding: 15px; | ||
18 | + margin: auto; | ||
19 | +} | ||
20 | + | ||
21 | +.form-signin .checkbox { | ||
22 | + font-weight: 400; | ||
23 | +} | ||
24 | + | ||
25 | +.form-signin .form-floating:focus-within { | ||
26 | + z-index: 2; | ||
27 | +} | ||
28 | + | ||
29 | +.form-signin input[type="email"] { | ||
30 | + margin-bottom: -1px; | ||
31 | + border-bottom-right-radius: 0; | ||
32 | + border-bottom-left-radius: 0; | ||
33 | +} | ||
34 | + | ||
35 | +.form-signin input[type="password"] { | ||
36 | + margin-bottom: 10px; | ||
37 | + border-top-left-radius: 0; | ||
38 | + border-top-right-radius: 0; | ||
39 | +} |
aprendizations/static/mdbootstrap
aprendizations/static/signin.css
@@ -1,39 +0,0 @@ | @@ -1,39 +0,0 @@ | ||
1 | -html, | ||
2 | -body { | ||
3 | - height: 100%; | ||
4 | -} | ||
5 | - | ||
6 | -body { | ||
7 | - display: flex; | ||
8 | - align-items: center; | ||
9 | - padding-top: 40px; | ||
10 | - padding-bottom: 40px; | ||
11 | - background-color: #f5f5f5; | ||
12 | -} | ||
13 | - | ||
14 | -.form-signin { | ||
15 | - width: 100%; | ||
16 | - max-width: 330px; | ||
17 | - padding: 15px; | ||
18 | - margin: auto; | ||
19 | -} | ||
20 | - | ||
21 | -.form-signin .checkbox { | ||
22 | - font-weight: 400; | ||
23 | -} | ||
24 | - | ||
25 | -.form-signin .form-floating:focus-within { | ||
26 | - z-index: 2; | ||
27 | -} | ||
28 | - | ||
29 | -.form-signin input[type="email"] { | ||
30 | - margin-bottom: -1px; | ||
31 | - border-bottom-right-radius: 0; | ||
32 | - border-bottom-left-radius: 0; | ||
33 | -} | ||
34 | - | ||
35 | -.form-signin input[type="password"] { | ||
36 | - margin-bottom: 10px; | ||
37 | - border-top-left-radius: 0; | ||
38 | - border-top-right-radius: 0; | ||
39 | -} |
aprendizations/templates/login.html
@@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
27 | } | 27 | } |
28 | </style> | 28 | </style> |
29 | 29 | ||
30 | - <link href="{{static_url('signin.css')}}" rel="stylesheet"> | 30 | + <link href="{{static_url('css/signin.css')}}" rel="stylesheet"> |
31 | 31 | ||
32 | <title>{{appname}}</title> | 32 | <title>{{appname}}</title> |
33 | </head> | 33 | </head> |
@@ -37,7 +37,6 @@ | @@ -37,7 +37,6 @@ | ||
37 | <form method="post" action="/login" class="form-signin"> | 37 | <form method="post" action="/login" class="form-signin"> |
38 | {% module xsrf_form_html() %} | 38 | {% module xsrf_form_html() %} |
39 | <img class="mb-4" src="{{ static_url('logo_horizontal_login.png') }}" alt="Universidade de Évora" height="80"> | 39 | <img class="mb-4" src="{{ static_url('logo_horizontal_login.png') }}" alt="Universidade de Évora" height="80"> |
40 | - <!-- <h1 class="h3 mb-3 fw-normal">Please sign in</h1> --> | ||
41 | 40 | ||
42 | <div class="form-floating"> | 41 | <div class="form-floating"> |
43 | <input type="text" class="form-control" id="uid" name="uid" placeholder="99999" required autofocus> | 42 | <input type="text" class="form-control" id="uid" name="uid" placeholder="99999" required autofocus> |
@@ -51,7 +50,6 @@ | @@ -51,7 +50,6 @@ | ||
51 | <p class="text-danger"> {{ error }} </p> | 50 | <p class="text-danger"> {{ error }} </p> |
52 | 51 | ||
53 | <button class="w-100 btn btn-lg btn-primary" type="submit">Entrar</button> | 52 | <button class="w-100 btn btn-lg btn-primary" type="submit">Entrar</button> |
54 | - <!-- <p class="mt-5 mb-3 text-muted">© 2017–2021</p> --> | ||
55 | </form> | 53 | </form> |
56 | </main> | 54 | </main> |
57 | 55 |