fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13141] alarm.xsl


From: Saul
Subject: [Fmsystem-commits] [13141] alarm.xsl
Date: Mon, 04 May 2015 22:57:53 +0000

Revision: 13141
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13141
Author:   psaul
Date:     2015-05-04 22:57:52 +0000 (Mon, 04 May 2015)
Log Message:
-----------
alarm.xsl

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

Modified: branches/dev-syncromind/property/templates/base/alarm.xsl
===================================================================
--- branches/dev-syncromind/property/templates/base/alarm.xsl   2015-05-04 
22:57:35 UTC (rev 13140)
+++ branches/dev-syncromind/property/templates/base/alarm.xsl   2015-05-04 
22:57:52 UTC (rev 13141)
@@ -240,186 +240,193 @@
 
        <!-- add / edit -->
        <xsl:template match="edit">
+                <script type="text/javascript">
+                       self.name="first_Window";
+                       <xsl:value-of select="lookup_functions"/>
+                </script>
                <xsl:variable name="edit_url">
                        <xsl:value-of select="edit_url"/>
                </xsl:variable>
-               <div align="left">
-                       <form name="form" method="post" action="{$edit_url}">
-                               <table cellpadding="2" cellspacing="2" 
width="79%" 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>
-                                       <xsl:choose>
-                                               <xsl:when 
test="value_async_id!=''">
-                                                       <tr>
-                                                               <td width="25%" 
align="left">
-                                                                       
<xsl:value-of select="lang_async_id"/>
-                                                               </td>
-                                                               <td width="75%" 
align="left">
-                                                                       
<xsl:value-of select="value_async_id"/>
-                                                               </td>
-                                                       </tr>
-                                               </xsl:when>
-                                       </xsl:choose>
-                                       <tr>
-                                               <td align="left">
-                                                       <xsl:value-of 
select="lang_method"/>
-                                               </td>
-                                               <td align="left">
-                                                       <xsl:variable 
name="lang_method_statustext">
-                                                               <xsl:value-of 
select="lang_method_statustext"/>
-                                                       </xsl:variable>
-                                                       <select 
name="values[method_id]" class="forms" 
onMouseover="window.status='{$lang_method_statustext}'; return true;" 
onMouseout="window.status='';return true;">
-                                                               <option 
value="">
-                                                                       
<xsl:value-of select="lang_no_method"/>
-                                                               </option>
-                                                               
<xsl:apply-templates select="method_list"/>
-                                                       </select>
-                                               </td>
-                                       </tr>
-                                       <tr>
-                                               <td align="left" valign="top">
-                                                       <xsl:value-of 
select="lang_timing"/>
-                                               </td>
-                                               <td align="left">
-                                                       <table width="80%" 
cellpadding="2" cellspacing="2" align="left">
-                                                               <tr class="th">
-                                                                       <td 
width="20%" align="center">
-                                                                               
<xsl:value-of select="lang_year"/>
-                                                                       </td>
-                                                                       <td 
width="20%">
-                                                                               
<xsl:value-of select="lang_month"/>
-                                                                       </td>
-                                                                       <td 
width="20%" align="center">
-                                                                               
<xsl:value-of select="lang_day"/>
-                                                                       </td>
-                                                                       <td 
width="20%" align="center">
-                                                                               
<xsl:value-of select="lang_dow"/>
-                                                                       </td>
-                                                                       <td 
width="20%" align="center">
-                                                                               
<xsl:value-of select="lang_hour"/>
-                                                                       </td>
-                                                                       <td 
width="20%" align="center">
-                                                                               
<xsl:value-of select="lang_minute"/>
-                                                                       </td>
-                                                               </tr>
-                                                               <tr>
-                                                                       
<xsl:attribute name="class">
-                                                                               
<xsl:text>row_on</xsl:text>
-                                                                       
</xsl:attribute>
-                                                                       <td>
-                                                                               
<input type="text" size="4" name="values[year]" value="{value_year}" 
onMouseout="window.status='';return true;">
-                                                                               
        <xsl:attribute name="onMouseover">
-                                                                               
                <xsl:text>window.status='</xsl:text>
-                                                                               
                <xsl:value-of select="lang_id_b_accounttext"/>
-                                                                               
                <xsl:text>'; return true;</xsl:text>
-                                                                               
        </xsl:attribute>
