Mercurial > prosody-modules
comparison mod_muc_log_http/muc_log_http/themes/default/doc.html @ 105:cef943f0a551
mod_muc_log_http: themified ...
author | Thilo Cestonaro <thilo@cestona.ro> |
---|---|
date | Tue, 08 Dec 2009 21:12:40 +0100 |
parents | |
children | 5e657a305c88 |
comparison
equal
deleted
inserted
replaced
104:dc0fe152cadc | 105:cef943f0a551 |
---|---|
1 <html> | |
2 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" > | |
3 <head> | |
4 <title>muc_log</title> | |
5 </head> | |
6 <script type="text/javascript"><!-- | |
7 function showHide(name) { | |
8 var eles = document.getElementsByName(name); | |
9 for (var i = 0; i < eles.length; i++) { | |
10 eles[i].style.display = eles[i].style.display != "none" ? "none" : ""; | |
11 } | |
12 } | |
13 --></script> | |
14 <style type="text/css"> | |
15 <!-- | |
16 .day { font: 12px Verdana; height: 17px; } | |
17 .weekday { font: 10px Verdana; height: 17px; color: #FFFFFF; background-color: #000000; } | |
18 .timestuff {color: #AAAAAA; text-decoration: none;} | |
19 .muc_join {color: #009900; font-style: italic;} | |
20 .muc_leave {color: #009900; font-style: italic;} | |
21 .muc_statusChange {color: #009900; font-style: italic;} | |
22 .muc_title {color: #BBBBBB; font-size: 32px;} | |
23 .muc_titleChange {color: #009900; font-style: italic;} | |
24 .muc_kick {color: #009900; font-style: italic;} | |
25 .muc_bann {color: #009900; font-style: italic;} | |
26 .muc_msg_nick {color: #0000AA;} | |
27 .muc_msg_me {color: #0000AA;} | |
28 .join_link {font-height: 9px;} | |
29 //--> | |
30 </style> | |
31 <body> | |
32 ###BODY_STUFF### | |
33 </body> | |
34 <script><!-- | |
35 window.captureEvents(Event.RESIZE | Event.LOAD); | |
36 window.onresize = resize; | |
37 window.onload = load; | |
38 function load(e) { | |
39 resize(e); | |
40 } | |
41 | |
42 function resize(e) { | |
43 var ele = document.getElementById("main"); | |
44 ele.style.height = window.innerHeight - ele.offsetTop - 25; | |
45 | |
46 var yearDivs = document.getElemetsByName("yearDiv"); | |
47 if(yearDivs) { | |
48 for each (var year in yearDivs) { | |
49 year.style.width = window.innerWidth - year.style.padding; | |
50 } | |
51 } | |
52 } | |
53 | |
54 --></script> | |
55 </html> |