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