fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13063] uiasync.xsl


From: Saul
Subject: [Fmsystem-commits] [13063] uiasync.xsl
Date: Wed, 22 Apr 2015 22:18:38 +0000

Revision: 13063
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13063
Author:   psaul
Date:     2015-04-22 22:18:37 +0000 (Wed, 22 Apr 2015)
Log Message:
-----------
uiasync.xsl

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

Modified: branches/dev-syncromind/property/templates/base/async.xsl
===================================================================
--- branches/dev-syncromind/property/templates/base/async.xsl   2015-04-22 
22:18:19 UTC (rev 13062)
+++ branches/dev-syncromind/property/templates/base/async.xsl   2015-04-22 
22:18:37 UTC (rev 13063)
@@ -1,5 +1,5 @@
   <!-- $Id$ -->
-       <xsl:template name="app_data">
+       <xsl:template match="data">
                <xsl:choose>
                        <xsl:when test="edit">
                                <xsl:apply-templates select="edit"/>
@@ -193,120 +193,131 @@
 
        <!-- add / edit  -->
        <xsl:template match="edit">
-               <div align="left">
-                       <xsl:variable name="form_action">
-                               <xsl:value-of select="form_action"/>
-                       </xsl:variable>
-                       <form method="post" action="{$form_action}">
-                       <table cellpadding="2" cellspacing="2" width="80%" 
align="center">
-                               <xsl:choose>
-                                       <xsl:when test="msgbox_data != ''">
-                                               <tr>
-                                                       <td align="left" 
colspan="3">
-                                                               
<xsl:call-template name="msgbox"/>
-                                                       </td>
-                                               </tr>
-                                       </xsl:when>
-                               </xsl:choose>
-                                       <tr>
-                                               <td valign="top">
-                                                       <xsl:choose>
-                                                               <xsl:when 
test="value_id != ''">
-                                                                       
<xsl:value-of select="lang_id"/>
-                                                               </xsl:when>
-                                                               <xsl:otherwise>
-                                                               </xsl:otherwise>
-                                                       </xsl:choose>
-                                               </td>
-                                               <td>
-                                                       <xsl:choose>
-                                                               <xsl:when 
test="value_id != ''">
-                                                                       
<xsl:value-of select="value_id"/>
-                                                               </xsl:when>
-                                                               <xsl:otherwise>
-                                                               </xsl:otherwise>
-                                                       </xsl:choose>
-                                               </td>
-                                       </tr>
-                                       <tr>
-                                               <td valign="top">
-                                                       <xsl:value-of 
select="lang_name"/>
-                                               </td>
-                                               <td>
-                                                       <input type="text" 
size="40" name="values[name]" value="{value_name}" 
onMouseout="window.status='';return true;">
-                                                               <xsl:attribute 
name="onMouseover">
-                                                                       
<xsl:text>window.status='</xsl:text>
-                                                                       
<xsl:value-of select="lang_name_statustext"/>
-                                                                       
<xsl:text>'; return true;</xsl:text>
-                                                               </xsl:attribute>
-                                                       </input>
-                                               </td>
-                                       </tr>
-                                       <tr>
-                                               <td valign="top">
-                                                       <xsl:value-of 
select="lang_data"/>
-                                               </td>
-                                               <td>
-                                                       <input type="text" 
size="60" name="values[data]" value="{value_data}" 
onMouseout="window.status='';return true;">
-                                                               <xsl:attribute 
name="onMouseover">
-                                                                       
<xsl:text>window.status='</xsl:text>
-                                                                       
<xsl:value-of select="lang_data_statustext"/>
-                                                                       
<xsl:text>'; return true;</xsl:text>
-                                                               </xsl:attribute>
-                                                       </input>
-                                               </td>
-                                       </tr>
-                                       <tr>
-                                               <td valign="top">
-                                                       <xsl:value-of 
select="lang_descr"/>
-                                               </td>
-                                               <td>
-                                                       <textarea cols="60" 
rows="10" name="values[descr]" onMouseout="window.status='';return true;">
-                                                               <xsl:attribute 
name="onMouseover">
-                                                                       
<xsl:text>window.status='</xsl:text>
-                                                                       
<xsl:value-of select="lang_descr_statustext"/>
-                                                                       
<xsl:text>'; return true;</xsl:text>
-                                                               </xsl:attribute>
-                                                               <xsl:value-of 
select="value_descr"/>
-                                                       </textarea>
-                                               </td>
-                                       </tr>
-                                       <tr height="50">
-                                               <td>
-                                                       <xsl:variable 
name="lang_save">
-                                                               <xsl:value-of 
select="lang_save"/>
-                                                       </xsl:variable>
-                                                       <input type="submit" 
name="values[save]" value="{$lang_save}" onMouseout="window.status='';return 
true;">
-                                                               <xsl:attribute 
name="onMouseover">
-                                                                       
<xsl:text>window.status='</xsl:text>
-                                                                       
<xsl:value-of select="lang_save_statustext"/>
-                                                                       
<xsl:text>'; return true;</xsl:text>
-                                                               </xsl:attribute>
-                                                       </input>
-                                               </td>
-                                       </tr>
-                               </table>
-                               </form>
-                               <table cellpadding="2" cellspacing="2" 
width="80%" align="center">
-                               <tr>
-                                       <td>
-                                               <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>
-                                               <form method="post" 
action="{$done_action}">
-                                                       <input type="submit" 
name="done" value="{$lang_done}" onMouseout="window.status='';return true;">
-                                                               <xsl:attribute 
name="onMouseover">
-                                                                       
<xsl:text>window.status='</xsl:text>
-                                                                       
<xsl:value-of select="lang_done_statustext"/>
-                                                                       
<xsl:text>'; return true;</xsl:text>
-                                                               </xsl:attribute>
-                                                       </input>
-                                               </form>
-                                       </td>
-                               </tr>
-                       </table>
-               </div>
+            <script type="text/javascript">
+                       self.name="first_Window";
+                       <xsl:value-of select="lookup_functions"/>
+            </script>
+            <div id="tab-content">
+                <xsl:value-of disable-output-escaping="yes" select="tabs"/>
+                <div class="yui-content">
+                    <div id="general">
+                        <div align="left">
+                            <xsl:variable name="form_action">
+                                    <xsl:value-of select="form_action"/>
+                            </xsl:variable>
+                            <form method="post" class="pure-form 
pure-form-aligned" action="{$form_action}">
+                            <table cellpadding="2" cellspacing="2" width="80%" 
align="center">
+                                    <xsl:choose>
+                                            <xsl:when test="msgbox_data != ''">
+                                                    <tr>
+                                                            <td align="left" 
colspan="3">
+                                                                    
<xsl:call-template name="msgbox"/>
+                                                            </td>
+                                                    </tr>
+                                            </xsl:when>
+                                    </xsl:choose>
+                                            <tr>
+                                                    <td valign="top">
+                                                            <xsl:choose>
+                                                                    <xsl:when 
test="value_id != ''">
+                                                                            
<xsl:value-of select="lang_id"/>
+                                                                    </xsl:when>
+                                                                    
<xsl:otherwise>
+                                                                    
</xsl:otherwise>
+                                                            </xsl:choose>
+                                                    </td>
+                                                    <td>
+                                                            <xsl:choose>
+                                                                    <xsl:when 
test="value_id != ''">
+                                                                            
<xsl:value-of select="value_id"/>
+                                                                    </xsl:when>
+                                                                    
<xsl:otherwise>
+                                                                    
</xsl:otherwise>
+                                                            </xsl:choose>
+                                                    </td>
+                                            </tr>
+                                            <tr>
+                                                    <td valign="top">
+                                                            <xsl:value-of 
select="lang_name"/>
+                                                    </td>
+                                                    <td>
+                                                            <input type="text" 
size="40" name="values[name]" value="{value_name}" 
onMouseout="window.status='';return true;">
+                                                                    
<xsl:attribute name="onMouseover">
+                                                                            
<xsl:text>window.status='</xsl:text>
+                                                                            
<xsl:value-of select="lang_name_statustext"/>
+                                                                            
<xsl:text>'; return true;</xsl:text>
+                                                                    
</xsl:attribute>
+                                                            </input>
+                                                    </td>
+                                            </tr>
+                                            <tr>
+                                                    <td valign="top">
+                                                            <xsl:value-of 
select="lang_data"/>
+                                                    </td>
+                                                    <td>
+                                                            <input type="text" 
size="60" name="values[data]" value="{value_data}" 
onMouseout="window.status='';return true;">
+                                                                    
<xsl:attribute name="onMouseover">
+                                                                            
<xsl:text>window.status='</xsl:text>
+                                                                            
<xsl:value-of select="lang_data_statustext"/>
+                                                                            
<xsl:text>'; return true;</xsl:text>
+                                                                    
</xsl:attribute>
+                                                            </input>
+                                                    </td>
+                                            </tr>
+                                            <tr>
+                                                    <td valign="top">
+                                                            <xsl:value-of 
select="lang_descr"/>
+                                                    </td>
+                                                    <td>
+                                                            <textarea 
cols="60" rows="10" name="values[descr]" onMouseout="window.status='';return 
true;">
+                                                                    
<xsl:attribute name="onMouseover">
+                                                                            
<xsl:text>window.status='</xsl:text>
+                                                                            
<xsl:value-of select="lang_descr_statustext"/>
+                                                                            
<xsl:text>'; return true;</xsl:text>
+                                                                    
</xsl:attribute>
+                                                                    
<xsl:value-of select="value_descr"/>
+                                                            </textarea>
+                                                    </td>
+                                            </tr>
+                                            <tr height="50">
+                                                    <td>
+                                                            <xsl:variable 
name="lang_save">
+                                                                    
<xsl:value-of select="lang_save"/>
+                                                            </xsl:variable>
+                                                            <input 
type="submit" class="pure-button pure-button-primary" name="values[save]" 
value="{$lang_save}" onMouseout="window.status='';return true;">
+                                                                    
<xsl:attribute name="onMouseover">
+                                                                            
<xsl:text>window.status='</xsl:text>
+                                                                            
<xsl:value-of select="lang_save_statustext"/>
+                                                                            
<xsl:text>'; return true;</xsl:text>
+                                                                    
</xsl:attribute>
+                                                            </input>
+                                                    </td>
+                                            </tr>
+                                    </table>
+                                    </form>
+                                    <table cellpadding="2" cellspacing="2" 
width="80%" align="center">
+                                    <tr>
+                                            <td>
+                                                    <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>
+                                                    <form method="post" 
action="{$done_action}">
+                                                            <input 
type="submit" class="pure-button pure-button-primary" name="done" 
value="{$lang_done}" onMouseout="window.status='';return true;">
+                                                                    
<xsl:attribute name="onMouseover">
+                                                                            
<xsl:text>window.status='</xsl:text>
+                                                                            
<xsl:value-of select="lang_done_statustext"/>
+                                                                            
<xsl:text>'; return true;</xsl:text>
+                                                                    
</xsl:attribute>
+                                                            </input>
+                                                    </form>
+                                            </td>
+                                    </tr>
+                            </table>
+                        </div>
+                    </div>
+                </div>
+            </div>
        </xsl:template>




reply via email to

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