diff options
Diffstat (limited to 'src/data/templates/quotes.hbs')
-rw-r--r-- | src/data/templates/quotes.hbs | 79 |
1 files changed, 6 insertions, 73 deletions
diff --git a/src/data/templates/quotes.hbs b/src/data/templates/quotes.hbs index 45fa711..71732ab 100644 --- a/src/data/templates/quotes.hbs +++ b/src/data/templates/quotes.hbs @@ -1,65 +1,8 @@ -<!doctype html> -<html lang="no"> - <head> - <meta name="robots" content="noindex, nofollow" /> - <link rel="shortcut icon" href="/favicon.ico" /> - <title>Quotes fra #linux.no på freenode</title> - <style type="text/css"> - body { - font-family: monospace; - background: #ffffff; - color: #000000; - } - a, a:visited { - color: #000000; - } - hr { - border-style: solid; - border-color: black; - border-width: 1px; - } - .ragebutton { - font-family: monospace; - text-align: left; - text-decoration: underline; - color: black; - background: none; - margin: 0; - padding: 0; - border: none; - cursor: pointer; - -moz-user-select: text; - } - </style> - <script type="text/javascript"> - function vote(id, value) { - var http = new XMLHttpRequest(); - http.open("GET","/vote?id="+id+"&vote="+value); - http.onreadystatechange=function() { - if(http.readyState==4) { - document.getElementById("v"+id).innerHTML = http.responseText; - } - } - http.send(null); - } - </script> - </head> - <body> - -<pre> - _ _ - | (_)_ __ _ ___ __ _ __ ___ - _|_|_ | | | '_ \| | | \ \/ / | '_ \ / _ \ - _|_|_ | | | | | | |_| |) ( _| | | | (_) | - | | |_|_|_| |_|\__,_/_/\_(_)_| |_|\___/ - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=- GAMMA -=- - Quotes fra #linux.no på freenode - Klikk <a href="add.jsp">her</a> for å legge til en quote - - Sortér etter <a href="quotes.jsp?order=date">dato</a> | <a href="quotes.jsp?order=score">score</a> -</pre> -<hr> +{{#*inline "heading"}} + Sortér etter <a href="quotes.jsp?order=date">dato</a> | <a href="quotes.jsp?order=score">score</a> +{{/inline}} +{{#*inline "page"}} {{#each quotes}} <br> @@ -80,16 +23,6 @@ Dato: {{date}}, Score: <br> <hr> {{/each}} +{{/inline}} - -<center> -<br> -<p>linoquotes v.3 © 2004-2017 Kjetil Ørbekk, Erlend Hamberg, Vidar Holen, John H. Anthony. -<p>Source code at <a href="https://git.orbekk.com/linoquotes-gamma.git">https://git.orbekk.com/linoquotes-gamma.git</a>. -<p>The quotes on this page are copyright their respective owners and submitters.</p> -</center> - - </body> -</html> - - +{{~> base~}} |