-                                                                               
</input>
-                                                                       </td>
-                                                                       <td>
-                                                                               
<input type="text" size="4" name="values[month]" value="{value_month}" 
onMouseout="window.status='';return true;">
-                                                                               
        <xsl:attribute name="onMouseover">
-                                                                               
                <xsl:text>window.status='</xsl:text>
-                                                                               
                <xsl:value-of select="lang_id_b_accounttext"/>
-                                                                               
                <xsl:text>'; return true;</xsl:text>
-                                                                               
        </xsl:attribute>
-                                                                               
</input>
-                                                                       </td>
-                                                                       <td>
-                                                                               
<input type="text" size="4" name="values[day]" value="{value_day}" 
onMouseout="window.status='';return true;">
-                                                                               
        <xsl:attribute name="onMouseover">
-                                                                               
                <xsl:text>window.status='</xsl:text>
-                                                                               
                <xsl:value-of select="lang_id_b_accounttext"/>
-                                                                               
                <xsl:text>'; return true;</xsl:text>
-                                                                               
        </xsl:attribute>
-                                                                               
</input>
-                                                                       </td>
-                                                                       <td>
-                                                                               
<input type="text" size="4" name="values[dow]" value="{value_dow}" 
onMouseout="window.status='';return true;">
-                                                                               
        <xsl:attribute name="onMouseover">
-                                                                               
                <xsl:text>window.status='</xsl:text>
-                                                                               
                <xsl:value-of select="lang_id_b_accounttext"/>
-                                                                               
                <xsl:text>'; return true;</xsl:text>
-                                                                               
        </xsl:attribute>
-                                                                               
</input>
-                                                                       </td>
-                                                                       <td>
-                                                                               
<input type="text" size="4" name="values[hour]" value="{value_hour}" 
onMouseout="window.status='';return true;">
-                                                                               
        <xsl:attribute name="onMouseover">
-                                                                               
                <xsl:text>window.status='</xsl:text>
-                                                                               
                <xsl:value-of select="lang_id_b_accounttext"/>
-                                                                               
                <xsl:text>'; return true;</xsl:text>
-                                                                               
        </xsl:attribute>
-                                                                               
</input>
-                                                                       </td>
-                                                                       <td>
-                                                                               
<input type="text" size="4" name="values[min]" value="{value_minute}" 
onMouseout="window.status='';return true;">
-                                                                               
        <xsl:attribute name="onMouseover">
-                                                                               
                <xsl:text>window.status='</xsl:text>
-                                                                               
                <xsl:value-of select="lang_id_b_accounttext"/>
-                                                                               
                <xsl:text>'; return true;</xsl:text>
-                                                                               
        </xsl:attribute>
-                                                                               
</input>
-                                                                       </td>
-                                                               </tr>
-                                                       </table>
-                                               </td>
-                                       </tr>
-                                       <tr height="50">
-                                               <td>
-                                               </td>
-                                               <td>
-                                                       <table>
-                                                               <tr>
-                                                                       <td 
valign="bottom">
-                                                                               
<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>
-                                                                       <td 
valign="bottom">
-                                                                               
<xsl:variable name="lang_apply">
-                                                                               
        <xsl:value-of select="lang_apply"/>
-                                                                               
</xsl:variable>
-                                                                               
<input type="submit" name="values[apply]" value="{$lang_apply}" 
onMouseout="window.status='';return true;">
-                                                                               
        <xsl:attribute name="onMouseover">
-                                                                               
                <xsl:text>window.status='</xsl:text>
-                                                                               
                <xsl:value-of select="lang_apply_statustext"/>
-                                                                               
                <xsl:text>'; return true;</xsl:text>
-                                                                               
        </xsl:attribute>
-                                                                               
</input>
-                                                                       </td>
-                                                                       <td 
align="right" valign="bottom">
-                                                                               
<xsl:variable name="lang_cancel">
-                                                                               
        <xsl:value-of select="lang_cancel"/>
-                                                                               
</xsl:variable>
-                                                                               
<input type="submit" name="values[cancel]" value="{$lang_cancel}" 
onMouseout="window.status='';return true;">
-                                                                               
        <xsl:attribute name="onMouseover">
-                                                                               
                <xsl:text>window.status='</xsl:text>
-                                                                               
                <xsl:value-of select="lang_cancel_statustext"/>
-                                                                               
                <xsl:text>'; return true;</xsl:text>
