easter egg
This commit is contained in:
parent
49a96143a6
commit
22a73c0a30
15
pages.py
15
pages.py
@ -56,7 +56,7 @@ def sauveteur(idsauveteur):
|
||||
dico["nb_sauvetages"] = 666
|
||||
dico["nb_sauves"] = 666
|
||||
dico["naissance"] = "vie"
|
||||
dico["deces"] = "mort"
|
||||
dico["deces"] = "mort" #<3
|
||||
dico["gratifications"] = 1
|
||||
dico["description"] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam at odio cursus, rutrum odio non, dignissim risus. Pellentesque non varius ante. Vivamus scelerisque pulvinar mauris, nec imperdiet ante mattis et."
|
||||
dico["expeditions"] = []
|
||||
@ -109,3 +109,16 @@ def search(texte):
|
||||
|
||||
results.append(r)
|
||||
return render_template("searchresults.html",liste=results)
|
||||
|
||||
def bateau(idsecret):
|
||||
dico = {}
|
||||
dico["Message"] = "messi"
|
||||
|
||||
result = lib.ex_sql(dbname,"SELECT * from secret",(idsecret,))
|
||||
if len(result)>=1:
|
||||
result = result[0]
|
||||
dico["Message"] = result["Message"]
|
||||
|
||||
return render_template("chuck.html",**dico)
|
||||
else:
|
||||
return error()
|
@ -10,6 +10,15 @@
|
||||
<p>{{Histoire}}</p>
|
||||
<p class="right-align">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="table_key">Nom</td><td>{{NomBateau}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table_key">Mise à flot</td><td>{{date_naissance}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table_key">Mise en arrêt</td><td>{{date_mort}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table_key">Nom</td><td>{{nom}}</td>
|
||||
</tr>
|
||||
|
Loading…
Reference in New Issue
Block a user