fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [8025]


From: Torstein
Subject: [Fmsystem-commits] [8025]
Date: Fri, 04 Nov 2011 20:55:46 +0000

Revision: 8025
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8025
Author:   vator
Date:     2011-11-04 20:55:45 +0000 (Fri, 04 Nov 2011)
Log Message:
-----------


Added Paths:
-----------
    trunk/controller/templates/base/view_check_list.xsl
    trunk/controller/templates/base/view_check_lists.xsl

Removed Paths:
-------------
    trunk/controller/templates/base/view_check_list.xsl

Deleted: trunk/controller/templates/base/view_check_list.xsl
===================================================================
--- trunk/controller/templates/base/view_check_list.xsl 2011-11-04 19:02:31 UTC 
(rev 8024)
+++ trunk/controller/templates/base/view_check_list.xsl 2011-11-04 20:55:45 UTC 
(rev 8025)
@@ -1,56 +0,0 @@
-<xsl:template match="data" name="view_check_list" 
xmlns:php="http://php.net/xsl";>
-
-<div id="main_content">
-               
-         <!-- ===========================  SHOWS CONTROL ITEMS RECEIPT   
=============================== -->
-               <xsl:variable name="control_id"><xsl:value-of 
select="control_id"/></xsl:variable>      
-               <input type="hidden" id="control_id" name="control_id" 
value="{control_id}" />
-               
-               <h1>Detaljer for kontroll</h1>
-               <fieldset class="control_details">
-                       <label>Tittel</label><xsl:value-of 
select="control_as_array/title"/><br/>
-                       <label>Startdato</label><xsl:value-of 
select="control_as_array/start_date"/><br/>
-                       <label>Sluttdato</label><xsl:value-of 
select="control_as_array/end_date"/><br/>
-                       <label>Syklustype</label><xsl:value-of 
select="control_as_array/repeat_type"/><br/>
-                       <label>Syklusfrekvens</label><xsl:value-of 
select="control_as_array/repeat_interval"/><br/>
-               </fieldset>
-               
-               <h2>Sjekklister</h2>
-               <ul class="check_list">
-                       <li class="heading">
-                               <div class="status">Status</div>
-                               <div>Kommentar</div>
-                               <div>Skal utføres innen dato</div>
-                               <div>Planlagt utført dato</div>
-                               <div>Ble utført dato</div>
-                       </li>
-                       <xsl:choose>
-                               <xsl:when test="check_list_array/child::node()">
-                                       <xsl:for-each select="check_list_array">
-                                               <li>
-                                              <div 
class="order_nr"><xsl:number/>.</div> 
-                                              <div class="status">
-                                                <xsl:variable 
name="status"><xsl:value-of select="status"/></xsl:variable>     
-                                                <xsl:choose>
-                                                               <xsl:when 
test="status = 1">
-                                                                       <img 
height="15" src="controller/images/status_icon_light_green.png" /> 
-                                                               </xsl:when>
-                                                               <xsl:otherwise>
-                                                                       Ingen 
sjekklister for denne kontrollen
-                                                               </xsl:otherwise>
-                                                       </xsl:choose>
-                                              </div>
-                                              <div><xsl:value-of 
select="comment"/></div>
-                                              <div><xsl:value-of 
select="deadline"/></div>
-                                              <div><xsl:value-of 
select="planned_date"/></div>
-                                              <div><xsl:value-of 
select="completed_date"/></div>
-                                           </li>
-                                       </xsl:for-each>
-                               </xsl:when>
-                               <xsl:otherwise>
-                                       Ingen sjekklister for denne kontrollen
-                               </xsl:otherwise>
-                       </xsl:choose>
-               </ul>
-</div>
-</xsl:template>
\ No newline at end of file

Added: trunk/controller/templates/base/view_check_list.xsl
===================================================================
--- trunk/controller/templates/base/view_check_list.xsl                         
(rev 0)
+++ trunk/controller/templates/base/view_check_list.xsl 2011-11-04 20:55:45 UTC 
(rev 8025)
@@ -0,0 +1,65 @@
+<xsl:template match="data" name="view_check_list" 
xmlns:php="http://php.net/xsl";>
+
+<div id="main_content">
+               
+         <!-- ===========================  SHOWS CONTROL ITEMS RECEIPT   
=============================== -->
+               <xsl:variable name="control_id"><xsl:value-of 
select="control_id"/></xsl:variable>      
+               <input type="hidden" id="control_id" name="control_id" 
value="{control_id}" />
+               
+               <h1>Detaljer for kontroll</h1>
+               <fieldset class="control_details">
+                       <label>Tittel</label><xsl:value-of 
select="control_as_array/title"/><br/>
+                       <label>Startdato</label><xsl:value-of 
select="control_as_array/start_date"/><br/>
+                       <label>Sluttdato</label><xsl:value-of 
select="control_as_array/end_date"/><br/>
+                       <label>Syklustype</label><xsl:value-of 
select="control_as_array/repeat_type"/><br/>
+                       <label>Syklusfrekvens</label><xsl:value-of 
select="control_as_array/repeat_interval"/><br/>
+               </fieldset>
+               
+               <h2>Sjekklister</h2>
+               <ul class="check_list">
+                       <li class="heading">
+                               <div class="status">Status</div>
+                               <div>Skal utføres innen dato</div>
+                               <div>Planlagt utført dato</div>
+                               <div>Ble utført dato</div>
+                               <div>Kommentar</div>
+                       </li>
+                       <xsl:choose>
+                               <xsl:when test="check_list_array/child::node()">
+                                       <xsl:for-each select="check_list_array">
+                                               <li>
+                                              <div 
class="order_nr"><xsl:number/>.</div>
+                                              <div class="status">
+                                                <xsl:variable 
name="status"><xsl:value-of select="status"/></xsl:variable>     
+                                                <xsl:choose>
+                                                               <xsl:when 
test="status = 1">
+                                                                       <img 
height="15" src="controller/images/status_icon_light_green.png" /> 
+                                                               </xsl:when>
+                                                               <xsl:otherwise>
+                                                                       Ingen 
sjekklister for denne kontrollen
+                                                               </xsl:otherwise>
+                                                       </xsl:choose>
+                                              </div>
+                                              <div>
+                                                      <a>
+                                                                       
<xsl:attribute name="href">
+                                                                               
<xsl:text>index.php?menuaction=controller.uicheck_list.view_check_list</xsl:text>
+                                                                               
<xsl:text>&amp;check_list_id=</xsl:text>
+                                                                               
        <xsl:value-of select="id"/>
