Début d'un autre design

This commit is contained in:
Evarin 2017-10-15 21:48:26 +02:00
parent 7797314c09
commit ec78ec28f2
13 changed files with 688 additions and 130 deletions

View file

@ -1,3 +1,5 @@
{% load staticfiles %}
<!DOCTYPE html>
<html lang="fr">
<head>
@ -6,33 +8,23 @@
<meta name="keywords" lang="fr" content="COF,BOcal,ENS,AEENS">
<title>Le BOcal</title>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous">
<link rel="stylesheet" href="/static/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="/static/css/site-base.css">
<link rel="stylesheet" href="{% static "font-awesome/css/font-awesome.min.css" %}">
<link rel="stylesheet" href="{% static "css/screen.css" %}">
</head>
<body>
{% include "navbar.html" %}
<div class="container-fluid full-height">
<div class="row main-row full-height">
{% include "sidebar.html" %}
<header>
{% include "navbar.html" %}
</header>
<div class="container">
{% include "sidebar.html" %}
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 full-height main">
{% block content %}
{% endblock content %}
</div>
<div class="main">
{% block content %}
{% endblock content %}
</div>
</div>
</div> <!-- END MAIN DIV -->
<!-- BOOTSTRAP: to update, visit
https://getbootstrap.com/docs/4.0/getting-started/introduction/
-->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
</body>
</html>

View file

@ -1,37 +1,17 @@
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
{% load staticfiles %}
<nav class="navbar">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#sidebar" aria-expanded="false" aria-controls="sidebar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">
<img src="/static/img/logo.png"
srcset="/static/img/logo.100w.png 100w,
/static/img/logo.175w.png 175w,
/static/img/logo.250w.png 250w,
/static/img/logo.369w.png 369w"
sizes="(max-width: 225px) 100px,
(max-width: 355px) 175px,
(max-width: 475px) 250px,
370px"
alt="Le BOcal" />
</a>
<a class="navbar-brand" href="{% url "homepage" %}">
<img src="{% static "img/logo.png" %}"
srcset="{% static "img/logo.100w.png" %} 100w,
{% static "img/logo.175w.png" %} 175w,
{% static "img/logo.250w.png" %} 250w,
{% static "img/logo.369w.png" %} 369w"
sizes="(max-width: 225px) 100px,
(max-width: 355px) 175px,
(max-width: 475px) 250px,
370px"
alt="Le BOcal" />
</a>
</div>
<!--
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Dashboard</a></li>
<li><a href="#">Settings</a></li>
<li><a href="#">Profile</a></li>
<li><a href="#">Help</a></li>
</ul>
<form class="navbar-form navbar-right">
<input type="text" class="form-control" placeholder="Search...">
</form>
</div>
-->
</div>
</nav>

View file

@ -1,3 +1,5 @@
{% load staticfiles %}
<!DOCTYPE html>
<html lang="fr">
<head>
@ -6,9 +8,9 @@
<meta name="keywords" lang="fr" content="COF,BOcal,ENS,AEENS">
<title>Le BOcal</title>
<link rel="stylesheet" href="/static/css/plain-site.css">
<link rel="stylesheet" href="{% static "css/screen.css" %}">
</head>
<body>
<body class="plain">
<div id="main">
{% block content %}
{% endblock content %}