source: sandbox/jabberit_messenger/trophy_expresso/xsl/chatBox.xsl @ 2824

Revision 2824, 1.5 KB checked in by emmanuel.ferro, 14 years ago (diff)

Ticket #986 - [SERPRO] XEP-85 chat state messages - otimizacao

  • Property svn:executable set to *
RevLine 
[2397]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"/>
[2787]4
5        <xsl:param name="enabledPopUp" />       
[2397]6        <xsl:param name="idChatBox" />
7        <xsl:param name="jidTo" />
8        <xsl:param name="path_jabberit" />
9
10        <xsl:template match="chat_box">
[2721]11       
[2397]12                        <div>
13                                <div id="{$idChatBox}" style="height:190px; width:370px; overflow-y:scroll;"></div>
[2725]14                                <div id="{$jidTo}__chatState" style="height:15px; width:365px;"></div>
[2397]15                                <div style="margin:2px;">
[2626]16                                        <textarea id="{$jidTo}__sendBox" class="trophyimchatinput" style="padding-left: 78px; height:130px; width:360px;"></textarea>
[2697]17                                        <div style="position:relative;margin:-126px 0 0 10px; border-right:1px dotted #000 !important; width:67px; height:120px;">
[2690]18                                                <div id="{$jidTo}__photo" style="width:60px ;height:80px ;background-image:url('{$path_jabberit}templates/default/images/photo.png');" />
19                                                <div style="margin: 7px 5px 5px 10px;">
[2787]20                                                        <input type="button" value="Send"/>
[2690]21                                                </div>
[2787]22                                                <div id="{$jidTo}__popUp" onclick="loadscript.windowPOPUP('{$jidTo}', true );" style="display:{$enabledPopUp}; cursor:pointer;padding-left:16px; font-size:10px ;height:14px; width:50px; background:url('{$path_jabberit}templates/default/images/icon_up.png') no-repeat;">
23                                                        PopUp
24                                                </div>
[2397]25                                        </div>
26                                </div>
[2824]27                                <input id="{$jidTo}__chatStateOnOff" type="hidden" name="chatStateOnOff" value="off"/>
[2397]28                        </div>                 
29                 
30        </xsl:template>
31       
32</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.