-                                                                               
        </xsl:attribute>
-                                                                               
</input>
-                                                                       </td>
-                                                               </tr>
-                                                       </table>
-                                               </td>
-                                       </tr>
-                               </table>
-                       </form>
-               </div>
+                <div id="tab-content">
+               <xsl:value-of disable-output-escaping="yes" select="tabs"/>
+                    <div id="general">
+                            <form name="form" class="pure-form 
pure-form-aligned" method="post" action="{$edit_url}">
+                                    <table cellpadding="2" cellspacing="2" 
width="79%" 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>
+                                            <xsl:choose>
+                                                    <xsl:when 
test="value_async_id!=''">
+                                                            <tr>
+                                                                    <td 
width="25%" align="left">
+                                                                            
<xsl:value-of select="lang_async_id"/>
+                                                                    </td>
+                                                                    <td 
width="75%" align="left">
+                                                                            
<xsl:value-of select="value_async_id"/>
+                                                                    </td>
+                                                            </tr>
+                                                    </xsl:when>
+                                            </xsl:choose>
+                                            <tr>
+                                                    <td align="left">
+                                                            <xsl:value-of 
select="lang_method"/>
+                                                    </td>
+                                                    <td align="left">
+                                                            <xsl:variable 
name="lang_method_statustext">
+                                                                    
<xsl:value-of select="lang_method_statustext"/>
+                                                            </xsl:variable>
+                                                            <select 
name="values[method_id]" class="forms" 
onMouseover="window.status='{$lang_method_statustext}'; return true;" 
onMouseout="window.status='';return true;">
+                                                                    <option 
value="">
+                                                                            
<xsl:value-of select="lang_no_method"/>
+                                                                    </option>
+                                                                    
<xsl:apply-templates select="method_list"/>
+                                                            </select>
+                                                    </td>
+                                            </tr>
+                                            <tr>
+                                                    <td align="left" 
valign="top">
+                                                            <xsl:value-of 
select="lang_timing"/>
+                                                    </td>
+                                                    <td align="left">
+                                                            <table width="80%" 
cellpadding="2" cellspacing="2" align="left">
+                                                                    <tr 
class="th">
+                                                                            
<td width="20%" align="center">
+                                                                               
     <xsl:value-of select="lang_year"/>
+                                                                            
</td>
+                                                                            
<td width="20%">
+                                                                               
     <xsl:value-of select="lang_month"/>
+                                                                            
</td>
+                                                                            
<td width="20%" align="center">
+                                                                               
     <xsl:value-of select="lang_day"/>
+                                                                            
</td>
+                                                                            
<td width="20%" align="center">
+                                                                               
     <xsl:value-of select="lang_dow"/>
+                                                                            
</td>
+                                                                            
<td width="20%" align="center">
+                                                                               
     <xsl:value-of select="lang_hour"/>
+                                                                            
</td>
+                                                                            
<td width="20%" align="center">
+                                                                               
     <xsl:value-of select="lang_minute"/>
+                                                                            
</td>
+                                                                    </tr>
+                                                                    <tr>
+                                                                            
<xsl:attribute name="class">
+                                                                               
     <xsl:text>row_on</xsl:text>
+                                                                            
</xsl:attribute>
+                                                                            
<td>
+                                                                               
     <input type="text" size="4" name="values[year]" value="{value_year}" 
onMouseout="window.status='';return true;">
+                                                                               
             <xsl:attribute name="onMouseover">
+                                                                               
                     <xsl:text>window.status='</xsl:text>
+                                                                               
                     <xsl:value-of select="lang_id_b_accounttext"/>
+                                                                               
                     <xsl:text>'; return true;</xsl:text>
+                                                                               
             </xsl:attribute>
+                                                                               
     </input>
+                                                                            
</td>
+                                                                            
<td>
+                                                                               
     <input type="text" size="4" name="values[month]" value="{value_month}" 
onMouseout="window.status='';return true;">
+                                                                               
             <xsl:attribute name="onMouseover">
+                                                                               
                     <xsl:text>window.status='</xsl:text>
+                                                                               
                     <xsl:value-of select="lang_id_b_accounttext"/>
+                                                                               
                     <xsl:text>'; return true;</xsl:text>
+                                                                               
             </xsl:attribute>
+                                                                               
     </input>
