fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [16528]


From: nelson . guerra
Subject: [Fmsystem-commits] [16528]
Date: Tue, 4 Apr 2017 00:15:36 -0400 (EDT)

Revision: 16528
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16528
Author:   nelson224
Date:     2017-04-04 00:15:35 -0400 (Tue, 04 Apr 2017)
Log Message:
-----------


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

Modified: branches/dev-syncromind-2/property/templates/base/report.xsl
===================================================================
--- branches/dev-syncromind-2/property/templates/base/report.xsl        
2017-04-04 04:15:23 UTC (rev 16527)
+++ branches/dev-syncromind-2/property/templates/base/report.xsl        
2017-04-04 04:15:35 UTC (rev 16528)
@@ -4,6 +4,9 @@
                <xsl:when test="edit">
                        <xsl:apply-templates select="edit"/>
                </xsl:when>
+               <xsl:when test="edit_view">
+                       <xsl:apply-templates select="edit_dataset"/>
+               </xsl:when>
                <xsl:otherwise>
                        <xsl:apply-templates select="lists"/>
                </xsl:otherwise>
@@ -134,6 +137,57 @@
        </div>
 </xsl:template>
 
+<xsl:template match="edit_dataset">
+
+       <div id="document_edit_tabview">
+               <xsl:value-of select="validator"/>
+               
+               <xsl:variable name="form_action">
+                       <xsl:value-of select="form_action"/>
+               </xsl:variable>         
+               <form name="form" class="pure-form pure-form-aligned" id="form" 
action="{$form_action}" method="post">  
+                       <div id="tab-content">
+                               <xsl:value-of disable-output-escaping="yes" 
select="tabs"/>                                             
+                               <div id="report">
+                                       <input type="hidden" name="dataset_id" 
value="{dataset_id}"/>
+                                       <div class="pure-control-group">
+                                               <label>
+                                                       <xsl:value-of 
select="php:function('lang', 'view')" />
+                                               </label>
+                                               <select id="view" name="view">
+                                                       <xsl:apply-templates 
select="views/options"/>
+                                               </select>
+                                       </div>
+                                       <div class="pure-control-group">
+                                               <label>
+                                                       <xsl:value-of 
select="php:function('lang', 'dataset name')" />
+                                               </label>
+                                               <input type="text" 
id="dataset_name" name="dataset_name" value="{dataset_name}"></input>
+                                       </div>                          
+                               </div>
+                       </div>
+                       <div class="proplist-col">
+                               <input type="submit" class="pure-button 
pure-button-primary" name="save" id="btn_save">
+                                       <xsl:attribute name="value">
+                                               <xsl:value-of 
select="php:function('lang', 'save')" />
+                                       </xsl:attribute>                        
                        
+                                       <xsl:attribute name="title">
+                                               <xsl:value-of 
select="lang_save_statustext"/>
+                                       </xsl:attribute>
+                               </input>
+                               <xsl:variable name="cancel_action">
+                                       <xsl:value-of select="cancel_action"/>
+                               </xsl:variable>
+                               <input type="button" class="pure-button 
pure-button-primary" name="cancel" onclick="location.href='{$cancel_action}'">
+                                       <xsl:attribute name="value">
+                                               <xsl:value-of 
select="php:function('lang', 'cancel')" />
+                                       </xsl:attribute>
+                               </input>
+                       </div>  
+               </form>
+       </div>
+</xsl:template>
+
 <xsl:template match="options">
        <option value="{id}">
                <xsl:if test="selected = 'selected' or selected = 1">




reply via email to

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