diff options
author | nicosomb <nicolas@loeuillet.org> | 2013-04-18 15:39:34 +0200 |
---|---|---|
committer | nicosomb <nicolas@loeuillet.org> | 2013-04-18 15:39:34 +0200 |
commit | e4d2565e05a517641de921c4c19a2c9d1beea2e7 (patch) | |
tree | 156715bc739b2810368c717f20f03172955c32a1 /tpl/view.html | |
parent | b693a19e1c3d4ffcf2f3aaef1d67df4b986e4903 (diff) | |
download | wallabag-e4d2565e05a517641de921c4c19a2c9d1beea2e7.tar.gz wallabag-e4d2565e05a517641de921c4c19a2c9d1beea2e7.tar.zst wallabag-e4d2565e05a517641de921c4c19a2c9d1beea2e7.zip |
#4 - ajout système de connexion (login poche mot de passe poche pour l'instant)
Diffstat (limited to 'tpl/view.html')
-rw-r--r-- | tpl/view.html | 34 |
1 files changed, 28 insertions, 6 deletions
diff --git a/tpl/view.html b/tpl/view.html index 3a1ba7c6..1191bd82 100644 --- a/tpl/view.html +++ b/tpl/view.html | |||
@@ -1,4 +1,21 @@ | |||
1 | {include="head"} | 1 | <!DOCTYPE html> |
2 | <!--[if lte IE 6]> <html class="no-js ie6 ie67 ie678" lang="en"> <![endif]--> | ||
3 | <!--[if lte IE 7]> <html class="no-js ie7 ie67 ie678" lang="en"> <![endif]--> | ||
4 | <!--[if IE 8]> <html class="no-js ie8 ie678" lang="en"> <![endif]--> | ||
5 | <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | ||
6 | <html> | ||
7 | <head> | ||
8 | <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"> | ||
9 | <meta charset="utf-8"> | ||
10 | <meta http-equiv="X-UA-Compatible" content="IE=10"> | ||
11 | <title>{$title}</title> | ||
12 | <link rel="shortcut icon" type="image/x-icon" href="./img/favicon.ico" /> | ||
13 | <link rel="apple-touch-icon-precomposed" sizes="144x144" href="./img/apple-touch-icon-144x144-precomposed.png"> | ||
14 | <link rel="apple-touch-icon-precomposed" sizes="72x72" href="./img/apple-touch-icon-72x72-precomposed.png"> | ||
15 | <link rel="apple-touch-icon-precomposed" href="./img/apple-touch-icon-precomposed.png"> | ||
16 | <link rel="stylesheet" href="./css/knacss.css" media="all"> | ||
17 | <link rel="stylesheet" href="./css/style.css" media="all"> | ||
18 | </head> | ||
2 | <body class="article"> | 19 | <body class="article"> |
3 | <div id="article" class="w600p"> | 20 | <div id="article" class="w600p"> |
4 | <div class="backhome"> | 21 | <div class="backhome"> |
@@ -6,9 +23,9 @@ | |||
6 | </div> | 23 | </div> |
7 | <div class="tools"> | 24 | <div class="tools"> |
8 | <ul> | 25 | <ul> |
9 | <li><a title="toggle mark as read" class="tool archive {if="$is_read == '0'"}archive-off{/if}" onclick="toggle_archive(this, {$id}, '{$token}')"><span></span></a></li> | 26 | <li><a title="toggle mark as read" class="tool archive {if="$is_read == '0'"}archive-off{/if}" onclick="toggle_archive(this, {$id}, '<?php echo Session::getToken(); ?>')"><span></span></a></li> |
10 | <li><a title="toggle favorite" class="tool fav {if="$is_fav == '0'"}fav-off{/if}" onclick="toggle_favorite(this, {$id}, '{$token}')"><span></span></a></li> | 27 | <li><a title="toggle favorite" class="tool fav {if="$is_fav == '0'"}fav-off{/if}" onclick="toggle_favorite(this, {$id}, '<?php echo Session::getToken(); ?>')"><span></span></a></li> |
11 | <li><form method="post" onsubmit="return confirm('Are you sure?')" style="display: inline;" action="index.php"><input type="hidden" name="token" id="token" value="{$token}" /><input type="hidden" id="action" name="action" value="delete" /><input type="hidden" id="id" name="id" value="{$id}" /><input type="submit" class="delete" title="toggle delete" /></form></li> | 28 | <li><form method="post" onsubmit="return confirm('Are you sure?')" style="display: inline;" action="index.php"><input type="hidden" name="token" id="token" value="<?php echo Session::getToken(); ?>" /><input type="hidden" id="action" name="action" value="delete" /><input type="hidden" id="id" name="id" value="{$id}" /><input type="submit" class="delete" title="toggle delete" /></form></li> |
12 | </ul> | 29 | </ul> |
13 | </div> | 30 | </div> |
14 | <header class="mbm"> | 31 | <header class="mbm"> |
@@ -25,7 +42,12 @@ | |||
25 | <a href="index.php" title="back to home">←</a> | 42 | <a href="index.php" title="back to home">←</a> |
26 | </div> | 43 | </div> |
27 | </div> | 44 | </div> |
28 | {include="footer"} | 45 | |
29 | {include="js"} | 46 | {include="js"} |
47 | |||
48 | <footer class="mr2 mt3 smaller"> | ||
49 | <p>powered by <a href="http://inthepoche.com">poche</a><br />follow us on <a href="https://twitter.com/getpoche" title="follow us on twitter">twitter</a></p> | ||
50 | </footer> | ||
51 | |||
30 | </body> | 52 | </body> |
31 | </html> | 53 | </html> \ No newline at end of file |