Mercurial > prosody-modules
annotate mod_muc_log_http/muc_log_http/themes/default/doc.html @ 115:5e657a305c88
mod_muc_log_http: Replace remaining <font> tags with CSS equivalents
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 04 Jan 2010 14:20:48 +0000 |
parents | cef943f0a551 |
children | f29be6c49501 |
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;} |
115
5e657a305c88
mod_muc_log_http: Replace remaining <font> tags with CSS equivalents
Matthew Wild <mwild1@gmail.com>
parents:
105
diff
changeset
|
29 .month_title {font: 10pt Verdana;} |
5e657a305c88
mod_muc_log_http: Replace remaining <font> tags with CSS equivalents
Matthew Wild <mwild1@gmail.com>
parents:
105
diff
changeset
|
30 .year_title {font: bold 16px Verdana;} |
105
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
31 //--> |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
32 </style> |
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 ###BODY_STUFF### |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
35 </body> |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
36 <script><!-- |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
37 window.captureEvents(Event.RESIZE | Event.LOAD); |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
38 window.onresize = resize; |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
39 window.onload = load; |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
40 function load(e) { |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
41 resize(e); |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
42 } |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
43 |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
44 function resize(e) { |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
45 var ele = document.getElementById("main"); |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
46 ele.style.height = window.innerHeight - ele.offsetTop - 25; |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
47 |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
48 var yearDivs = document.getElemetsByName("yearDiv"); |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
49 if(yearDivs) { |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
50 for each (var year in yearDivs) { |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
51 year.style.width = window.innerWidth - year.style.padding; |
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 } |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
55 |
cef943f0a551
mod_muc_log_http: themified ...
Thilo Cestonaro <thilo@cestona.ro>
parents:
diff
changeset
|
56 --></script> |
115
5e657a305c88
mod_muc_log_http: Replace remaining <font> tags with CSS equivalents
Matthew Wild <mwild1@gmail.com>
parents:
105
diff
changeset
|
57 </html> |