-
Notifications
You must be signed in to change notification settings - Fork 2
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
df06a77
commit 49bf283
Showing
11 changed files
with
287 additions
and
171 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
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
Binary file modified
BIN
+0 Bytes
(100%)
Flask/Flask05/burlesco70/webapp/project/corsi/__pycache__/models.cpython-36.pyc
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
Flask/Flask05/burlesco70/webapp/project/serate/__pycache__/models.cpython-36.pyc
Binary file not shown.
Binary file modified
BIN
+474 Bytes
(160%)
Flask/Flask05/burlesco70/webapp/project/serate/__pycache__/routes.cpython-36.pyc
Binary file not shown.
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
37 changes: 37 additions & 0 deletions
37
Flask/Flask05/burlesco70/webapp/project/serate/templates/serate_prossime.html
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{% extends "base.html" %} | ||
{% block content %} | ||
|
||
<div class="container text-center"> | ||
<br> | ||
<h1>Le prossime serate</h1> | ||
<br> | ||
</div> | ||
|
||
<table class="table table-striped"> | ||
<thead> | ||
<tr> | ||
<th scope="col">Data</th> | ||
<th scope="col">Nome - Descrizione</th> | ||
<th scope="col">Links partecipazione</th> | ||
<th scope="col">Corso</th> | ||
</tr> | ||
</thead> | ||
{% for s,c in zipped_data %} | ||
<tbody> | ||
<tr> | ||
<th scope="row">{{ s.data.strftime('%d/%m/%Y') }}</th> | ||
<td>{{ s.nome }} - {{ s.descrizione }}</td> | ||
<td> | ||
{% if s.link_partecipazione %} | ||
<a href="{{ s.link_partecipazione }}">{{ s.link_partecipazione }}</a> | ||
{% else %} | ||
Non disponibile | ||
{% endif %} | ||
</td> | ||
<td> {{ c.nome }} </td> | ||
</tr> | ||
{% endfor -%} | ||
</tbody> | ||
</table> | ||
|
||
{% endblock %} |
Oops, something went wrong.