[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13606] season_new xsl
From: |
Saul |
Subject: |
[Fmsystem-commits] [13606] season_new xsl |
Date: |
Thu, 09 Jul 2015 22:54:26 +0000 |
Revision: 13606
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13606
Author: psaul
Date: 2015-07-09 22:54:26 +0000 (Thu, 09 Jul 2015)
Log Message:
-----------
season_new xsl
Modified Paths:
--------------
branches/dev-syncromind/booking/templates/base/season_new.xsl
Modified: branches/dev-syncromind/booking/templates/base/season_new.xsl
===================================================================
--- branches/dev-syncromind/booking/templates/base/season_new.xsl
2015-07-09 22:53:30 UTC (rev 13605)
+++ branches/dev-syncromind/booking/templates/base/season_new.xsl
2015-07-09 22:54:26 UTC (rev 13606)
@@ -1,94 +1,107 @@
<xsl:template match="data" xmlns:php="http://php.net/xsl">
- <div id="content">
+ <!--div id="content">
<dl class="form">
<dt class="heading"><xsl:value-of
select="php:function('lang', 'New Season')" /></dt>
- </dl>
+ </dl-->
<xsl:call-template name="msgbox"/>
- <xsl:call-template name="yui_booking_i18n"/>
+ <!--xsl:call-template name="yui_booking_i18n"/-->
- <form action="" method="POST">
- <dl class="form-col">
- <dt><label for="field_name"><xsl:value-of
select="php:function('lang', 'Name')" /></label></dt>
- <dd>
- <input id="field_name" name="name" type="text">
- <xsl:attribute name="value"><xsl:value-of
select="season/name"/></xsl:attribute>
- </input>
- </dd>
- <dt><label for="field_building"><xsl:value-of
select="php:function('lang', 'Building')" /></label></dt>
- <dd>
- <div class="autocomplete">
- <input id="field_building_id" name="building_id"
type="hidden">
- <xsl:attribute name="value"><xsl:value-of
select="season/building_id"/></xsl:attribute>
- </input>
- <input id="field_building_name" name="building_name"
type="text">
- <xsl:attribute name="value"><xsl:value-of
select="season/building_name"/></xsl:attribute>
- </input>
- <div id="building_container"/>
+ <form action="" method="POST" id="form" class="pure-form
pure-form-aligned" name="form">
+ <input type="hidden" name="tab" value=""/>
+ <div id="tab-content">
+ <xsl:value-of disable-output-escaping="yes" select="season/tabs"/>
+ <div id="season_new">
+ <div class="pure-control-group">
+ <label><xsl:value-of select="php:function('lang', 'Name')"
/></label>
+ <input id="field_name" name="name" type="text">
+ <xsl:attribute name="value"><xsl:value-of
select="season/name"/></xsl:attribute>
+ </input>
</div>
- </dd>
- <dt><label for="field_officer"><xsl:value-of
select="php:function('lang', 'Case officer')" /></label></dt>
- <dd>
- <div class="autocomplete">
- <input id="field_officer_id" name="officer_id"
type="hidden">
- <xsl:attribute name="value"><xsl:value-of
select="season/officer_id"/></xsl:attribute>
- </input>
- <input id="field_officer_name" name="officer_name"
type="text">
- <xsl:attribute name="value"><xsl:value-of
select="season/officer_name"/></xsl:attribute>
- </input>
- <div id="officer_container"/>
+ <div class="pure-control-group">
+ <label><xsl:value-of select="php:function('lang',
'Building')" /></label>
+ <!--div class="autocomplete"-->
+ <input id="field_building_id" name="building_id"
type="hidden">
+ <xsl:attribute name="value"><xsl:value-of
select="season/building_id"/></xsl:attribute>
+ </input>
+ <input id="field_building_name"
name="building_name" type="text">
+ <xsl:attribute name="value"><xsl:value-of
select="season/building_name"/></xsl:attribute>
+ </input>
+ <!--div id="building_container"/>
+ </div-->
</div>
- </dd>
- <dt><label for="field_building"><xsl:value-of
select="php:function('lang', 'Resources')" /></label></dt>
- <dd>
- <div id="resources-container"><xsl:value-of
select="php:function('lang', 'Select a building first')" /></div>
- </dd>
- </dl>
- <dl class="form-col">
- <dt><label for="field_status"><xsl:value-of
select="php:function('lang', 'Status')" /></label></dt>
- <dd>
- <select name="status" id="status_field">
- <option value="PLANNING">
- <xsl:if test="season/status='PLANNING'"><xsl:attribute
name="selected">selected</xsl:attribute></xsl:if>
- <xsl:value-of select="php:function('lang',
'Planning')" />
- </option>
- <option value="PUBLISHED">
- <xsl:if
test="season/status='PUBLISHED'"><xsl:attribute
name="selected">selected</xsl:attribute></xsl:if>
- <xsl:value-of select="php:function('lang',
'Published')" />
- </option>
- <option value="ARCHIVED">
- <xsl:if test="season/status='ARCHIVED'"><xsl:attribute
name="selected">selected</xsl:attribute></xsl:if>
- <xsl:value-of select="php:function('lang',
'Archived')" />
- </option>
- </select>
- </dd>
- <dt><label for="field_from"><xsl:value-of
select="php:function('lang', 'From')" /></label></dt>
- <dd>
- <div class="date-picker">
- <input id="field_from" name="from_" type="text">
- <xsl:attribute name="value"><xsl:value-of
select="season/from_"/></xsl:attribute>
- </input>
+ <div class="pure-control-group">
+ <label><xsl:value-of select="php:function('lang', 'Case
officer')" /></label>
+ <!--div class="autocomplete"-->
+ <input id="field_officer_id" name="officer_id"
type="hidden">
+ <xsl:attribute name="value"><xsl:value-of
select="season/officer_id"/></xsl:attribute>
+ </input>
+ <input id="field_officer_name" name="officer_name"
type="text">
+ <xsl:attribute name="value"><xsl:value-of
select="season/officer_name"/></xsl:attribute>
+ </input>
+ <!--div id="officer_container"/>
+ </div-->
</div>
- </dd>
- <dt><label for="field_to"><xsl:value-of
select="php:function('lang', 'To')" /></label></dt>
- <dd>
- <div class="date-picker">
- <input id="field_to" name="to_" type="text">
- <xsl:attribute name="value"><xsl:value-of
select="season/to_"/></xsl:attribute>
- </input>
+ <div class="pure-control-group">
+ <label><xsl:value-of select="php:function('lang',
'Resources')" /></label>
+ <div id="resources-container"><xsl:value-of
select="php:function('lang', 'Select a building first')" /></div>
</div>
- </dd>
- </dl>
+ <div class="pure-control-group">
+ <label><xsl:value-of select="php:function('lang',
'Status')" /></label>
+ <select name="status" id="status_field">
+ <option value="PLANNING">
+ <xsl:if
test="season/status='PLANNING'"><xsl:attribute
name="selected">selected</xsl:attribute></xsl:if>
+ <xsl:value-of select="php:function('lang',
'Planning')" />
+ </option>
+ <option value="PUBLISHED">
+ <xsl:if
test="season/status='PUBLISHED'"><xsl:attribute
name="selected">selected</xsl:attribute></xsl:if>
+ <xsl:value-of select="php:function('lang',
'Published')" />
+ </option>
+ <option value="ARCHIVED">
+ <xsl:if
test="season/status='ARCHIVED'"><xsl:attribute
name="selected">selected</xsl:attribute></xsl:if>
+ <xsl:value-of select="php:function('lang',
'Archived')" />
+ </option>
+ </select>
+ </div>
+ <div class="pure-control-group">
+ <!--div class="date-picker">
+ <input id="field_from" name="from_" type="text">
+ <xsl:attribute name="value"><xsl:value-of
select="season/from_"/></xsl:attribute>
+ </input>
+ </div-->
+ <label>
+ <xsl:value-of select="php:function('lang',
'From')" />
+ </label>
+ <input class="datetime" id="start_date"
name="start_date" type="text">
+ <xsl:attribute name="value"><xsl:value-of
select="season/from_"/></xsl:attribute>
+ </input>
+
+ </div>
+ <div class="pure-control-group">
+ <!--div class="date-picker">
+ <input id="field_to" name="to_" type="text">
+ <xsl:attribute name="value"><xsl:value-of
select="season/to_"/></xsl:attribute>
+ </input>
+ </div-->
+ <label>
+ <xsl:value-of select="php:function('lang',
'To')" />
+ </label>
+ <input class="datetime" id="end_date" name="end_date"
type="text">
+ <xsl:attribute name="value"><xsl:value-of
select="season/to_"/></xsl:attribute>
+ </input>
+ </div>
+ </div>
+ </div>
<div class="form-buttons">
- <input type="submit">
- <xsl:attribute name="value"><xsl:value-of
select="php:function('lang', 'Create')" /></xsl:attribute>
- </input>
+ <input type="submit" class="pure-button pure-button-primary">
+ <xsl:attribute name="value"><xsl:value-of
select="php:function('lang', 'Create')" /></xsl:attribute>
+ </input>
<a class="cancel">
<xsl:attribute name="href"><xsl:value-of
select="season/cancel_link"/></xsl:attribute>
<xsl:value-of select="php:function('lang', 'Cancel')" />
</a>
</div>
</form>
- </div>
+ <!--/div-->
<script type="text/javascript">
YAHOO.booking.initialSelection = <xsl:value-of
select="season/resources_json"/>;
var lang = <xsl:value-of select="php:function('js_lang', 'Resource
Type')"/>;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13606] season_new xsl,
Saul <=