Comparison

mod_http_index/html/http_index.html @ 5995:28b386fc7a05

mod_http_index: Add metadata to enable installation with plugin installer
author Kim Alvefur <zash@zash.se>
date Tue, 08 Oct 2024 22:17:01 +0200
parent 4199:mod_http_index/http_index.html@7c632d7b1f52
comparison
equal deleted inserted replaced
5994:1bb8b559f441 5995:28b386fc7a05
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 :link,:visited{color:#3465a4;text-decoration:none;}
11 :link:hover,:visited:hover{color:#6197df;}
12 body{background-color:#eeeeec;margin:1ex 0;padding-bottom:3em;font-family:Arial,Helvetica,sans-serif;}
13 ul,ol{padding:0;}
14 li{list-style:none;}
15 hr{visibility:hidden;clear:both;}
16 br{clear:both;}
17 header,footer{margin:1ex 1em;}
18 footer{font-size:smaller;color:#babdb6;}
19 nav{font-size:large;margin:1ex 1ex;clear:both;line-height:1.5em;}
20 footer nav .up{display:none;}
21 @media screen and (min-width: 460px) {
22 nav {font-size:x-large;margin:1ex 1em;}
23 }
24 nav a{padding:1ex}
25 nav li,nav dt{margin:1ex}
26 .content{background-color:white;padding:1em;list-style-position:inside;}
27 @media (prefers-color-scheme: dark) {
28 html{color:#eee}
29 body{background-color:#161616}
30 .content{background-color:#1c1c1c}
31 footer{color:#444}
32 }
33 </style>
34 </head>
35 <body>
36 <header>
37 <h1>Prosody IM</h1>
38 <h2>HTTP Services</h2>
39 </header>
40 <hr>
41 <div class="content">
42 <nav>
43 <ul>{items#
44 <li><a href="{item.url}" title="{item.module}">{item.title?{item.name}}</a></li>}
45 </ul>
46 </nav>
47 </div>
48 <hr>
49 <footer>
50 <br>
51 <div class="powered-by">Prosody {prosody_version?}</div>
52 </footer>
53 </body>
54 </html>