comparison mod_http_muc_log/http_muc_log.html @ 1751:3f3a5daf31cc

mod_http_muc_log: Update template for changes in template engine
author Kim Alvefur <zash@zash.se>
date Tue, 19 May 2015 16:45:51 +0200
parents c427de617ada
children 5e65c91c07c4
comparison
equal deleted inserted replaced
1750:3b839db88412 1751:3f3a5daf31cc
42 </head> 42 </head>
43 <body> 43 <body>
44 <header> 44 <header>
45 <h1 title="xmpp:{jid?}">{title}</h1> 45 <h1 title="xmpp:{jid?}">{title}</h1>
46 <nav>{links# 46 <nav>{links#
47 <a class="{rel?}" href="{href}" rel="{rel?}">{text}</a>} 47 <a class="{item.rel?}" href="{item.href}" rel="{item.rel?}">{item.text}</a>}
48 </nav> 48 </nav>
49 </header> 49 </header>
50 <hr> 50 <hr>
51 <div class="content"> 51 <div class="content">
52 <nav> 52 <nav>
53 <dl class="room-list"> 53 <dl class="room-list">
54 {rooms# 54 {rooms#
55 <dt class="name"><a href="{href}">{name}</a></dt> 55 <dt class="name"><a href="{item.href}">{item.name}</a></dt>
56 <dd class="description">{description?}</dd>} 56 <dd class="description">{item.description?}</dd>}
57 </dl> 57 </dl>
58 {years# 58 {years#
59 <h2 id="{year}">{year}</h2> 59 <h2 id="{item.year}">{item.year}</h2>
60 {months# 60 {item.months#
61 <table id="{month}-{year}"> 61 <table id="{item.month}-{item.year}">
62 <caption>{month}</caption> 62 <caption>{item.month}</caption>
63 <tr><th>Mon</th><th>Tue</th><th>Wed</th><th>Thu</th><th>Fri</th><th>Sat</th><th>Sun</th></tr>{weeks# 63 <tr><th>Mon</th><th>Tue</th><th>Wed</th><th>Thu</th><th>Fri</th><th>Sat</th><th>Sun</th></tr>{item.weeks#
64 <tr>{days#<td>{href&<a href="{href}">}{day?&nbsp;}{href&</a>}</td>}</tr>} 64 <tr>{item.days#<td>{item.href&<a href="{item.href}">}{item.day?&nbsp;}{item.href&</a>}</td>}</tr>}
65 </table> 65 </table>
66 } 66 }
67 } 67 }
68 </nav> 68 </nav>
69 <ol class="chat-logs">{lines# 69 <ol class="chat-logs">{lines#
70 <li class="{st_name} {st_type?}" id="{key}"> 70 <li class="{item.st_name} {item.st_type?}" id="{item.key}">
71 <a class="time" href="#{key}"><time datetime="{datetime}">{time}</time></a> 71 <a class="time" href="#{item.key}"><time datetime="{item.datetime}">{item.time}</time></a>
72 <b class="nick">{nick}</b> 72 <b class="nick">{item.nick}</b>
73 <em class="verb">{verb?}</em> 73 <em class="verb">{item.verb?}</em>
74 <q class="body">{body?}</q> 74 <q class="body">{item.body?}</q>
75 </li>} 75 </li>}
76 </ol> 76 </ol>
77 </div> 77 </div>
78 <hr> 78 <hr>
79 <footer> 79 <footer>
80 <nav>{links# 80 <nav>{links#
81 <a class="{rel?}" href="{href}" rel="{rel?}">{text}</a>} 81 <a class="{item.rel?}" href="{item.href}" rel="{item.rel?}">{item.text}</a>}
82 </nav> 82 </nav>
83 <br> 83 <br>
84 <div class="powered-by">Prosody</div> 84 <div class="powered-by">Prosody</div>
85 </footer> 85 </footer>
86 <script> 86 <script>