[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13136]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [13136] |
Date: |
Mon, 04 May 2015 22:01:19 +0000 |
Revision: 13136
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13136
Author: nelson224
Date: 2015-05-04 22:01:18 +0000 (Mon, 04 May 2015)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/property/templates/base/invoice_reporting.xsl
Modified: branches/dev-syncromind/property/templates/base/invoice_reporting.xsl
===================================================================
--- branches/dev-syncromind/property/templates/base/invoice_reporting.xsl
2015-05-04 18:12:35 UTC (rev 13135)
+++ branches/dev-syncromind/property/templates/base/invoice_reporting.xsl
2015-05-04 22:01:18 UTC (rev 13136)
@@ -1,72 +1,54 @@
<!-- $Id$ -->
<!-- add / edit -->
- <xsl:template xmlns:php="http://php.net/xsl" match="reporting">
+ <xsl:template xmlns:php="http://php.net/xsl" match="data">
+ <xsl:choose>
+ <xsl:when test="msgbox_data != ''">
+ <dl>
+ <dt>
+ <xsl:call-template
name="msgbox"/>
+ </dt>
+ </dl>
+ </xsl:when>
+ </xsl:choose>
<xsl:variable name="lang_download">
<xsl:value-of select="php:function('lang',
'download')"/>
</xsl:variable>
<xsl:variable name="form_action">
<xsl:value-of select="form_action"/>
</xsl:variable>
- <form method="post" action="{$form_action}">
- <div class="yui-navset yui-navset-top"
id="reporting_tabview">
+ <form method="post" id="form" name="form"
action="{$form_action}" class= "pure-form">
+ <input type="hidden" name="tab" value=""/>
+ <div id="tab-content">
<xsl:value-of disable-output-escaping="yes"
select="tabs"/>
- <xsl:choose>
- <xsl:when test="msgbox_data != ''">
- <table cellpadding="2"
cellspacing="2" width="90%" align="center">
- <tr>
- <td
align="left">
-
<xsl:call-template name="msgbox"/>
- </td>
- </tr>
- </table>
- </xsl:when>
- </xsl:choose>
- <div class="yui-content">
- <div id="deposition">
- <table cellpadding="2"
cellspacing="2" width="90%" align="center">
- <tr>
- <td>
+ <div id="deposition">
+ <div class="pure-control-group">
+ <label class="pure-checkbox">
+ <xsl:value-of
select="php:function('lang', 'deposition')"/>
+ <input type="checkbox"
name="values[deposition]" value="True">
+ <xsl:attribute
name="title">
<xsl:value-of select="php:function('lang', 'deposition')"/>
-
<xsl:text> </xsl:text>
- <input
type="checkbox" name="values[deposition]" value="True">
-
<xsl:attribute name="title">
-
<xsl:value-of select="php:function('lang', 'deposition')"/>
-
</xsl:attribute>
- </input>
- </td>
- </tr>
- <tr height="50">
- <td
valign="bottom">
- <input
type="submit" name="values[export_deposition]" value="{$lang_download}">
-
<xsl:attribute name="title">
-
<xsl:value-of select="php:function('lang', 'save')"/>
-
</xsl:attribute>
- </input>
- </td>
- </tr>
- </table>
+ </xsl:attribute>
+ </input>
+ </label>
</div>
- <div id="reconciliation">
- <table cellpadding="2"
cellspacing="2" width="90%" align="center">
- <tr>
- <td
valign="top">
-
<xsl:value-of select="php:function('lang', 'periods')"/>
- <p
style="height: 150px; overflow: auto; border: 5px solid #eee; background: #eee;
color: #000; margin-bottom: 1.5em;">
-
<xsl:apply-templates select="accounting_periods/options"/>
- </p>
- </td>
- </tr>
- <tr height="50">
- <td
valign="bottom">
- <input
type="submit" name="values[export_reconciliation]" value="{$lang_download}">
-
<xsl:attribute name="title">
-
<xsl:value-of select="php:function('lang', 'save')"/>
-
</xsl:attribute>
- </input>
- </td>
- </tr>
- </table>
+ <input type="submit" class="pure-button
pure-button-primary" name="values[export_deposition]" value="{$lang_download}">
+ <xsl:attribute name="title">
+ <xsl:value-of
select="php:function('lang', 'save')"/>
+ </xsl:attribute>
+ </input>
+ </div>
+ <div id="reconciliation">
+ <div class="pure-control-group">
+ <xsl:value-of
select="php:function('lang', 'periods')"/>
</div>
+ <div class="pure-control-group">
+ <xsl:apply-templates
select="accounting_periods/options"/>
+ </div>
+ <input type="submit" class="pure-button
pure-button-primary" name="values[export_reconciliation]"
value="{$lang_download}">
+ <xsl:attribute name="title">
+ <xsl:value-of
select="php:function('lang', 'save')"/>
+ </xsl:attribute>
+ </input>
</div>
</div>
</form>
@@ -74,9 +56,8 @@
<!-- New template-->
<xsl:template match="options">
- <label>
+ <label class="pure-checkbox">
<input type="checkbox" name="values[periods][]"
value="{id}"/>
<xsl:value-of disable-output-escaping="yes"
select="name"/>
</label>
- <br/>
</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13136],
Nelson Guerra <=