forked from fjarnet/greeder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.html
48 lines (47 loc) · 2.16 KB
/
header.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!--
@nom: settings
@auteur: Tom Canac (http://tomcanac.com)
@description: Page d'en tête commune à toutes les vues
-->
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="fr"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Leed</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="./css/style.css">
</head>
<body>
<!-- <!> Balise ayant double utilié :
sert de base a javascript pour connaitre l'action courante
permet le retour en haut de page -->
<a id="pageTop" class="hidden">{$action}</a>
<header class=" toper">
<h1 class="logo left" id="title"><a href="./index.php"><img src="logo.png" alt="logo"></a></h1>
<div class="loginBloc">
{if="!$myUser"}
<form class="formulco" action="action.php?action=login" method="POST">
<input type="text" class="miniInput left" name="login" placeholder="Identifiant"/> <input type="password" class="miniInput left" name="password" placeholder="Mot de passe"/> <button class="red connexion">GO!</button>
</form>
{else}
</div>
<nav id="icons">
<a href="index.php"><img src="home.png" class="icon" alt="Accueil"></a>
<a href="index.php?action=favorites"><img src="favs.png" class="icon" alt="Favoris"></a>
<a href="settings.php"><img src="settings.png" class="icon" alt="Paramètres"></a>
<a class="synchronyzeButton" title="Synchroniser" onclick="synchronize('{if="$myUser"}{$synchronisationCode}{/if}');"><img src="sync.png" class="icon" alt="Actualiser"></a>
</nav>
<button class="grey deco" onclick="window.location='action.php?action=logout'">
Déconnexion
</button>
{/if}
<div class="clear"></div>
</header>