summaryrefslogtreecommitdiff
path: root/src/data/templates/approve.hbs
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2017-07-12 12:24:04 -0400
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2017-07-12 12:24:04 -0400
commit86245ba9e4341a096727158e06290fb8075654ce (patch)
treef190ad3c8e507a3131784468113f157be4a2b4e6 /src/data/templates/approve.hbs
parentf177dcb7b98300634fdef408150a83e9f476d66d (diff)
refactor: Eliminate template duplication
Diffstat (limited to 'src/data/templates/approve.hbs')
-rw-r--r--src/data/templates/approve.hbs68
1 files changed, 6 insertions, 62 deletions
diff --git a/src/data/templates/approve.hbs b/src/data/templates/approve.hbs
index 195bb0d..70b8225 100644
--- a/src/data/templates/approve.hbs
+++ b/src/data/templates/approve.hbs
@@ -1,53 +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>
- </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"}}
+ Godkjenning
+{{/inline}}
+{{#*inline "page"}}
{{#each quotes}}
<br>
@@ -61,17 +16,6 @@ Dato: {{date}},
<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~}}