Commit 3fe6b4ca authored by Vincent Le gallic's avatar Vincent Le gallic

Début d'embryon de tentative d'être html-valide. Il va falloir persévérer.

parent f909af64
......@@ -1634,7 +1634,7 @@ def teapot(request):
out = proc.communicate()[0]
l = re.findall("Server version: (.*)", out)
if l:
page += "<address> %s <br> Django/%s </address>\n"%(l[0], django.get_version())
page += "<address> %s <br/> Django/%s </address>\n"%(l[0], django.get_version())
page += "</html>\n</body></html>"
return HttpResponse(page, status=418)
......
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Note Kfet 2015 - {% block title %}{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
{% block stylesheets %}
<link rel="stylesheet" href="{{ STATIC_URL }}css/bootstrap.css">
<link rel="stylesheet" href="{{ STATIC_URL }}css/bootstrap-responsive.css">
<link rel="stylesheet" href="{{ STATIC_URL }}css/custom/note-bootstrap.css">
<link rel="stylesheet" href="{{ STATIC_URL }}css/bootstrap.css"/>
<link rel="stylesheet" href="{{ STATIC_URL }}css/bootstrap-responsive.css"/>
<link rel="stylesheet" href="{{ STATIC_URL }}css/custom/note-bootstrap.css"/>
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
......
......@@ -13,7 +13,7 @@
</p>
<p class="search">
Rechercher : <input type="text" name="Recherche" id="id_search_field" autocomplete="off" value="" onKeyUp="javascript:search_field_moved();return(false);"/></br>
Rechercher : <input type="text" name="Recherche" id="id_search_field" autocomplete="off" value="" onKeyUp="javascript:search_field_moved();return(false);"/><br/>
</p>
<div class="liste_comptes">
......
......@@ -82,7 +82,7 @@
<div class="span5">
<div class="span3">
<p class="search_field">
<input type="text" name="Recherche" id="id_search_field" value="" autocomplete="off" onKeyUp="javascript:search_field_moved();return(false);"/></br>
<input type="text" name="Recherche" id="id_search_field" value="" autocomplete="off" onKeyUp="javascript:search_field_moved();return(false);"/><br/>
<button class="btn" onclick="do_conso_multiples()">Consommer !</button>
</p>
</div>
......@@ -102,7 +102,7 @@
<div class="span5 pull-right">
<div class="span3 pull-right">
<p class="search_field_2">
<input type="text" name="Recherche 2" id="id_search_field_2" value="" autocomplete="off" onKeyUp="javascript:search_field_moved(true);return(false);"/></br>
<input type="text" name="Recherche 2" id="id_search_field_2" value="" autocomplete="off" onKeyUp="javascript:search_field_moved(true);return(false);"/><br/>
</p>
</div>
<div class="span2">
......
......@@ -29,7 +29,7 @@
<div class="row">
<p class="search_field">
<input type="text" name="Recherche" id="id_search_field" value="" autocomplete="off" onKeyUp="javascript:search_field_moved();return(false);"/></br>
<input type="text" name="Recherche" id="id_search_field" value="" autocomplete="off" onKeyUp="javascript:search_field_moved();return(false);"/><br/>
</p>
<div class="span3">
......@@ -132,7 +132,7 @@
<td>{{transaction.quantite}}</td>
<td>{% euro transaction.montant %}</td>
<td>{{transaction.description}}</td>
<td>{% render_booleen transaction.valide %}</td>
<td><a>{% render_booleen transaction.valide %}</a></td>
</tr>
{% endfor %}
</tbody>
......
......@@ -98,7 +98,7 @@ function put_note(itself, affiche, idbde, _, __, ___) {
</div>
{% if isadmin %}
{# L'admin doit en plus spécifier le responsable #}
Responsable : <input type="text" name="recherche" id="id_search_field" autocomplete="off" value="" onKeyUp="javascript:search_field_moved();return(false);"/></br>
Responsable : <input type="text" name="recherche" id="id_search_field" autocomplete="off" value="" onKeyUp="javascript:search_field_moved();return(false);"/><br/>
{% endif %}
{# On ajoute à la main le champ caché idrespo #}
<input type="hidden" name="idrespo" id="id_output_idbde" value="{{ whoami.idbde }}"/>
......
......@@ -31,7 +31,7 @@
<li><label for="id_give_alias"><input {% if "a" in search_flags %}checked="checked" value="on"{% endif %} type="checkbox" id="id_give_alias" name="give_alias" />Afficher les alias</label></li>
<li><label for="id_give_historique"><input {% if "h" in search_flags %}checked="checked" value="on"{% endif %} type="checkbox" id="id_give_historique" name="give_historique" />Afficher les anciens pseudos</label></li>
<a href="{{ NOTE_ROOT_URL }}search_historique_pseudo">Chercher dans les anciens pseudos devenus inactifs</a>
<li><label for="id_old_accounts"><input {% if "o" in search_flags %}checked="checked" value="on"{% endif %} type="checkbox" id="id_old_accounts" name="old_accounts" />Rechercher dans les comptes </br>qui ne sont plus à jour d'adhésion</label></li>
<li><label for="id_old_accounts"><input {% if "o" in search_flags %}checked="checked" value="on"{% endif %} type="checkbox" id="id_old_accounts" name="old_accounts" />Rechercher dans les comptes <br/>qui ne sont plus à jour d'adhésion</label></li>
</ul>
<label for="id_exactfilter_0">Correspondance sur :</label>
......
......@@ -26,7 +26,7 @@
<tr><td>Prénom</td> <td>{{ compte.prenom }}</td></tr>
<tr><td>Pseudo</td> <td>{{ compte.pseudo }}</td></tr>
<tr><td><a href="{{ NOTE_ROOT_URL }}comptes/{{compte.idbde}}/aliases/">Aliases</a></td> <td>{{ compte.aliases }}</td></tr>
<tr><td>Anciens pseudos</td> <td>{% if compte.historiques %}{{ compte.historiques }}</br>{% endif %}<a href="{{ NOTE_ROOT_URL }}comptes/{{compte.idbde}}/historique_pseudo/">Voir tous les anciens pseudos</a></td></tr>
<tr><td>Anciens pseudos</td> <td>{% if compte.historiques %}{{ compte.historiques }}<br/>{% endif %}<a href="{{ NOTE_ROOT_URL }}comptes/{{compte.idbde}}/historique_pseudo/">Voir tous les anciens pseudos</a></td></tr>
<tr><td>Section</td> <td>{{ compte.section }}</td></tr>
<tr><td>Années d'adhésion</td> <td>{{ compte.annees }}</td></tr>
<tr><td>E-mail</td> <td>{{ compte.mail }}</td></tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment