[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [8306]
From: |
Torstein |
Subject: |
[Fmsystem-commits] [8306] |
Date: |
Thu, 15 Dec 2011 08:58:17 +0000 |
Revision: 8306
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8306
Author: vator
Date: 2011-12-15 08:58:17 +0000 (Thu, 15 Dec 2011)
Log Message:
-----------
Added Paths:
-----------
trunk/controller/templates/base/add_check_list_for_location.xsl
Copied: trunk/controller/templates/base/add_check_list_for_location.xsl (from
rev 8246, trunk/controller/templates/base/view_check_lists_for_location.xsl)
===================================================================
--- trunk/controller/templates/base/add_check_list_for_location.xsl
(rev 0)
+++ trunk/controller/templates/base/add_check_list_for_location.xsl
2011-12-15 08:58:17 UTC (rev 8306)
@@ -0,0 +1,60 @@
+<xsl:template match="data" xmlns:php="http://php.net/xsl">
+<xsl:variable name="date_format">d/m-Y</xsl:variable>
+
+<div id="main_content">
+
+ <h1>Registrere sjekkliste for <xsl:value-of
select="location_array/loc1_name"/></h1>
+
+ <fieldset class="check_list_details">
+ <label>Tittel</label><xsl:value-of
select="control_array/title"/><br/>
+ <label>Startdato</label>
+ <xsl:if test="control_array/start_date != ''">
+ <xsl:value-of select="php:function('date',
$date_format, number(control_array/start_date))"/><br/>
+ </xsl:if>
+ <label>Sluttdato</label>
+ <xsl:if test="control_array/end_date != ''">
+ <xsl:value-of select="php:function('date',
$date_format, number(control_array/end_date))"/><br/>
+ </xsl:if>
+ <label>Frekvenstype</label><xsl:value-of
select="control_array/repeat_type"/><br/>
+ <label>Frekvens</label><xsl:value-of
select="control_array/repeat_interval"/><br/>
+ </fieldset>
+
+ <form
action="index.php?menuaction=controller.uicheck_list_for_location.save_check_list_for_location"
method="post">
+ <input type="hidden" id="deadline_date" name="deadline_date"
value=""/>
+
+ <div id="calendar_dates">
+ <p>Velg fristdato</p>
+ <xsl:for-each select="calendar_array">
+ <xsl:variable name="cal_date"><xsl:value-of
select="."/></xsl:variable>
+
+ <span><xsl:value-of
select="php:function('date', $date_format, number( $cal_date ) )"/></span>
+ </xsl:for-each>
+ </div>
+
+
+ <xsl:variable name="location_code"><xsl:value-of
select="location_array/location_code"/></xsl:variable>
+ <xsl:variable name="control_id"><xsl:value-of
select="control_array/id"/></xsl:variable>
+
+ <input type="hidden" name="control_id" value="{$control_id}" />
+ <input type="hidden" name="location_code"
value="{$location_code}" />
+
+ <fieldset class="add_check_list">
+ <div>
+ <label>Status</label>
+ <select name="status">
+ <option value="0">Utført</option>
+ <option value="0">Ikke utført</option>
+ </select>
+ </div>
+ <div><label>Planlagtdato</label><xsl:value-of
disable-output-escaping="yes" select="planned_date"/></div>
+ <div><label>Utført dato</label><xsl:value-of
disable-output-escaping="yes" select="completed_date"/></div>
+ <div><label>Utstyr</label><input name="equipment_id"
/></div>
+ </fieldset>
+ <div>
+ <xsl:variable name="lang_save"><xsl:value-of
select="php:function('lang', 'save')" /></xsl:variable>
+ <input type="submit" name="save" value="{$lang_save}"
title = "{$lang_save}" />
+ </div>
+ </form>
+
+ </div>
+</xsl:template>
\ No newline at end of file
Property changes on:
trunk/controller/templates/base/add_check_list_for_location.xsl
___________________________________________________________________
Added: svn:mime-type
+ text/plain
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [8306],
Torstein <=