Commit 2d2c77e8c6b5c048f252ba21bf96988c714c5664
1 parent
b4ceb7fc
Exists in
master
and in
1 other branch
fixes error in README.md install instructions.
updates login page.
Showing
2 changed files
with
14 additions
and
22 deletions
Show diff stats
README.md
| ... | ... | @@ -66,8 +66,8 @@ Replace USER by your bitbucket username: |
| 66 | 66 | cd somewhere |
| 67 | 67 | git clone https://git.xdi.uevora.pt/mjsb/aprendizations.git |
| 68 | 68 | cd aprendizations |
| 69 | -pip install . # install aprendizations and dependencies | |
| 70 | 69 | npm install # install javascript libraries |
| 70 | +pip install . # install aprendizations and dependencies | |
| 71 | 71 | ``` |
| 72 | 72 | |
| 73 | 73 | Python packages are usually installed in: | ... | ... |
aprendizations/templates/login.html
| ... | ... | @@ -22,40 +22,32 @@ |
| 22 | 22 | <!-- =================================================================== --> |
| 23 | 23 | <body> |
| 24 | 24 | <div class="container-fluid"> |
| 25 | - <div class="card bg-light mt-3"> | |
| 25 | + <div class="card bg-light border-dark mt-3"> | |
| 26 | 26 | <div class="card-body"> |
| 27 | 27 | <div class="row"> |
| 28 | 28 | |
| 29 | - <div class="col-sm-8"> | |
| 30 | - <img src="/static/logo_horizontal_login.png" class="img-responsive" width="80%"> | |
| 29 | + <div class="col-sm-9"> | |
| 30 | + <img src="/static/logo_horizontal_login.png" class="img-responsive mb-3" width="50%" alt="Universidade de Évora"> | |
| 31 | 31 | </div> |
| 32 | 32 | |
| 33 | - <div class="col-sm-4"> | |
| 33 | + <div class="col-sm-3"> | |
| 34 | + | |
| 34 | 35 | <form method="post" action="/login" class="form-signin"> |
| 35 | 36 | {% module xsrf_form_html() %} |
| 36 | - | |
| 37 | - <div class="form-row"> | |
| 38 | - <div class="col-md-6 mt-5"> | |
| 39 | - <label for="uid">Número de aluno</label> | |
| 40 | - <input type="text" id="uid" name="uid" class="form-control" placeholder="e.g., 99999" required autofocus> | |
| 41 | - </div> | |
| 42 | - | |
| 43 | - <div class="col-md-6 mt-5"> | |
| 44 | - <label for="uid">Senha secreta</label> | |
| 45 | - <input type="password" name="pw" class="form-control" placeholder="" required> | |
| 46 | - </div> | |
| 47 | - </div> | |
| 48 | - | |
| 37 | + <div class="form-group"> | |
| 38 | + <input type="text" name="uid" class="form-control mb-3" placeholder="Número de aluno" required autofocus> | |
| 39 | + <input type="password" name="pw" class="form-control mb-3" placeholder="Senha" required> | |
| 49 | 40 | <p class="text-danger"> {{ error }} </p> |
| 50 | 41 | <button class="btn btn-primary" type="submit"> |
| 51 | 42 | Entrar |
| 52 | 43 | </button> |
| 53 | - | |
| 44 | + </div> | |
| 54 | 45 | </form> |
| 55 | 46 | </div> |
| 56 | - </div> | |
| 57 | - </div> | |
| 58 | - </div> | |
| 47 | + | |
| 48 | + </div> <!-- row --> | |
| 49 | + </div> <!-- card-body --> | |
| 50 | + </div> <!-- card --> | |
| 59 | 51 | </div> <!-- container --> |
| 60 | 52 | </body> |
| 61 | 53 | </html> | ... | ... |