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

Revision 2511, 1.7 KB checked in by alexandrecorreia, 14 years ago (diff)

Ticket #986 - Implementado o status de mensagem e a busca da foto no ldap.

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: 90px;">
13                        <div id="{$idUser}__photo" style="margin:0px; width:60px; height:80px; background-image:url('{$path_jabberit}/templates/default/images/photo.png');"/>
14                        <div style="position: absolute; margin-top: -19px; margin-left: 75px; cursor: pointer;" onclick="loadIM.setPresence(this);">
15                                <div id="statusJabberImg" style="background-image: url('{$path_jabberit}/templates/default/images/available.gif'); margin-left: 13px;width:15px; height:15px;"></div>
16                                <div id="statusJabberText" style="margin-top: -13px; margin-left: 30px;"> Disponível </div>
17                                <div style="background-image: url('{$path_jabberit}/templates/default/images/arrow_down.gif'); margin-top: -8px; margin-left: 0px; width:15px; height:15px;"/>
18                        </div>
19                       
20                        <div style="position: absolute; margin-top: -50px; margin-left: 75px;">
21                                <button style="width:35px;" alt="Adicionar Contatos" title="Adicionar Contatos" onclick="loadIM.addContact();">
22                                        <img src="{$path_jabberit}/templates/default/images/users.png"/>
23                                </button>
24                        </div> 
25                        <div style="positon: absolute; margin-top: -75px; margin-left: 75px;"> <xsl:value-of select="$full_name"/> </div>
26                </fieldset>
27                               
28                <div id="JabberIMRoster" style="margin-top:3px;overflow-y: auto; height: 267px; z-index:{$zIndex_};"></div>
29                 
30        </xsl:template>
31       
32</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.