Keine Beschreibung

baseTemplate.html 2.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {% load static %}
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="UTF-8"/>
  6. <meta name="author" content="Denis Merigoux"/>
  7. <meta name="keywords" content="LAPI amphis statistiques"/>
  8. <meta name="description" content="Site web du Laboratoire pour l'Acquisition Périphérique d'Informations"/>
  9. <!--<link rel="shortcut icon" href="favicon.ico" />-->
  10. <title>LAPI – {% block title %}{% endblock %}</title>
  11. {# Load the tag library #}
  12. {% load bootstrap3 %}
  13. {# Load CSS and JavaScript #}
  14. {% bootstrap_css %}
  15. {% bootstrap_javascript %}
  16. {# Display django.contrib.messages as Bootstrap alerts #}
  17. {% bootstrap_messages %}
  18. {# Load the StickyFooter add-on #}
  19. <link href="{% static 'sticky-footer.css' %}" media="all" rel="stylesheet" />
  20. </head>
  21. <body style="background-image: url('{% static 'Amphi_Poincare.JPG' %}'); background-size:cover">
  22. <nav>
  23. <nav class="navbar navbar-default">
  24. <div class="container-fluid">
  25. <!-- Brand and toggle get grouped for better mobile display -->
  26. <div class="navbar-header">
  27. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
  28. <span class="sr-only">Toggle navigation</span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. </button>
  33. <a class="navbar-brand" href="{% url 'census.views.home' %}"><b>LAPI</b></a>
  34. </div>
  35. <!-- Collect the nav links, forms, and other content for toggling -->
  36. <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  37. <ul class="nav navbar-nav">
  38. {% block nav %}
  39. <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>
  40. <li><a href="#">Link</a></li>
  41. {% endblock %}
  42. </ul>
  43. <ul class="nav navbar-nav navbar-right">
  44. <a class="navbar-brand" href="{% url 'census.views.home' %}">Accueil</a>
  45. <a class="navbar-brand" href="{% url 'census.views.comptage' %}">Instructions de comptage</a>
  46. </ul>
  47. </div><!-- /.navbar-collapse -->
  48. </div><!-- /.container-fluid -->
  49. </nav>
  50. </nav>
  51. <section id="content">
  52. {% block content %}{% endblock %}
  53. </section>
  54. <footer class="footer">
  55. <div class="container">
  56. <p class="text-muted" style="float:right">&copy; LAPI – 2015</p>
  57. </div>
  58. </footer>
  59. </body>
  60. </html>