-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db6d7a0
commit ce0ed37
Showing
3 changed files
with
46 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,16 +47,29 @@ | |
<div class="row"> | ||
<div class="col-lg-7 text-center mx-auto"> | ||
<h1 class="text-white pt-3 mt-n5">Rodas Furtadas</h1> | ||
<p class="lead text-white mt-3">Procura aqui se a bicicleta que queres comprar foi roubada</p> | ||
<p class="lead text-white mt-3">Verifica se a bicicleta que queres comprar foi roubada</p> | ||
</div> | ||
</div> | ||
|
||
<div class="row justify-space-between py-2"> | ||
<div class="col-lg-4 mx-auto"> | ||
<div class="input-group input-group-outline mb-4 text-white"> | ||
<label class="form-label text-white">Nr. de série</label> | ||
<input class="form-control text-white" type="text"> | ||
</div> | ||
<form method="post" action=""> | ||
{% csrf_token %} | ||
<div class="input-group input-group-outline mb-4 text-white"> | ||
<label class="form-label text-white">Nr. de série</label> | ||
<input class="form-control text-white" type="text" name="id" > | ||
</div> | ||
</form> | ||
|
||
{% if id is not None %} | ||
<div class="alert alert-{% if bicicleta is not None %}danger{% else %}info{% endif %} text-white font-weight-bold" role="alert"><p> | ||
|
||
{% if bicicleta is not None %} | ||
Esta bicicleta foi roubada, por favor contacta-nos com mais informação. <a href="mailto:[email protected]" class="text-white font-weight-bold">[email protected]</a> | ||
{% else %} <strong>{{id}}</strong>: Esta bicicleta não está na lista. | ||
</p> | ||
{% endif %} | ||
{% endif %} | ||
</div> | ||
</div> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters