Commit 669180f7 authored by Sli's avatar Sli

On commence à avoir un template de base

parent 93159b62
......@@ -42,7 +42,6 @@ class Page(OrderedModel):
ordering = ('order',)
def __str__(self):
self.bottom()
return self.title
def save(self, *args, **kwargs):
......
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Gala 2016</title>
</head>
<body>
{% include "blog/nav.html" %}
<head>
<meta charset="utf-8">
<title>Gala 2016</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
{% block body %}
{% endblock %}
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
</head>
<body>
</body>
<div class="row">
{# Bannière #}
<div class="col-md-offset-2 col-md-8">
<img class="img-responsive" src="http://placehold.it/2000x300">
</div>
{# Décompte #}
<div class="col-md-2">
Décompte
</div>
</div>
<br>
<div class="row">
{# Liens sociaux #}
<div class="col-md-2">
Facebook, youtube et tout le tintouin
</div>
{# contenu #}
<div class="col-md-8">
<div class="row-fluid">
{% include "blog/nav.html" %}
</div>
<div class="row-fluid">
{% block body %}
{% endblock %}
</div>
<div class="row-fluid">
Crédits
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
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