annotate mod_http_index/http_index.html @ 3031:040eaa3844f4

mod_pastebin: Check line length via preconstructed pattern instead of gsub Optimization on the theory that this check scales with the configuration option instead of with the size of the user-supplied message
author Kim Alvefur <zash@zash.se>
date Sun, 20 May 2018 17:55:53 +0200
parents 1dd1e5a1c707
children 04fe2b41da91
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1827
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 <!DOCTYPE html>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 <html>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 <head>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 <meta charset="utf-8">
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 <meta name="viewport" content="width=device-width, initial-scale=1">
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 <meta name="generator" value="prosody/{prosody_version} mod_{mod_name}">
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 <link rel="canonical" href="{canonical}">
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 <title>{title}</title>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 <style>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10 body{background-color:#eeeeec;margin:1ex 0;padding-bottom:3em;font-family:Arial,Helvetica,sans-serif;}
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
11 header,footer{margin:1ex 1em;}
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
12 footer{font-size:smaller;color:#babdb6;}
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
13 .content{background-color:white;padding:1em;list-style-position:inside;}
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14 nav{font-size:large;margin:1ex 1ex;clear:both;line-height:1.5em;}
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
15 nav a{padding: 1ex;text-decoration:none;}
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
16 @media screen and (min-width: 460px) {
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17 nav{font-size:x-large;margin:1ex 1em;}
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
18 }
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19 a:link,a:visited{color:#2e3436;text-decoration:none;}
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20 a:link:hover,a:visited:hover{color:#3465a4;}
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
21 ul{padding:0;}
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
22 li{list-style:none;}
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
23 hr{visibility:hidden;clear:both;}
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
24 br{clear:both;}
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
25 </style>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
26 </head>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
27 <body>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
28 <header>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
29 <h1>HTTP Apps</h1>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
30 </header>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
31 <hr>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
32 <div class="content">
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
33 <nav>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
34 <ul>{items#
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
35 <li><a href="{item.url}" title="{item.module}">{item.name}</a></li>}
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
36 </ul>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
37 </nav>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
38 </div>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
39 <hr>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
40 <footer>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
41 <br>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
42 <div class="powered-by">Prosody {prosody_version?}</div>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
43 </footer>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
44 </body>
9376e870f0e1 mod_http_index: Move template out into a file and make it configurable
Kim Alvefur <zash@zash.se>
parents:
diff changeset
45 </html>