source: trunk/jmessenger/xsl/contactsList.xsl @ 2966

Revision 2966, 2.9 KB checked in by alexandrecorreia, 14 years ago (diff)

Ticket #1116 - Melhorar a visualizacao/avisos de novos contatos e pedidos de autorizacao no modulo.

  • Property svn:executable set to *
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3        <xsl:output method="html" omit-xml-declaration="yes"/>
4       
5        <xsl:param name="idUser"/>
6        <xsl:param name="full_name" />
7        <xsl:param name="path_jabberit" />
8        <xsl:param name="zIndex_" />
9       
10        <xsl:template match="contacts_list">
11               
12                <fieldset style="margin:2px; border:1px dotted #000000; height: 103px;">
13                        <div id="{$idUser}__photo" style="position: absolute; left: 5px; top: 5px; width:60px; height:80px; background-image:url('{$path_jabberit}/templates/default/images/photo.png');"/>
14
15                        <div style="position: absolute; left: 80px; top: 8px;"> <xsl:value-of select="$full_name"/> </div>
16
17                        <div style="position: absolute; top: 25px; left: 80px;">
18                                <button style="width:35px;" alt="Adicionar Contatos" title="Adicionar Contatos" onclick="loadscript.addContact();">
19                                        <img src="{$path_jabberit}/templates/default/images/users.png"/>
20                                </button>
21                               
22                                <img style="height:15px; margin-left:10px;cursor:pointer;" alt="Minhas Preferências" title="Minhas Preferências" src="{$path_jabberit}/templates/default/images/preferences.png" onclick="loadscript.preferences();"/>
23                               
24                                <img style="height:16px; margin-left:10px;cursor:pointer;" alt="Help" title="Help" src="{$path_jabberit}/templates/default/images/help.png" onclick="alert('2');" />
25                       
26                        </div>
27                       
28                        <div id="notification_new_users_jabber" style="display:none; position:absolute; top: 25px; left: 165px;">
29                                <img style="margin-left:15px;cursor:pointer;" alt="Novos Contatos" title="Novos Contatos" src="{$path_jabberit}/templates/default/images/alert_2.png" onclick="loadscript.windowNotificationNewUsers();" />
30                        </div>
31
32                        <div style="position: absolute; left: 80px; top: 53px; cursor: pointer;" onclick="loadscript.setPresence(this);">
33                                <div id="statusJabberImg" style="background: url('{$path_jabberit}/templates/default/images/available.gif'); margin-left: 13px;width:15px; height:15px;"></div>
34                                <div id="statusJabberText" style="margin-top: -13px; margin-left: 30px;"> Disponível </div>
35                                <div style="background-image: url('{$path_jabberit}/templates/default/images/arrow_down.gif'); margin-top: -13px; margin-left: 0px; width:15px; height:15px;"/>
36                        </div>
37                       
38                        <div id="JabberIMRosterLoadingGif" style="position:absolute; left:136px; top:118px; display:block;">
39                                        <img src='{$path_jabberit}/templates/default/images/loading.gif' style="width:20px; height:20px;"/>
40                                        <span style="color:red;"> Carregando...!!</span>
41                        </div>
42                       
43                        <div id="JabberIMStatusMessage" style="position:absolute; left:5px; top:90px; display:block; font:7pt !important;">
44                                <label style="cursor:pointer;" onclick="loadscript.setMessageStatus(this);">( Digite aqui sua mensagem de Status )</label>
45                        </div>
46
47                </fieldset>
48                               
49                <div id="JabberIMRoster" style="margin-top:2px; overflow-y:auto; height: 255px; z-index:{$zIndex_};"></div>
50                 
51        </xsl:template>
52       
53</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.