fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12372] add tab


From: Nelson Guerra
Subject: [Fmsystem-commits] [12372] add tab
Date: Tue, 25 Nov 2014 23:17:26 +0000

Revision: 12372
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12372
Author:   nelson224
Date:     2014-11-25 23:17:25 +0000 (Tue, 25 Nov 2014)
Log Message:
-----------
add tab

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

Modified: branches/dev-syncromind/property/templates/base/generic.xsl
===================================================================
--- branches/dev-syncromind/property/templates/base/generic.xsl 2014-11-25 
23:17:04 UTC (rev 12371)
+++ branches/dev-syncromind/property/templates/base/generic.xsl 2014-11-25 
23:17:25 UTC (rev 12372)
@@ -28,7 +28,7 @@
                        <xsl:value-of select="lookup_functions"/>
                </script>
 
-               <div id="general_edit_tabview">
+               <div id="generic_edit_tabview">
                        
                        <xsl:variable name="form_action">
                                <xsl:value-of select="form_action"/>
@@ -36,7 +36,7 @@
                        
                        <xsl:value-of select="validator"/>
        
-                       <form method="post" action="{$form_action}" 
class="pure-form-aligned">
+                       <form id="form" name="form" method="post" 
action="{$form_action}" class="pure-form pure-form-aligned">
                                <dl>
                                        <xsl:choose>
                                                <xsl:when test="msgbox_data != 
''">
@@ -47,9 +47,9 @@
                                        </xsl:choose>
                                </dl>
                        
-                               <div>
-                                       
-                                       <div id="general" class="content-wrp">
+                               <div id="tab-content">
+                                       <xsl:value-of 
disable-output-escaping="yes" select="tabs"/>
+                                       <div id="generic">
                                                <fieldset>
                                                        <xsl:choose>
                                                                <xsl:when 
test="id_type != 'auto'">
@@ -186,25 +186,24 @@
                                                        <xsl:call-template 
name="attributes_values"/>
                                                </fieldset>
                                        </div>
-                                       
-                                       <div class="form-buttons">
-                                               <input type="submit" 
name="values[save]" value="{lang_save}" onMouseout="window.status='';return 
true;">
-                                                       <xsl:attribute 
name="title">
-                                                               <xsl:value-of 
select="php:function('lang', 'Save the record and return to the list')"/>
-                                                       </xsl:attribute>
-                                               </input>
-                                               <input type="submit" 
name="values[apply]" value="{lang_apply}" onMouseout="window.status='';return 
true;">
-                                                       <xsl:attribute 
name="title">
-                                                               <xsl:value-of 
select="php:function('lang', 'Apply the values')"/>
-                                                       </xsl:attribute>
-                                               </input>
-                                               <input type="button" 
name="values[cancel]" value="{lang_cancel}" onMouseout="window.status='';return 
true;" onClick="document.cancel_form.submit();">
-                                                       <xsl:attribute 
name="title">
-                                                               <xsl:value-of 
select="php:function('lang', 'Leave the record untouched and return to the 
list')"/>
-                                                       </xsl:attribute>
-                                               </input>
-                                       </div>
                                </div>
+                               <div class="proplist-col">
+                                       <input type="submit" class="pure-button 
pure-button-primary" name="values[save]" value="{lang_save}" 
onMouseout="window.status='';return true;">
+                                               <xsl:attribute name="title">
+                                                       <xsl:value-of 
select="php:function('lang', 'Save the record and return to the list')"/>
+                                               </xsl:attribute>
+                                       </input>
+                                       <input type="submit" class="pure-button 
pure-button-primary" name="values[apply]" value="{lang_apply}" 
onMouseout="window.status='';return true;">
+                                               <xsl:attribute name="title">
+                                                       <xsl:value-of 
select="php:function('lang', 'Apply the values')"/>
+                                               </xsl:attribute> 
+                                       </input>
+                                       <input type="button" class="pure-button 
pure-button-primary" name="values[cancel]" value="{lang_cancel}" 
onMouseout="window.status='';return true;" 
onClick="document.cancel_form.submit();">
+                                               <xsl:attribute name="title">
+                                                       <xsl:value-of 
select="php:function('lang', 'Leave the record untouched and return to the 
list')"/>
+                                               </xsl:attribute>
+                                       </input>
+                               </div>
                        </form>
                        <xsl:variable name="cancel_url">
                                <xsl:value-of select="cancel_url"/>




reply via email to

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