+                                                                       
</xsl:attribute>
+                                                                       
<xsl:value-of select="deadline"/>
+                                                               </a>    
+                                                       </div>
+                                              <div><xsl:value-of 
select="planned_date"/></div>
+                                              <div><xsl:value-of 
select="completed_date"/></div>
+                                              <div><xsl:value-of 
select="comment"/></div>
+                                           </li>
+                                       </xsl:for-each>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       Ingen sjekklister for denne kontrollen
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </ul>
+</div>
+</xsl:template>
\ No newline at end of file


Property changes on: trunk/controller/templates/base/view_check_list.xsl
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Copied: trunk/controller/templates/base/view_check_lists.xsl (from rev 8024, 
trunk/controller/templates/base/view_check_list.xsl)
===================================================================
--- trunk/controller/templates/base/view_check_lists.xsl                        
        (rev 0)
+++ trunk/controller/templates/base/view_check_lists.xsl        2011-11-04 
20:55:45 UTC (rev 8025)
@@ -0,0 +1,65 @@
+<xsl:template match="data" name="view_check_list" 
xmlns:php="http://php.net/xsl";>
+
+<div id="main_content">
+               
+         <!-- ===========================  SHOWS CONTROL ITEMS RECEIPT   
=============================== -->
+               <xsl:variable name="control_id"><xsl:value-of 
select="control_id"/></xsl:variable>      
+               <input type="hidden" id="control_id" name="control_id" 
value="{control_id}" />
+               
+               <h1>Detaljer for kontroll</h1>
+               <fieldset class="control_details">
+                       <label>Tittel</label><xsl:value-of 
select="control_as_array/title"/><br/>
+                       <label>Startdato</label><xsl:value-of 
select="control_as_array/start_date"/><br/>
+                       <label>Sluttdato</label><xsl:value-of 
select="control_as_array/end_date"/><br/>
+                       <label>Syklustype</label><xsl:value-of 
select="control_as_array/repeat_type"/><br/>
+                       <label>Syklusfrekvens</label><xsl:value-of 
select="control_as_array/repeat_interval"/><br/>
+               </fieldset>
+               
+               <h2>Sjekklister</h2>
+               <ul class="check_list">
+                       <li class="heading">
+                               <div class="status">Status</div>
+                               <div>Skal utføres innen dato</div>
+                               <div>Planlagt utført dato</div>
+                               <div>Ble utført dato</div>
+                               <div>Kommentar</div>
+                       </li>
+                       <xsl:choose>
+                               <xsl:when test="check_list_array/child::node()">
+                                       <xsl:for-each select="check_list_array">
+                                               <li>
+                                              <div 
class="order_nr"><xsl:number/>.</div>
+                                              <div class="status">
+                                                <xsl:variable 
name="status"><xsl:value-of select="status"/></xsl:variable>     
+                                                <xsl:choose>
+                                                               <xsl:when 
test="status = 1">
+                                                                       <img 
height="15" src="controller/images/status_icon_light_green.png" /> 
+                                                               </xsl:when>
+                                                               <xsl:otherwise>
+                                                                       Ingen 
sjekklister for denne kontrollen
+                                                               </xsl:otherwise>
+                                                       </xsl:choose>
+                                              </div>
+                                              <div>
+                                                      <a>
+                                                                       
<xsl:attribute name="href">
+                                                                               
<xsl:text>index.php?menuaction=controller.uicheck_list.view_check_list</xsl:text>
+                                                                               
<xsl:text>&amp;check_list_id=</xsl:text>
+                                                                               
        <xsl:value-of select="id"/>
+                                                                       
</xsl:attribute>
+                                                                       
<xsl:value-of select="deadline"/>
+                                                               </a>    
+                                                       </div>
+                                              <div><xsl:value-of 
select="planned_date"/></div>
+                                              <div><xsl:value-of 
select="completed_date"/></div>
+                                              <div><xsl:value-of 
select="comment"/></div>
+                                           </li>
+                                       </xsl:for-each>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       Ingen sjekklister for denne kontrollen
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </ul>
+</div>
+</xsl:template>
\ No newline at end of file


Property changes on: trunk/controller/templates/base/view_check_lists.xsl
___________________________________________________________________
Added: svn:mime-type
   + text/plain




reply via email to

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