fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [13213]


From: Nelson Guerra
Subject: [Fmsystem-commits] [13213]
Date: Fri, 15 May 2015 21:52:31 +0000

Revision: 13213
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13213
Author:   nelson224
Date:     2015-05-15 21:52:29 +0000 (Fri, 15 May 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/templates/base/wo_hour.xsl

Modified: branches/dev-syncromind/property/templates/base/wo_hour.xsl
===================================================================
--- branches/dev-syncromind/property/templates/base/wo_hour.xsl 2015-05-15 
19:56:40 UTC (rev 13212)
+++ branches/dev-syncromind/property/templates/base/wo_hour.xsl 2015-05-15 
21:52:29 UTC (rev 13213)
@@ -2445,37 +2445,28 @@
        
        <xsl:template match="import_calculation" xmlns:php="http://php.net/xsl";>
        <h2>
-               <xsl:value-of select="php:function('lang', 'upload file')"/>
+               <xsl:value-of select="php:function('lang', 'import 
calculation')"/>
        </h2>
-       <form action="{form_action}" name="import_calculation_form" 
id="split_voucher_form" method="post" ENCTYPE="multipart/form-data">
-               <br/>
-               <br/>
-               <input type="hidden" name="workorder_id" id="workorder_id" 
value="{workorder_id}"/>
-
-               <table align = "center" valign = "center" width="95%">
-                               <xsl:choose>
-                                       <xsl:when test="msgbox_data != ''">
-                                               <tr>
-                                                       <td align="left" 
colspan="2">
-                                                               
<xsl:call-template name="msgbox"/>
-                                                       </td>
-                                               </tr>
-                                       </xsl:when>
-                               </xsl:choose>
-
-                       <tr>
-                               <td>
+       <xsl:choose>
+               <xsl:when test="msgbox_data != ''">
+                       <dl>
+                               <dt>
+                                       <xsl:call-template name="msgbox"/>
+                               </dt>
+                       </dl>
+               </xsl:when>
+       </xsl:choose>
+       <form action="{form_action}" name="import_calculation_form" 
id="split_voucher_form" method="post" ENCTYPE="multipart/form-data" 
class="pure-form pure-form-aligned">
+               <div id="tab-content">
+                       <xsl:value-of disable-output-escaping="yes" 
select="tabs"/>
+                       <div id="upload_file">
+                               <input type="hidden" name="workorder_id" 
id="workorder_id" value="{workorder_id}"/>
+                               <div class="pure-control-group">
                                        <input type="file" id="file" 
name="file" size="40">
                                                <xsl:attribute name="title">
                                                        <xsl:value-of 
select="php:function('lang', 'Select file to upload')"/>
                                                </xsl:attribute>
                                        </input>
-                                       <!--
-                                       <xsl:variable 
name="lang_template"><xsl:value-of select="php:function('lang', 'template')" 
/></xsl:variable>
-                                       <input type="button" id = 
"get_template" name="get_template" value="{$lang_template}" title = 
"{$lang_template}" />
-                                       -->
-                               </td>
-                               <td >
                                        <xsl:variable name="lang_submit">
                                                <xsl:value-of 
select="php:function('lang', 'upload file')"/>
                                        </xsl:variable>
@@ -2484,9 +2475,18 @@
                                                        <xsl:value-of 
select="$lang_submit"/>
                                                </xsl:attribute>
                                        </input>
-                               </td>
-                       </tr>
-               </table>
+                               </div>
+                       </div>
+               </div>
+               <div class="proplist-col">
+                       <xsl:variable name="done_action">
+                               <xsl:value-of select="done_action"/>
+                       </xsl:variable>
+                       <xsl:variable name="lang_done">
+                               <xsl:value-of select="lang_done"/>
+                       </xsl:variable>
+                       <a class="pure-button pure-button-primary" 
href="{$done_action}"><xsl:value-of select="lang_done"/></a>
+               </div>
        </form>
 
 </xsl:template>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]