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

Revision 2670, 1.9 KB checked in by alexandrecorreia, 14 years ago (diff)

Ticket #986 - Correcao para compatibilizar o carregamento do script para o trunk.

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