Comparison

mod_http_index/http_index.html @ 1827:9376e870f0e1

mod_http_index: Move template out into a file and make it configurable
author Kim Alvefur <zash@zash.se>
date Fri, 04 Sep 2015 00:23:46 +0200
child 2926:1dd1e5a1c707
comparison
equal deleted inserted replaced
1826:ae2235d6c3f8 1827:9376e870f0e1
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <meta name="generator" value="prosody/{prosody_version} mod_{mod_name}">
7 <link rel="canonical" href="{canonical}">
8 <title>{title}</title>
9 <style>
10 body{background-color:#eeeeec;margin:1ex 0;padding-bottom:3em;font-family:Arial,Helvetica,sans-serif;}
11 header,footer{margin:1ex 1em;}
12 footer{font-size:smaller;color:#babdb6;}
13 .content{background-color:white;padding:1em;list-style-position:inside;}
14 nav{font-size:large;margin:1ex 1ex;clear:both;line-height:1.5em;}
15 nav a{padding: 1ex;text-decoration:none;}
16 @media screen and (min-width: 460px) {
17 nav{font-size:x-large;margin:1ex 1em;}
18 }
19 a:link,a:visited{color:#2e3436;text-decoration:none;}
20 a:link:hover,a:visited:hover{color:#3465a4;}
21 ul{padding:0;}
22 li{list-style:none;}
23 hr{visibility:hidden;clear:both;}
24 br{clear:both;}
25 li:hover time{opacity:1;}
26 </style>
27 </head>
28 <body>
29 <header>
30 <h1>HTTP Apps</h1>
31 </header>
32 <hr>
33 <div class="content">
34 <nav>
35 <ul>{items#
36 <li><a href="{item.url}" title="{item.module}">{item.name}</a></li>}
37 </ul>
38 </nav>
39 </div>
40 <hr>
41 <footer>
42 <br>
43 <div class="powered-by">Prosody {prosody_version?}</div>
44 </footer>
45 </body>
46 </html>