comparison mod_http_muc_log/http_muc_log.html @ 1606:2c8b985ebde5

mod_http_muc_log: Switch to a calendar view for selecting dates
author Kim Alvefur <zash@zash.se>
date Tue, 10 Feb 2015 15:00:10 +0100
parents 0da51b825263
children 738e9874a374
comparison
equal deleted inserted replaced
1605:c8a51d1bc96d 1606:2c8b985ebde5
24 nav .prev{float:left;} 24 nav .prev{float:left;}
25 nav .next{float:right;} 25 nav .next{float:right;}
26 nav .next::after{content:" →";} 26 nav .next::after{content:" →";}
27 nav .prev::before{content:"← ";} 27 nav .prev::before{content:"← ";}
28 nav :empty::after,nav :empty::before{content:""} 28 nav :empty::after,nav :empty::before{content:""}
29 table{display:inline-block; margin:1ex 1em;}
30 th{font-size:x-small}
31 td{text-align:right;color:#bababa;padding:.5ex}
32 td a{padding:0}
29 .content{background-color:white;padding:1em;list-style-position:inside;} 33 .content{background-color:white;padding:1em;list-style-position:inside;}
30 .time{float:right;font-size:small;opacity:0.2;} 34 .time{float:right;font-size:small;opacity:0.2;}
31 li:hover .time{opacity:1;} 35 li:hover .time{opacity:1;}
32 .description{font-size:smaller;} 36 .description{font-size:smaller;}
33 .body{white-space:pre-line;} 37 .body{white-space:pre-line;}
49 <dl class="room-list"> 53 <dl class="room-list">
50 {rooms# 54 {rooms#
51 <dt class="name"><a href="{href}">{name}</a></dt> 55 <dt class="name"><a href="{href}">{name}</a></dt>
52 <dd class="description">{description?}</dd>} 56 <dd class="description">{description?}</dd>}
53 </dl> 57 </dl>
54 <ul class="dates">{dates# 58 {years#
55 <li><a href="{date}">{date}</a></li>} 59 <h2 id="{year}">{year}</h2>
56 </ul> 60 {months#
61 <table id="{month}-{year}">
62 <caption>{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#
64 <tr>{days#<td>{plain?}{links#<a href="{href}">{day}</a>}</td>}</tr>}
65 </table>
66 }
67 }
57 </nav> 68 </nav>
58 <ol class="chat-logs">{lines# 69 <ol class="chat-logs">{lines#
59 <li class="{st_name} {st_type?}" id="{key}"> 70 <li class="{st_name} {st_type?}" id="{key}">
60 <a class="time" href="#{key}"><time datetime="{datetime}">{time}</time></a> 71 <a class="time" href="#{key}"><time datetime="{datetime}">{time}</time></a>
61 <b class="nick">{nick}</b> 72 <b class="nick">{nick}</b>