"À gauche le menu !"
This commit is contained in:
		
							parent
							
								
									c0e9344a0a
								
							
						
					
					
						commit
						4f25b1304a
					
				@ -53,6 +53,17 @@ div.top_menu input {
 | 
			
		||||
  margin-right: 4px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
div.top_menu .menu_button {
 | 
			
		||||
  position: relative;
 | 
			
		||||
  float: left;
 | 
			
		||||
  top: 4px;
 | 
			
		||||
  width: 16px;
 | 
			
		||||
  height: 16px;
 | 
			
		||||
  border-radius: 2px;
 | 
			
		||||
  margin-left: 4px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
div.top_menu input:hover {
 | 
			
		||||
  background-color: #FF5D00;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -53,6 +53,17 @@ div.top_menu input {
 | 
			
		||||
  margin-right: 4px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
div.top_menu .menu_button {
 | 
			
		||||
  position: relative;
 | 
			
		||||
  float: left;
 | 
			
		||||
  top: 4px;
 | 
			
		||||
  width: 16px;
 | 
			
		||||
  height: 16px;
 | 
			
		||||
  border-radius: 2px;
 | 
			
		||||
  margin-left: 4px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
div.top_menu input:hover {
 | 
			
		||||
  background-color: #FF5D00;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -4,7 +4,7 @@
 | 
			
		||||
    <title>Tetastock</title>
 | 
			
		||||
    <meta name="viewport" content="initial-scale=1.0">
 | 
			
		||||
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
 | 
			
		||||
    <link rel="stylesheet" type="text/css" href="/static/style/style_{{ css }}.css" />
 | 
			
		||||
    <link rel="stylesheet" type="text/css" href="/static/style/style_neutral.css" />
 | 
			
		||||
    <script type="text/javascript" src="/static/scripts/tetalab.js"></script>
 | 
			
		||||
  </head>
 | 
			
		||||
  <body>
 | 
			
		||||
 | 
			
		||||
@ -17,7 +17,7 @@
 | 
			
		||||
      </div>
 | 
			
		||||
      <div class='top_menu'>
 | 
			
		||||
        {% block top_menu %} <span class='top_menu_item_selected' onclick='javascript:document.location="./";'>Accueil</span> {% endblock %}
 | 
			
		||||
        <input type='image' src='/static/images/menu.png' title='Afficher/Cacher menu' value='' onclick='javascript:switch_css("{{ css }}");' />
 | 
			
		||||
        <input type='image' class='menu_button' src='/static/images/menu.png' title='Afficher/Cacher menu' value='' onclick='javascript:switch_css("{{ css }}");' />
 | 
			
		||||
        <input type='image' src='/static/images/logout.png' title='Se deconnecter' value='' onclick='javascript:logout();' />
 | 
			
		||||
      </div>
 | 
			
		||||
      <div class='content_wrapper'>
 | 
			
		||||
 | 
			
		||||
@ -301,6 +301,7 @@ def resume_session(func):
 | 
			
		||||
# Routes
 | 
			
		||||
########################################################################
 | 
			
		||||
@app.errorhandler(404)
 | 
			
		||||
@resume_session
 | 
			
		||||
def page_not_found(e):
 | 
			
		||||
  """ 404 not found """
 | 
			
		||||
  return render_template('error.html', css=session[u'css']), 404
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user