diff options
Diffstat (limited to 'tpl/view.html')
-rw-r--r-- | tpl/view.html | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/tpl/view.html b/tpl/view.html index 4b8ce60f..4384631b 100644 --- a/tpl/view.html +++ b/tpl/view.html | |||
@@ -15,8 +15,12 @@ | |||
15 | <link rel="apple-touch-icon-precomposed" href="./img/apple-touch-icon-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"> | 16 | <link rel="stylesheet" href="./css/knacss.css" media="all"> |
17 | <link rel="stylesheet" href="./css/style.css" media="all"> | 17 | <link rel="stylesheet" href="./css/style.css" media="all"> |
18 | <!-- Light Theme --> | ||
19 | <link rel="stylesheet" href="./css/style-light.css" media="all" title="light-style"> | ||
20 | <!-- Dark Theme --> | ||
21 | <link rel="alternate stylesheet" href="./css/style-dark.css" media="all" title="dark-style"> | ||
18 | </head> | 22 | </head> |
19 | <body class="article"> | 23 | <body class="article light-style"> |
20 | <div id="article" class="w600p"> | 24 | <div id="article" class="w600p"> |
21 | <div class="backhome"> | 25 | <div class="backhome"> |
22 | <a href="index.php" title="back to home">←</a> | 26 | <a href="index.php" title="back to home">←</a> |
@@ -24,6 +28,7 @@ | |||
24 | <div class="tools"> | 28 | <div class="tools"> |
25 | <ul> | 29 | <ul> |
26 | <li><a title="toggle mark as read" class="tool archive {if="$is_read == '0'"}archive-off{/if}" onclick="toggle_archive(this, {$id})"><span></span></a></li> | 30 | <li><a title="toggle mark as read" class="tool archive {if="$is_read == '0'"}archive-off{/if}" onclick="toggle_archive(this, {$id})"><span></span></a></li> |
31 | <li><a href="#" id="themeswitch">dark</a></li> | ||
27 | <li><a title="toggle favorite" class="tool fav {if="$is_fav == '0'"}fav-off{/if}" onclick="toggle_favorite(this, {$id})"><span></span></a></li> | 32 | <li><a title="toggle favorite" class="tool fav {if="$is_fav == '0'"}fav-off{/if}" onclick="toggle_favorite(this, {$id})"><span></span></a></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="view" name="view" value="index" /><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> | 33 | <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="view" name="view" value="index" /><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> |
29 | <li><a href="?logout" title="Logout">logout</a></li> | 34 | <li><a href="?logout" title="Logout">logout</a></li> |
@@ -42,13 +47,6 @@ | |||
42 | <div class="backhome"> | 47 | <div class="backhome"> |
43 | <a href="index.php" title="back to home">←</a> | 48 | <a href="index.php" title="back to home">←</a> |
44 | </div> | 49 | </div> |
45 | </div> | ||
46 | 50 | ||
47 | {include="js"} | 51 | {include="js"} |
48 | 52 | {include="footer"} \ No newline at end of file | |
49 | <footer class="mr2 mt3 smaller"> | ||
50 | <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> | ||
51 | </footer> | ||
52 | |||
53 | </body> | ||
54 | </html> \ No newline at end of file | ||