Commit edf8c371 authored by alexandre's avatar alexandre

More cleaning

parent f9c5a1e9
......@@ -275,7 +275,6 @@ section.hidden { display: none; }
/* Main menu (sidebar)
========================================================================== */
.main-header .content {
width: 300px;
padding: 30px;
......@@ -286,13 +285,13 @@ section.hidden { display: none; }
.logo { margin: 21px 0 42px 0; }
.logo h1 {
.logo__name {
font-size: 3em;
line-height: 1em;
margin-bottom: 10px;
}
.logo a { text-decoration: none; }
.logo_link { text-decoration: none; }
......
......@@ -2529,11 +2529,11 @@ window.W = window.W || {};
template: '#header-template',
attributes: {
class: 'main-header panel panel--left'
class: 'page__header main-header panel panel--left'
},
ui: {
'toggle': '.panel__toggle',
'toggle': '.js-toggle',
'login': '.btn-login',
'logout': '.btn-logout',
'register': '.btn-register',
......@@ -2579,19 +2579,19 @@ window.W = window.W || {};
regions: {
header: {
el: '.main-header',
el: '#main-header',
replaceElement: true
},
main: {
el: '.main-area',
el: '#main-area',
// replaceElement: true
},
help: {
el: '.help',
el: '#help',
replaceElement: true
},
modal: {
el: '.modal',
el: '#modal',
// replaceElement: true
}
},
......
......@@ -145,7 +145,7 @@
</script>
</head>
<body>
<body class="page">
<script src="{% static 'playground/vendors/jquery.min.js' %}"></script>
<script src="{% static 'playground/vendors/underscore-min.js' %}"></script>
<script src="{% static 'playground/vendors/backbone-min.js' %}"></script>
......@@ -172,7 +172,5 @@
<script src="{% static 'playground/js/routers.js' %}"></script>
<script src="{% static 'playground/js/apps.js' %}"></script>
<script src="{% static 'playground/js/main.js' %}"></script>
</body>
</html>
<header class="main-header"></header>
<main class="main-area"></main>
<div class="help"></div>
<div class="modal"></div>
<header id="main-header" class="page__header main-header"></header>
<main id="main-area" class="page__main main-area"></main>
<div id="help" class="page__help help"></div>
<div id="modal" class="page__modal modal"></div>
<div class="panel__toggle js-collapse"><span class="btn-hamburger__inner">menu</span></div>
<div class="panel__toggle js-toggle">menu</div>
<div class="content">
<nav>
<% if (username) { %>
<%- t('Bienvenue') %> <a href="/compte"><%- username %></a>
<% } %>
<ul>
<% if (username) { %>
......@@ -17,8 +18,8 @@
</nav>
<div class="logo">
<h1><a href="/">Organon</a></h1>
<h2><%- t('Un logiciel pour noter l’action performée, développé par W.') %></h2>
<h1 class="logo__name"><a href="/" class="logo_link">Organon</a></h1>
<p class="logo__tagline"><%- t('Un logiciel pour noter l’action performée, développé par W.') %></p>
</div>
<div id="create"></div>
......
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