+                                                                            
</td>
+                                                                            
<td>
+                                                                               
     <input type="text" size="4" name="values[day]" value="{value_day}" 
onMouseout="window.status='';return true;">
+                                                                               
             <xsl:attribute name="onMouseover">
+                                                                               
                     <xsl:text>window.status='</xsl:text>
+                                                                               
                     <xsl:value-of select="lang_id_b_accounttext"/>
+                                                                               
                     <xsl:text>'; return true;</xsl:text>
+                                                                               
             </xsl:attribute>
+                                                                               
     </input>
+                                                                            
</td>
+                                                                            
<td>
+                                                                               
     <input type="text" size="4" name="values[dow]" value="{value_dow}" 
onMouseout="window.status='';return true;">
+                                                                               
             <xsl:attribute name="onMouseover">
+                                                                               
                     <xsl:text>window.status='</xsl:text>
+                                                                               
                     <xsl:value-of select="lang_id_b_accounttext"/>
+                                                                               
                     <xsl:text>'; return true;</xsl:text>
+                                                                               
             </xsl:attribute>
+                                                                               
     </input>
+                                                                            
</td>
+                                                                            
<td>
+                                                                               
     <input type="text" size="4" name="values[hour]" value="{value_hour}" 
onMouseout="window.status='';return true;">
+                                                                               
             <xsl:attribute name="onMouseover">
+                                                                               
                     <xsl:text>window.status='</xsl:text>
+                                                                               
                     <xsl:value-of select="lang_id_b_accounttext"/>
+                                                                               
                     <xsl:text>'; return true;</xsl:text>
+                                                                               
             </xsl:attribute>
+                                                                               
     </input>
+                                                                            
</td>
+                                                                            
<td>
+                                                                               
     <input type="text" size="4" name="values[min]" value="{value_minute}" 
onMouseout="window.status='';return true;">
+                                                                               
             <xsl:attribute name="onMouseover">
+                                                                               
                     <xsl:text>window.status='</xsl:text>
+                                                                               
                     <xsl:value-of select="lang_id_b_accounttext"/>
+                                                                               
                     <xsl:text>'; return true;</xsl:text>
+                                                                               
             </xsl:attribute>
+                                                                               
     </input>
+                                                                            
</td>
+                                                                    </tr>
+                                                            </table>
+                                                    </td>
+                                            </tr>
+                                            <tr height="50">
+                                                    <td>
+                                                    </td>
+                                                    <td>
+                                                            <table>
+                                                                    <tr>
+                                                                            
<td valign="bottom">
+                                                                               
     <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>
+                                                                            
<td valign="bottom">
+                                                                               
     <xsl:variable name="lang_apply">
+                                                                               
             <xsl:value-of select="lang_apply"/>
+                                                                               
     </xsl:variable>
+                                                                               
     <input type="submit" class="pure-button pure-button-primary" 
name="values[apply]" value="{$lang_apply}" onMouseout="window.status='';return 
true;">
+                                                                               
             <xsl:attribute name="onMouseover">
+                                                                               
                     <xsl:text>window.status='</xsl:text>
+                                                                               
                     <xsl:value-of select="lang_apply_statustext"/>
+                                                                               
                     <xsl:text>'; return true;</xsl:text>
+                                                                               
             </xsl:attribute>
+                                                                               
     </input>
+                                                                            
</td>
+                                                                            
<td align="right" valign="bottom">
+                                                                               
     <xsl:variable name="lang_cancel">
+                                                                               
             <xsl:value-of select="lang_cancel"/>
+                                                                               
     </xsl:variable>
+                                                                               
     <input type="submit" class="pure-button pure-button-primary" 
name="values[cancel]" value="{$lang_cancel}" 
onMouseout="window.status='';return true;">
+                                                                               
             <xsl:attribute name="onMouseover">
+                                                                               
                     <xsl:text>window.status='</xsl:text>
+                                                                               
                     <xsl:value-of select="lang_cancel_statustext"/>
+                                                                               
                     <xsl:text>'; return true;</xsl:text>
+                                                                               
             </xsl:attribute>
+                                                                               
     </input>
+                                                                            
</td>
+                                                                    </tr>
+                                                            </table>
+                                                    </td>
+                                            </tr>
+                                    </table>
+                            </form>
+                    </div>
+                </div>
        </xsl:template>
 
        <!-- view -->




reply via email to

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