source: sandbox/jabberit_messenger/trophy_expresso/xsl/contactsList.xsl @ 2706

Revision 2706, 2.3 KB checked in by alexandrecorreia, 14 years ago (diff)

Ticket #986 - Implementado a parte de preferencias para mostrar ou não contatos offline.

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: 74pt;">
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: 10px;"> <xsl:value-of select="$full_name"/> </div>
16
17                        <div style="position: absolute; top: 30px; 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                        </div>
26
27                        <div style="position: absolute; left: 80px; top: 55px; cursor: pointer;" onclick="loadscript.setPresence(this);">
28                                <div id="statusJabberImg" style="background: url('{$path_jabberit}/templates/default/images/available.gif'); margin-left: 13px;width:15px; height:15px;"></div>
29                                <div id="statusJabberText" style="margin-top: -13px; margin-left: 30px;"> Disponível </div>
30                                <div style="background-image: url('{$path_jabberit}/templates/default/images/arrow_down.gif'); margin-top: -13px; margin-left: 0px; width:15px; height:15px;"/>
31                        </div>
32                       
33                        <div id="JabberIMRosterLoadingGif" style="position:absolute; left:85px; top:72px; display:block;">
34                                        <img src='{$path_jabberit}/templates/default/images/loading.gif' style="width:20px; height:20px;"/>
35                                        <span style="color:red;">Carregando...</span>
36                        </div>
37
38                </fieldset>
39                               
40                <div id="JabberIMRoster" style="margin-top:3px;overflow-y: auto; height: 262px; z-index:{$zIndex_};">
41                </div>
42                 
43        </xsl:template>
44       
45</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.