~ubuntu-branches/ubuntu/trusty/jwchat/trusty

« back to all changes in this revision

Viewing changes to src/groupchat_modifylist_iframe.html

  • Committer: Bazaar Package Importer
  • Author(s): Lincoln de Sousa, Lincoln de Sousa, Marcelo Jorge Vieira
  • Date: 2010-09-16 11:42:28 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100916114228-5s5ne28n1w6wrfbl
Tags: 1.0+dfsg-1
[Lincoln de Sousa]

* Switch to dpkg-source 3.0 (quilt) format
* Migrating package from cdbs to debhelper 7.0.50~
* Changing the rule get-orig-source to generate a dfsg compatible
  package striping swf files from the orig (Closes: #591962)
* Updated Standards-Version to 3.9.1
* Removing po-debconf from the Build-Depends-Indep list.

[Marcelo Jorge Vieira]

* Fixing the default backend
* Fixing Debugger dependency
* Changing information about packaging from old maintainers to
  Debian XMPP Team.
* Removing sound support.
* Setting a port for apache VirtualHost.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
  <head>
 
4
    <title><l>JWChat - Modify List</l></title>
 
5
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
 
6
    <script src="switchStyle.js"></script>
 
7
                <script>
 
8
 
 
9
var ie5 = document.all&&document.getElementById;
 
10
 
 
11
function init() {
 
12
        var modTable = document.getElementById('modTable');
 
13
        
 
14
        if (parent.top.srcW.is.ie) {
 
15
                modTable.cellSpacing = 0;
 
16
                modTable.cellPadding = 0;
 
17
                modTable.border = 0;
 
18
                modTable.width = '100%';        
 
19
        }
 
20
 
 
21
        var rows = modTable.getElementsByTagName("TBODY").item(0).childNodes;
 
22
        for (var i=0; i<rows.length; i++) {
 
23
                rows[i].onmouseover = highlightRow;
 
24
                rows[i].onmouseout = unhighlightRow;
 
25
                rows[i].onclick = rowClicked;
 
26
                rows[i].title = loc("click to select user");
 
27
        }
 
28
}
 
29
function highlightRow(e) {
 
30
        var row = ie5 ? event.srcElement.parentNode : e.target.parentNode;
 
31
        row.className = 'highlighted';
 
32
}
 
33
function unhighlightRow(e) {
 
34
        var row = ie5 ? event.srcElement.parentNode : e.target.parentNode;
 
35
        if (row != selectedRow)
 
36
                row.className = '';
 
37
}
 
38
 
 
39
var selectedRow;
 
40
function rowClicked(e) {
 
41
        if (selectedRow)
 
42
                selectedRow.className = '';
 
43
        else { 
 
44
                parent.document.getElementById('delete_button').disabled = false;
 
45
        }
 
46
        selectedRow = ie5 ? event.srcElement.parentNode : e.target.parentNode;
 
47
        selectedRow.className = 'highlighted';
 
48
}
 
49
                </script>
 
50
 
 
51
                <style type="text/css">
 
52
                        body { background-color: white; }
 
53
                        th { 
 
54
                        font-size: 0.8em; 
 
55
                        border-bottom: 1px solid black;
 
56
                        padding: 2px;
 
57
                        }
 
58
                        td {
 
59
                        border-bottom: 1px solid black;
 
60
                        padding: 2px;
 
61
                        cursor: default;
 
62
                        }
 
63
                        tr.highlighted {
 
64
                        color: highlighttext;
 
65
                        background-color: highlight;
 
66
                        }
 
67
                </style>
 
68
  </head>
 
69
  <body id="modifylist">
 
70
  </body>
 
71
</html>