[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [15940] more on template
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [15940] more on template |
Date: |
Wed, 2 Nov 2016 14:19:13 +0000 (UTC) |
Revision: 15940
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15940
Author: sigurdne
Date: 2016-11-02 14:19:13 +0000 (Wed, 02 Nov 2016)
Log Message:
-----------
more on template
Modified Paths:
--------------
trunk/eventplanner/templates/base/application.xsl
trunk/phpgwapi/templates/bookingfrontend/css/frontend.css
Modified: trunk/eventplanner/templates/base/application.xsl
===================================================================
--- trunk/eventplanner/templates/base/application.xsl 2016-11-02 12:45:16 UTC
(rev 15939)
+++ trunk/eventplanner/templates/base/application.xsl 2016-11-02 14:19:13 UTC
(rev 15940)
@@ -18,754 +18,756 @@
<!-- add / edit -->
<xsl:template xmlns:php="http://php.net/xsl" match="edit">
- <style type="text/css">
- #floating-box {
- position: relative;
- z-index: 1000;
- }
- #submitbox {
- display: none;
- } </style>
- <xsl:variable name="date_format">
- <xsl:value-of select="php:function('get_phpgw_info',
'user|preferences|common|dateformat')" />
- </xsl:variable>
-
- <div id='receipt'></div>
- <div>
- <xsl:variable name="form_action">
- <xsl:value-of select="form_action"/>
+ <div class="content">
+ <style type="text/css">
+ #floating-box {
+ position: relative;
+ z-index: 1000;
+ }
+ #submitbox {
+ display: none;
+ } </style>
+ <xsl:variable name="date_format">
+ <xsl:value-of select="php:function('get_phpgw_info',
'user|preferences|common|dateformat')" />
</xsl:variable>
- <script type="text/javascript">
- var lang = <xsl:value-of
select="php:function('js_lang', 'Name or company is required')"/>;
- </script>
- <form id="form" name="form" method="post"
action="{$form_action}" class="pure-form pure-form-aligned">
- <div id="tab-content">
- <xsl:value-of disable-output-escaping="yes"
select="tabs"/>
- <div id="floating-box">
- <div id="submitbox">
- <table width="200px">
- <tbody>
- <tr>
- <td
width="200px">
-
<xsl:variable name="lang_savel">
-
<xsl:value-of select="php:function('lang', 'save')"/>
-
</xsl:variable>
- <input
type="submit" class="pure-button pure-button-primary" name="save">
-
<xsl:attribute name="value">
-
<xsl:value-of select="$lang_savel"/>
-
</xsl:attribute>
-
<xsl:attribute name="title">
-
<xsl:value-of select="$lang_savel"/>
-
</xsl:attribute>
- </input>
- </td>
- <td>
-
<xsl:variable name="lang_cancel">
-
<xsl:value-of select="php:function('lang', 'cancel')"/>
-
</xsl:variable>
- <input
type="button" class="pure-button pure-button-primary" name="done"
value="{$lang_cancel}" onClick="window.location = '{cancel_url}';">
-
<xsl:attribute name="title">
-
<xsl:value-of select="php:function('lang', 'Back to the ticket list')"/>
-
</xsl:attribute>
- </input>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <input type="hidden" id="active_tab"
name="active_tab" value="{value_active_tab}"/>
- <div id="first_tab">
- <fieldset>
- <xsl:if test="application/id >
0">
+ <div id='receipt'></div>
+ <div>
+ <xsl:variable name="form_action">
+ <xsl:value-of select="form_action"/>
+ </xsl:variable>
+
+ <script type="text/javascript">
+ var lang = <xsl:value-of
select="php:function('js_lang', 'Name or company is required')"/>;
+ </script>
+ <form id="form" name="form" method="post"
action="{$form_action}" class="pure-form pure-form-aligned">
+ <div id="tab-content">
+ <xsl:value-of
disable-output-escaping="yes" select="tabs"/>
+ <div id="floating-box">
+ <div id="submitbox">
+ <table width="200px">
+ <tbody>
+ <tr>
+
<td width="200px">
+
<xsl:variable name="lang_savel">
+
<xsl:value-of select="php:function('lang', 'save')"/>
+
</xsl:variable>
+
<input type="submit" class="pure-button pure-button-primary"
name="save">
+
<xsl:attribute name="value">
+
<xsl:value-of select="$lang_savel"/>
+
</xsl:attribute>
+
<xsl:attribute name="title">
+
<xsl:value-of select="$lang_savel"/>
+
</xsl:attribute>
+
</input>
+
</td>
+
<td>
+
<xsl:variable name="lang_cancel">
+
<xsl:value-of select="php:function('lang', 'cancel')"/>
+
</xsl:variable>
+
<input type="button" class="pure-button pure-button-primary"
name="done" value="{$lang_cancel}" onClick="window.location = '{cancel_url}';">
+
<xsl:attribute name="title">
+
<xsl:value-of select="php:function('lang', 'Back to the
ticket list')"/>
+
</xsl:attribute>
+
</input>
+
</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ <input type="hidden" id="active_tab"
name="active_tab" value="{value_active_tab}"/>
+ <div id="first_tab">
+ <fieldset>
+ <xsl:if
test="application/id > 0">
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'id')"/>
+ </label>
+ <input
type="hidden" id="application_id" name="id" value="{application/id}"/>
+
<xsl:value-of select="application/id"/>
+ </div>
+ </xsl:if>
<div
class="pure-control-group">
<label>
-
<xsl:value-of select="php:function('lang', 'id')"/>
+
<xsl:value-of select="php:function('lang', 'category')"/>
</label>
- <input
type="hidden" id="application_id" name="id" value="{application/id}"/>
- <xsl:value-of
select="application/id"/>
+
<xsl:call-template name="categories"/>
</div>
- </xsl:if>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'category')"/>
- </label>
- <xsl:call-template
name="categories"/>
- </div>
- <div class="pure-control-group">
- <xsl:variable
name="lang_vendor">
- <xsl:value-of
select="php:function('lang', 'vendor')"/>
- </xsl:variable>
- <label>
- <xsl:value-of
select="$lang_vendor"/>
- </label>
- <input type="hidden"
id="vendor_id" name="vendor_id" value="{application/vendor_id}">
- <xsl:attribute
name="data-validation">
-
<xsl:text>required</xsl:text>
- </xsl:attribute>
- <xsl:attribute
name="data-validation-error-msg">
+ <div
class="pure-control-group">
+ <xsl:variable
name="lang_vendor">
+
<xsl:value-of select="php:function('lang', 'vendor')"/>
+ </xsl:variable>
+ <label>
<xsl:value-of select="$lang_vendor"/>
- </xsl:attribute>
- <xsl:attribute
name="placeholder">
-
<xsl:value-of select="$lang_vendor"/>
- </xsl:attribute>
- </input>
- <input type="text"
id="vendor_name" name="vendor_name" value="{application/vendor_name}">
- <xsl:attribute
name="placeholder">
-
<xsl:value-of select="$lang_vendor"/>
- </xsl:attribute>
- </input>
- <div
id="vendor_container"/>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'other participants')"/>
- </label>
- <textarea cols="47"
rows="7" name="other_participants">
- <xsl:value-of
select="application/other_participants"/>
- </textarea>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'active')"/>
- </label>
- <input type="checkbox"
name="active" id="active" value="1">
- <xsl:if
test="application/active = 1">
-
<xsl:attribute name="checked" value="checked"/>
- </xsl:if>
- </input>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'case officer')"/>
- </label>
- <select
id="case_officer_id" name="case_officer_id">
-
<xsl:apply-templates select="list_case_officer/options"/>
- </select>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'contact name')"/>
- </label>
- <input type="text"
id="contact_name" name="contact_name" value="{application/contact_name}">
- <xsl:attribute
name="data-validation">
-
<xsl:text>required</xsl:text>
- </xsl:attribute>
- <xsl:attribute
name="data-validation-error-msg">
+ </label>
+ <input
type="hidden" id="vendor_id" name="vendor_id" value="{application/vendor_id}">
+
<xsl:attribute name="data-validation">
+
<xsl:text>required</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-error-msg">
+
<xsl:value-of select="$lang_vendor"/>
+
</xsl:attribute>
+
<xsl:attribute name="placeholder">
+
<xsl:value-of select="$lang_vendor"/>
+
</xsl:attribute>
+ </input>
+ <input
type="text" id="vendor_name" name="vendor_name"
value="{application/vendor_name}">
+
<xsl:attribute name="placeholder">
+
<xsl:value-of select="$lang_vendor"/>
+
</xsl:attribute>
+ </input>
+ <div
id="vendor_container"/>
+ </div>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'other participants')"/>
+ </label>
+ <textarea
cols="47" rows="7" name="other_participants">
+
<xsl:value-of select="application/other_participants"/>
+ </textarea>
+ </div>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'active')"/>
+ </label>
+ <input
type="checkbox" name="active" id="active" value="1">
+ <xsl:if
test="application/active = 1">
+
<xsl:attribute name="checked" value="checked"/>
+
</xsl:if>
+ </input>
+ </div>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'case officer')"/>
+ </label>
+ <select
id="case_officer_id" name="case_officer_id">
+
<xsl:apply-templates select="list_case_officer/options"/>
+ </select>
+ </div>
+ <div
class="pure-control-group">
+ <label>
<xsl:value-of select="php:function('lang', 'contact name')"/>
- </xsl:attribute>
- <xsl:attribute
name="placeholder">
-
<xsl:value-of select="php:function('lang', 'contact name')"/>
- </xsl:attribute>
- </input>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'contact email')"/>
- </label>
- <input type="text"
id="contact_email" name="contact_email" value="{application/contact_email}">
- <xsl:attribute
name="data-validation">
-
<xsl:text>required</xsl:text>
- </xsl:attribute>
- <xsl:attribute
name="data-validation-error-msg">
+ </label>
+ <input
type="text" id="contact_name" name="contact_name"
value="{application/contact_name}">
+
<xsl:attribute name="data-validation">
+
<xsl:text>required</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-error-msg">
+
<xsl:value-of select="php:function('lang', 'contact name')"/>
+
</xsl:attribute>
+
<xsl:attribute name="placeholder">
+
<xsl:value-of select="php:function('lang', 'contact name')"/>
+
</xsl:attribute>
+ </input>
+ </div>
+ <div
class="pure-control-group">
+ <label>
<xsl:value-of select="php:function('lang', 'contact email')"/>
- </xsl:attribute>
- <xsl:attribute
name="placeholder">
-
<xsl:value-of select="php:function('lang', 'contact email')"/>
- </xsl:attribute>
+ </label>
+ <input
type="text" id="contact_email" name="contact_email"
value="{application/contact_email}">
+
<xsl:attribute name="data-validation">
+
<xsl:text>required</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-error-msg">
+
<xsl:value-of select="php:function('lang', 'contact email')"/>
+
</xsl:attribute>
+
<xsl:attribute name="placeholder">
+
<xsl:value-of select="php:function('lang', 'contact email')"/>
+
</xsl:attribute>
- </input>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'contact phone')"/>
- </label>
- <input type="text"
name="contact_phone" value="{application/contact_phone}">
- <xsl:attribute
name="data-validation">
-
<xsl:text>required</xsl:text>
- </xsl:attribute>
- <xsl:attribute
name="placeholder">
+ </input>
+ </div>
+ <div
class="pure-control-group">
+ <label>
<xsl:value-of select="php:function('lang', 'contact phone')"/>
- </xsl:attribute>
- <xsl:attribute
name="data-validation-error-msg">
-
<xsl:value-of select="php:function('lang', 'contact phone')"/>
- </xsl:attribute>
- </input>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'type')"/>
- </label>
- <div
class="pure-custom">
- <table
class="pure-table pure-table-bordered" border="0" cellspacing="2"
cellpadding="2">
- <thead>
-
<tr>
-
<th>
-
<xsl:value-of select="php:function('lang', 'select')"/>
-
</th>
-
<th>
-
<xsl:value-of select="php:function('lang', 'type')"/>
-
</th>
-
</tr>
- </thead>
- <tbody>
-
<xsl:for-each select="application_type_list">
+ </label>
+ <input
type="text" name="contact_phone" value="{application/contact_phone}">
+
<xsl:attribute name="data-validation">
+
<xsl:text>required</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="placeholder">
+
<xsl:value-of select="php:function('lang', 'contact phone')"/>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-error-msg">
+
<xsl:value-of select="php:function('lang', 'contact phone')"/>
+
</xsl:attribute>
+ </input>
+ </div>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'type')"/>
+ </label>
+ <div
class="pure-custom">
+ <table
class="pure-table pure-table-bordered" border="0" cellspacing="2"
cellpadding="2">
+
<thead>
<tr>
-
<td>
-
<input type="checkbox" name="types[]" value="{id}">
-
<xsl:if test="selected = 1">
-
<xsl:attribute name="checked"
value="checked"/>
-
</xsl:if>
-
</input>
-
</td>
-
<td>
-
<xsl:value-of disable-output-escaping="yes"
select="name"/>
-
</td>
+
<th>
+
<xsl:value-of select="php:function('lang', 'select')"/>
+
</th>
+
<th>
+
<xsl:value-of select="php:function('lang', 'type')"/>
+
</th>
</tr>
-
</xsl:for-each>
- </tbody>
- </table>
+
</thead>
+
<tbody>
+
<xsl:for-each select="application_type_list">
+
<tr>
+
<td>
+
<input type="checkbox" name="types[]"
value="{id}">
+
<xsl:if test="selected = 1">
+
<xsl:attribute name="checked"
value="checked"/>
+
</xsl:if>
+
</input>
+
</td>
+
<td>
+
<xsl:value-of disable-output-escaping="yes"
select="name"/>
+
</td>
+
</tr>
+
</xsl:for-each>
+
</tbody>
+ </table>
+ </div>
+
</div>
-
- </div>
- <div class="pure-control-group">
- <xsl:variable
name="lang_status">
- <xsl:value-of
select="php:function('lang', 'status')"/>
- </xsl:variable>
- <label>
- <xsl:value-of
select="$lang_status"/>
- </label>
- <select name="status">
- <xsl:attribute
name="title">
+ <div
class="pure-control-group">
+ <xsl:variable
name="lang_status">
+
<xsl:value-of select="php:function('lang', 'status')"/>
+ </xsl:variable>
+ <label>
<xsl:value-of select="$lang_status"/>
- </xsl:attribute>
-
<!--xsl:attribute name="data-validation">
-
<xsl:text>required</xsl:text>
- </xsl:attribute>
- <xsl:attribute
name="data-validation-error-msg">
-
<xsl:value-of select="$lang_status"/>
-
</xsl:attribute-->
- <option
value="">
-
<xsl:value-of select="$lang_status"/>
- </option>
-
<xsl:apply-templates select="status_list/options"/>
- </select>
- </div>
- <div class="pure-control-group">
- <xsl:variable
name="lang_date_start">
- <xsl:value-of
select="php:function('lang', 'date start')"/>
- </xsl:variable>
- <label>
- <xsl:value-of
select="$lang_date_start"/>
- </label>
- <input type="text"
id="date_start" name="date_start" size="10" readonly="readonly">
- <xsl:if
test="application/date_start != 0 and application/date_start != ''">
-
<xsl:attribute name="value">
-
<xsl:value-of select="php:function('date', $date_format,
number(application/date_start))"/>
+ </label>
+ <select
name="status">
+
<xsl:attribute name="title">
+
<xsl:value-of select="$lang_status"/>
</xsl:attribute>
- </xsl:if>
- <xsl:attribute
name="data-validation">
-
<xsl:text>required</xsl:text>
- </xsl:attribute>
- <xsl:attribute
name="data-validation-error-msg">
+
<!--xsl:attribute name="data-validation">
+
<xsl:text>required</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-error-msg">
+
<xsl:value-of select="$lang_status"/>
+
</xsl:attribute-->
+ <option
value="">
+
<xsl:value-of select="$lang_status"/>
+
</option>
+
<xsl:apply-templates select="status_list/options"/>
+ </select>
+ </div>
+ <div
class="pure-control-group">
+ <xsl:variable
name="lang_date_start">
+
<xsl:value-of select="php:function('lang', 'date start')"/>
+ </xsl:variable>
+ <label>
<xsl:value-of select="$lang_date_start"/>
- </xsl:attribute>
+ </label>
+ <input
type="text" id="date_start" name="date_start" size="10" readonly="readonly">
+ <xsl:if
test="application/date_start != 0 and application/date_start != ''">
+
<xsl:attribute name="value">
+
<xsl:value-of select="php:function('date', $date_format,
number(application/date_start))"/>
+
</xsl:attribute>
+
</xsl:if>
+
<xsl:attribute name="data-validation">
+
<xsl:text>required</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-error-msg">
+
<xsl:value-of select="$lang_date_start"/>
+
</xsl:attribute>
- </input>
- </div>
- <div class="pure-control-group">
- <xsl:variable
name="lang_date_end">
- <xsl:value-of
select="php:function('lang', 'date end')"/>
- </xsl:variable>
- <label>
- <xsl:value-of
select="$lang_date_end"/>
- </label>
- <input type="text"
id="date_end" name="date_end" size="10" readonly="readonly">
- <xsl:if
test="application/date_end != 0 and application/date_end != ''">
-
<xsl:attribute name="value">
-
<xsl:value-of select="php:function('date', $date_format,
number(application/date_end))"/>
+ </input>
+ </div>
+ <div
class="pure-control-group">
+ <xsl:variable
name="lang_date_end">
+
<xsl:value-of select="php:function('lang', 'date end')"/>
+ </xsl:variable>
+ <label>
+
<xsl:value-of select="$lang_date_end"/>
+ </label>
+ <input
type="text" id="date_end" name="date_end" size="10" readonly="readonly">
+ <xsl:if
test="application/date_end != 0 and application/date_end != ''">
+
<xsl:attribute name="value">
+
<xsl:value-of select="php:function('date', $date_format,
number(application/date_end))"/>
+
</xsl:attribute>
+
</xsl:if>
+
<xsl:attribute name="data-validation">
+
<xsl:text>required</xsl:text>
</xsl:attribute>
- </xsl:if>
- <xsl:attribute
name="data-validation">
-
<xsl:text>required</xsl:text>
- </xsl:attribute>
- <xsl:attribute
name="data-validation-error-msg">
-
<xsl:value-of select="$lang_date_end"/>
- </xsl:attribute>
+
<xsl:attribute name="data-validation-error-msg">
+
<xsl:value-of select="$lang_date_end"/>
+
</xsl:attribute>
- </input>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'timespan')"/>
- </label>
- <input type="text"
id="timespan" name="timespan" value="{application/timespan}">
- <xsl:attribute
name="data-validation">
-
<xsl:text>number</xsl:text>
- </xsl:attribute>
- <xsl:attribute
name="data-validation-error-msg">
+ </input>
+ </div>
+ <div
class="pure-control-group">
+ <label>
<xsl:value-of select="php:function('lang', 'timespan')"/>
- </xsl:attribute>
- <xsl:attribute
name="placeholder">
-
<xsl:value-of select="php:function('lang', 'timespan')"/>
- </xsl:attribute>
+ </label>
+ <input
type="text" id="timespan" name="timespan" value="{application/timespan}">
+
<xsl:attribute name="data-validation">
+
<xsl:text>number</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-error-msg">
+
<xsl:value-of select="php:function('lang', 'timespan')"/>
+
</xsl:attribute>
+
<xsl:attribute name="placeholder">
+
<xsl:value-of select="php:function('lang', 'timespan')"/>
+
</xsl:attribute>
- </input>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'charge per unit')"/>
- </label>
- <input type="text"
id="charge_per_unit" name="charge_per_unit"
value="{application/charge_per_unit}">
- <xsl:attribute
name="data-validation">
-
<xsl:text>number</xsl:text>
- </xsl:attribute>
- <xsl:attribute
name="data-validation-error-msg">
+ </input>
+ </div>
+ <div
class="pure-control-group">
+ <label>
<xsl:value-of select="php:function('lang', 'charge per unit')"/>
- </xsl:attribute>
- <xsl:attribute
name="placeholder">
-
<xsl:value-of select="php:function('lang', 'integer')"/>
- </xsl:attribute>
+ </label>
+ <input
type="text" id="charge_per_unit" name="charge_per_unit"
value="{application/charge_per_unit}">
+
<xsl:attribute name="data-validation">
+
<xsl:text>number</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-error-msg">
+
<xsl:value-of select="php:function('lang', 'charge per unit')"/>
+
</xsl:attribute>
+
<xsl:attribute name="placeholder">
+
<xsl:value-of select="php:function('lang', 'integer')"/>
+
</xsl:attribute>
- </input>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'number of units')"/>
- </label>
- <input type="text"
id="number_of_units" name="number_of_units"
value="{application/number_of_units}">
- <xsl:attribute
name="data-validation">
-
<xsl:text>number</xsl:text>
- </xsl:attribute>
- <xsl:attribute
name="data-validation-error-msg">
+ </input>
+ </div>
+ <div
class="pure-control-group">
+ <label>
<xsl:value-of select="php:function('lang', 'number of units')"/>
- </xsl:attribute>
- <xsl:attribute
name="placeholder">
-
<xsl:value-of select="php:function('lang', 'integer')"/>
- </xsl:attribute>
+ </label>
+ <input
type="text" id="number_of_units" name="number_of_units"
value="{application/number_of_units}">
+
<xsl:attribute name="data-validation">
+
<xsl:text>number</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-error-msg">
+
<xsl:value-of select="php:function('lang', 'number of units')"/>
+
</xsl:attribute>
+
<xsl:attribute name="placeholder">
+
<xsl:value-of select="php:function('lang', 'integer')"/>
+
</xsl:attribute>
- </input>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'total amount')"/>
- </label>
- <input
id="total_amount" type="text" disabled="disabled"/>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'title')"/>
- </label>
- <input type="text"
id="title" name="title" value="{application/title}">
- <xsl:attribute
name="data-validation">
-
<xsl:text>required</xsl:text>
- </xsl:attribute>
- <xsl:attribute
name="data-validation-error-msg">
+ </input>
+ </div>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'total amount')"/>
+ </label>
+ <input
id="total_amount" type="text" disabled="disabled"/>
+ </div>
+ <div
class="pure-control-group">
+ <label>
<xsl:value-of select="php:function('lang', 'title')"/>
- </xsl:attribute>
- <xsl:attribute
name="placeholder">
-
<xsl:value-of select="php:function('lang', 'title')"/>
- </xsl:attribute>
- </input>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'description')"/>
- </label>
- <textarea cols="47"
rows="7" name="description">
- <xsl:attribute
name="title">
-
<xsl:value-of select="php:function('lang', 'might be published')"/>
- </xsl:attribute>
- <xsl:value-of
select="application/description"/>
- </textarea>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'remark')"/>
- </label>
- <textarea cols="47"
rows="7" name="remark">
- <xsl:value-of
select="application/remark"/>
- </textarea>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'comment')"/>
- </label>
- <textarea cols="47"
rows="7" name="comment">
- <xsl:value-of
select="application/comment"/>
- </textarea>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'history')"/>
- </label>
- <div
class="pure-custom">
- <xsl:for-each
select="datatable_def">
- <xsl:if
test="container = 'datatable-container_0'">
-
<xsl:call-template name="table_setup">
-
<xsl:with-param name="container" select ='container'/>
-
<xsl:with-param name="requestUrl" select ='requestUrl'/>
-
<xsl:with-param name="ColumnDefs" select ='ColumnDefs'/>
-
<xsl:with-param name="data" select ='data'/>
-
<xsl:with-param name="config" select ='config'/>
-
</xsl:call-template>
+ </label>
+ <input
type="text" id="title" name="title" value="{application/title}">
+
<xsl:attribute name="data-validation">
+
<xsl:text>required</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-error-msg">
+
<xsl:value-of select="php:function('lang', 'title')"/>
+
</xsl:attribute>
+
<xsl:attribute name="placeholder">
+
<xsl:value-of select="php:function('lang', 'title')"/>
+
</xsl:attribute>
+ </input>
+ </div>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'description')"/>
+ </label>
+ <textarea
cols="47" rows="7" name="description">
+
<xsl:attribute name="title">
+
<xsl:value-of select="php:function('lang', 'might be published')"/>
+
</xsl:attribute>
+
<xsl:value-of select="application/description"/>
+ </textarea>
+ </div>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'remark')"/>
+ </label>
+ <textarea
cols="47" rows="7" name="remark">
+
<xsl:value-of select="application/remark"/>
+ </textarea>
+ </div>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'comment')"/>
+ </label>
+ <textarea
cols="47" rows="7" name="comment">
+
<xsl:value-of select="application/comment"/>
+ </textarea>
+ </div>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'history')"/>
+ </label>
+ <div
class="pure-custom">
+
<xsl:for-each select="datatable_def">
+
<xsl:if test="container = 'datatable-container_0'">
+
<xsl:call-template name="table_setup">
+
<xsl:with-param name="container" select ='container'/>
+
<xsl:with-param name="requestUrl" select ='requestUrl'/>
+
<xsl:with-param name="ColumnDefs" select ='ColumnDefs'/>
+
<xsl:with-param name="data" select ='data'/>
+
<xsl:with-param name="config" select ='config'/>
+
</xsl:call-template>
+
</xsl:if>
+
</xsl:for-each>
+ </div>
+ </div>
+ </fieldset>
+ </div>
+ <div id="demands">
+ <fieldset>
+ <legend>
+ <xsl:value-of
select="php:function('lang', 'arena requirement')"/>
+ </legend>
+
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'stage')"/>
+ </label>
+ <input
type="text" id="stage_width" name="stage_width"
value="{application/stage_width}">
+
<xsl:attribute name="title">
+
<xsl:value-of select="php:function('lang', 'width')"/>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation">
+
<xsl:text>number</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-optional">
+
<xsl:text>true</xsl:text>
+
</xsl:attribute>
+ </input>
+ <xsl:text> X
</xsl:text>
+ <input
type="text" id="stage_depth" name="stage_depth"
value="{application/stage_depth}">
+
<xsl:attribute name="data-validation">
+
<xsl:text>number</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="title">
+
<xsl:value-of select="php:function('lang', 'depth')"/>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-optional">
+
<xsl:text>true</xsl:text>
+
</xsl:attribute>
+ </input>
+ <xsl:text> M
</xsl:text>
+ <input
id="stage_size" type="text" disabled="disabled"/>
+ </div>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'stage requirement')"/>
+ </label>
+ <textarea
cols="47" rows="7" name="stage_requirement">
+
<xsl:value-of select="application/stage_requirement"/>
+ </textarea>
+ </div>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'wardrobe')"/>
+ </label>
+ <input
type="checkbox" name="wardrobe" id="wardrobe" value="1">
+ <xsl:if
test="application/wardrobe = 1">
+
<xsl:attribute name="checked" value="checked"/>
</xsl:if>
- </xsl:for-each>
+ </input>
</div>
- </div>
- </fieldset>
- </div>
- <div id="demands">
- <fieldset>
- <legend>
- <xsl:value-of
select="php:function('lang', 'arena requirement')"/>
- </legend>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'audience limit')"/>
+ </label>
+ <input
type="text" id="audience_limit" name="audience_limit"
value="{application/audience_limit}">
+
<xsl:attribute name="data-validation">
+
<xsl:text>required</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-error-msg">
+
<xsl:value-of select="php:function('lang', 'audience_limit')"/>
+
</xsl:attribute>
+
<xsl:attribute name="placeholder">
+
<xsl:value-of select="php:function('lang', 'integer')"/>
+
</xsl:attribute>
+ </input>
+ </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'stage')"/>
- </label>
- <input type="text"
id="stage_width" name="stage_width" value="{application/stage_width}">
- <xsl:attribute
name="title">
-
<xsl:value-of select="php:function('lang', 'width')"/>
- </xsl:attribute>
- <xsl:attribute
name="data-validation">
-
<xsl:text>number</xsl:text>
- </xsl:attribute>
- <xsl:attribute
name="data-validation-optional">
-
<xsl:text>true</xsl:text>
- </xsl:attribute>
- </input>
- <xsl:text> X </xsl:text>
- <input type="text"
id="stage_depth" name="stage_depth" value="{application/stage_depth}">
- <xsl:attribute
name="data-validation">
-
<xsl:text>number</xsl:text>
- </xsl:attribute>
- <xsl:attribute
name="title">
-
<xsl:value-of select="php:function('lang', 'depth')"/>
- </xsl:attribute>
- <xsl:attribute
name="data-validation-optional">
-
<xsl:text>true</xsl:text>
- </xsl:attribute>
- </input>
- <xsl:text> M </xsl:text>
- <input id="stage_size"
type="text" disabled="disabled"/>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'stage requirement')"/>
- </label>
- <textarea cols="47"
rows="7" name="stage_requirement">
- <xsl:value-of
select="application/stage_requirement"/>
- </textarea>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'wardrobe')"/>
- </label>
- <input type="checkbox"
name="wardrobe" id="wardrobe" value="1">
- <xsl:if
test="application/wardrobe = 1">
-
<xsl:attribute name="checked" value="checked"/>
- </xsl:if>
- </input>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'audience limit')"/>
- </label>
- <input type="text"
id="audience_limit" name="audience_limit" value="{application/audience_limit}">
- <xsl:attribute
name="data-validation">
-
<xsl:text>required</xsl:text>
- </xsl:attribute>
- <xsl:attribute
name="data-validation-error-msg">
-
<xsl:value-of select="php:function('lang', 'audience_limit')"/>
- </xsl:attribute>
- <xsl:attribute
name="placeholder">
-
<xsl:value-of select="php:function('lang', 'integer')"/>
- </xsl:attribute>
- </input>
- </div>
+ </fieldset>
+ <fieldset>
+ <legend>
+ <xsl:value-of
select="php:function('lang', 'labour support')"/>
+ </legend>
- </fieldset>
- <fieldset>
- <legend>
- <xsl:value-of
select="php:function('lang', 'labour support')"/>
- </legend>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'support')"/>
+ </label>
+ <div
class="pure-custom">
+ <table
class="pure-table pure-table-bordered" border="0" cellspacing="2"
cellpadding="2">
+
<thead>
+
<tr>
+
<th></th>
+
<th>minutt før</th>
+
<th>Antall personer</th>
+
<th>minutt etter</th>
+
</tr>
+
</thead>
+
<tbody>
+
<tr>
+
<td>Hjelp til opprigging</td>
+
<td>
+
<input type="text" id="rig_up_min_before"
name="rig_up_min_before" value="{application/rig_up_min_before}" size="3">
+
<xsl:attribute name="data-validation">
+
<xsl:text>number</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-optional">
+
<xsl:text>true</xsl:text>
+
</xsl:attribute>
+
</input>
+
</td>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'support')"/>
- </label>
- <div
class="pure-custom">
- <table
class="pure-table pure-table-bordered" border="0" cellspacing="2"
cellpadding="2">
- <thead>
-
<tr>
-
<th></th>
-
<th>minutt før</th>
-
<th>Antall personer</th>
-
<th>minutt etter</th>
-
</tr>
- </thead>
- <tbody>
-
<tr>
-
<td>Hjelp til opprigging</td>
-
<td>
-
<input type="text" id="rig_up_min_before"
name="rig_up_min_before" value="{application/rig_up_min_before}" size="3">
-
<xsl:attribute name="data-validation">
-
<xsl:text>number</xsl:text>
-
</xsl:attribute>
-
<xsl:attribute name="data-validation-optional">
-
<xsl:text>true</xsl:text>
-
</xsl:attribute>
-
</input>
-
</td>
+
<td>
+
<input type="text" id="rig_up_num_person"
name="rig_up_num_person" value="{application/rig_up_num_person}" size="3">
+
<xsl:attribute name="data-validation">
+
<xsl:text>number</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-optional">
+
<xsl:text>true</xsl:text>
+
</xsl:attribute>
+
</input>
+
</td>
+
<td>
+
</td>
+
</tr>
+
<tr>
+
<td>Hjelp undervegs i arrangement</td>
+
<td>
+
</td>
-
<td>
-
<input type="text" id="rig_up_num_person"
name="rig_up_num_person" value="{application/rig_up_num_person}" size="3">
-
<xsl:attribute name="data-validation">
-
<xsl:text>number</xsl:text>
-
</xsl:attribute>
-
<xsl:attribute name="data-validation-optional">
-
<xsl:text>true</xsl:text>
-
</xsl:attribute>
-
</input>
-
</td>
-
<td>
-
</td>
-
</tr>
-
<tr>
-
<td>Hjelp undervegs i arrangement</td>
-
<td>
-
</td>
+
<td>
+
<input type="text" id="during_num_person"
name="during_num_person" value="{application/during_num_person}" size="3">
+
<xsl:attribute name="data-validation">
+
<xsl:text>number</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-optional">
+
<xsl:text>true</xsl:text>
+
</xsl:attribute>
+
</input>
+
</td>
+
<td>
+
</td>
+
</tr>
+
<tr>
+
<td>Hjelp til nedrigging</td>
+
<td>
+
</td>
-
<td>
-
<input type="text" id="during_num_person"
name="during_num_person" value="{application/during_num_person}" size="3">
-
<xsl:attribute name="data-validation">
-
<xsl:text>number</xsl:text>
-
</xsl:attribute>
-
<xsl:attribute name="data-validation-optional">
-
<xsl:text>true</xsl:text>
-
</xsl:attribute>
-
</input>
-
</td>
-
<td>
-
</td>
-
</tr>
-
<tr>
-
<td>Hjelp til nedrigging</td>
-
<td>
-
</td>
-
-
<td>
-
<input type="text" id="rig_down_num_person"
name="rig_down_num_person" value="{application/rig_down_num_person}" size="3">
-
<xsl:attribute name="data-validation">
-
<xsl:text>number</xsl:text>
-
</xsl:attribute>
-
<xsl:attribute name="data-validation-optional">
-
<xsl:text>true</xsl:text>
-
</xsl:attribute>
-
</input>
-
</td>
-
<td>
-
<input type="text" id="rig_down_min_after"
name="rig_down_min_after" value="{application/rig_down_min_after}" size="3">
-
<xsl:attribute name="data-validation">
-
<xsl:text>number</xsl:text>
-
</xsl:attribute>
-
<xsl:attribute name="data-validation-optional">
-
<xsl:text>true</xsl:text>
-
</xsl:attribute>
-
</input>
-
</td>
-
</tr>
- </tbody>
- </table>
+
<td>
+
<input type="text" id="rig_down_num_person"
name="rig_down_num_person" value="{application/rig_down_num_person}" size="3">
+
<xsl:attribute name="data-validation">
+
<xsl:text>number</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-optional">
+
<xsl:text>true</xsl:text>
+
</xsl:attribute>
+
</input>
+
</td>
+
<td>
+
<input type="text" id="rig_down_min_after"
name="rig_down_min_after" value="{application/rig_down_min_after}" size="3">
+
<xsl:attribute name="data-validation">
+
<xsl:text>number</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-optional">
+
<xsl:text>true</xsl:text>
+
</xsl:attribute>
+
</input>
+
</td>
+
</tr>
+
</tbody>
+ </table>
+ </div>
</div>
- </div>
- </fieldset>
- <fieldset>
- <legend>
- <xsl:value-of
select="php:function('lang', 'technical support')"/>
- </legend>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'support')"/>
- </label>
- <div
class="pure-custom">
- <table
class="pure-table pure-table-bordered" border="0" cellspacing="2"
cellpadding="2">
- <thead>
-
<tr>
-
<th>Hva</th>
-
<th>Ja/Nei</th>
-
<th>Fritekst</th>
-
</tr>
- </thead>
- <tbody>
-
<tr>
-
<td>Strøm</td>
-
<td>
-
<input type="checkbox" name="power" id="power" value="1">
-
<xsl:if test="application/power = 1">
-
<xsl:attribute name="checked" value="checked"/>
-
</xsl:if>
-
</input>
-
</td>
-
<td>
-
<input type="text" id="power_remark" name="power_remark"
value="{application/power_remark}">
-
</input>
-
</td>
-
</tr>
-
<tr>
-
<td>Lydanlegg</td>
-
<td>
-
<input type="checkbox" name="sound" id="sound" value="1">
-
<xsl:if test="application/sound = 1">
-
<xsl:attribute name="checked" value="checked"/>
-
</xsl:if>
-
</input>
-
</td>
-
<td>
-
<input type="text" id="sound_remark" name="sound_remark"
value="{application/sound_remark}">
-
</input>
-
</td>
-
</tr>
-
<tr>
-
<td>Lyssetting/blending</td>
-
<td>
-
<input type="checkbox" name="light" id="light" value="1">
-
<xsl:if test="application/light = 1">
-
<xsl:attribute name="checked" value="checked"/>
-
</xsl:if>
-
</input>
-
</td>
-
<td>
-
<input type="text" id="light_remark" name="light_remark"
value="{application/light_remark}">
-
</input>
-
</td>
-
</tr>
-
<tr>
-
<td>Piano</td>
-
<td>
-
<input type="checkbox" name="piano" id="piano" value="1">
-
<xsl:if test="application/piano = 1">
-
<xsl:attribute name="checked" value="checked"/>
-
</xsl:if>
-
</input>
-
</td>
-
<td>
-
<input type="text" id="piano_remark" name="piano_remark"
value="{application/piano_remark}">
-
</input>
-
</td>
+ </fieldset>
+ <fieldset>
+ <legend>
+ <xsl:value-of
select="php:function('lang', 'technical support')"/>
+ </legend>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'support')"/>
+ </label>
+ <div
class="pure-custom">
+ <table
class="pure-table pure-table-bordered" border="0" cellspacing="2"
cellpadding="2">
+
<thead>
+
<tr>
+
<th>Hva</th>
+
<th>Ja/Nei</th>
+
<th>Fritekst</th>
+
</tr>
+
</thead>
+
<tbody>
+
<tr>
+
<td>Strøm</td>
+
<td>
+
<input type="checkbox" name="power" id="power"
value="1">
+
<xsl:if test="application/power = 1">
+
<xsl:attribute name="checked"
value="checked"/>
+
</xsl:if>
+
</input>
+
</td>
+
<td>
+
<input type="text" id="power_remark"
name="power_remark" value="{application/power_remark}">
+
</input>
+
</td>
+
</tr>
+
<tr>
+
<td>Lydanlegg</td>
+
<td>
+
<input type="checkbox" name="sound" id="sound"
value="1">
+
<xsl:if test="application/sound = 1">
+
<xsl:attribute name="checked"
value="checked"/>
+
</xsl:if>
+
</input>
+
</td>
+
<td>
+
<input type="text" id="sound_remark"
name="sound_remark" value="{application/sound_remark}">
+
</input>
+
</td>
+
</tr>
+
<tr>
+
<td>Lyssetting/blending</td>
+
<td>
+
<input type="checkbox" name="light" id="light"
value="1">
+
<xsl:if test="application/light = 1">
+
<xsl:attribute name="checked"
value="checked"/>
+
</xsl:if>
+
</input>
+
</td>
+
<td>
+
<input type="text" id="light_remark"
name="light_remark" value="{application/light_remark}">
+
</input>
+
</td>
+
</tr>
+
<tr>
+
<td>Piano</td>
+
<td>
+
<input type="checkbox" name="piano" id="piano"
value="1">
+
<xsl:if test="application/piano = 1">
+
<xsl:attribute name="checked"
value="checked"/>
+
</xsl:if>
+
</input>
+
</td>
+
<td>
+
<input type="text" id="piano_remark"
name="piano_remark" value="{application/piano_remark}">
+
</input>
+
</td>
-
</tr>
-
<tr>
-
<td>Anna utstyr (prosjektor, lerret mm)</td>
-
<td>
-
</td>
-
<td>
-
<input type="text" id="equipment_remark"
name="equipment_remark" value="{application/equipment_remark}">
-
</input>
-
</td>
-
</tr>
- </tbody>
- </table>
+
</tr>
+
<tr>
+
<td>Anna utstyr (prosjektor, lerret mm)</td>
+
<td>
+
</td>
+
<td>
+
<input type="text" id="equipment_remark"
name="equipment_remark" value="{application/equipment_remark}">
+
</input>
+
</td>
+
</tr>
+
</tbody>
+ </table>
+ </div>
</div>
- </div>
- </fieldset>
- <fieldset>
- <legend>
- <xsl:value-of
select="php:function('lang', 'raider')"/>
- </legend>
- <div class="pure-control-group">
- <label>
+ </fieldset>
+ <fieldset>
+ <legend>
<xsl:value-of
select="php:function('lang', 'raider')"/>
- </label>
- <textarea cols="47"
rows="7" name="raider">
- <xsl:value-of
select="application/raider"/>
- </textarea>
- </div>
- </fieldset>
- </div>
- <div id='calendar'>
- <fieldset>
+ </legend>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'raider')"/>
+ </label>
+ <textarea
cols="47" rows="7" name="raider">
+
<xsl:value-of select="application/raider"/>
+ </textarea>
+ </div>
+ </fieldset>
+ </div>
+ <div id='calendar'>
+ <fieldset>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'date start')"/>
- </label>
- <xsl:if
test="application/date_start != 0 and application/date_start != ''">
- <xsl:value-of
select="php:function('date', $date_format, number(application/date_start))"/>
- </xsl:if>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'date end')"/>
- </label>
- <xsl:if
test="application/date_end != 0 and application/date_end != ''">
- <xsl:value-of
select="php:function('date', $date_format, number(application/date_end))"/>
- </xsl:if>
- </div>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'date start')"/>
+ </label>
+ <xsl:if
test="application/date_start != 0 and application/date_start != ''">
+
<xsl:value-of select="php:function('date', $date_format,
number(application/date_start))"/>
+ </xsl:if>
+ </div>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'date end')"/>
+ </label>
+ <xsl:if
test="application/date_end != 0 and application/date_end != ''">
+
<xsl:value-of select="php:function('date', $date_format,
number(application/date_end))"/>
+ </xsl:if>
+ </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'from')"/>
- </label>
- <input type="text"
id="from_" name="from_" size="16" readonly="readonly">
- </input>
- </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'to')"/>
- </label>
- <input type="text"
id="to_" name="to_" size="16" readonly="readonly">
- </input>
- </div>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'from')"/>
+ </label>
+ <input
type="text" id="from_" name="from_" size="16" readonly="readonly">
+ </input>
+ </div>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'to')"/>
+ </label>
+ <input
type="text" id="to_" name="to_" size="16" readonly="readonly">
+ </input>
+ </div>
- <div class="pure-control-group">
- <label>
- <xsl:value-of
select="php:function('lang', 'dates')"/>
- </label>
- <div
class="pure-custom">
- <xsl:for-each
select="datatable_def">
- <xsl:if
test="container = 'datatable-container_1'">
-
<xsl:call-template name="table_setup">
-
<xsl:with-param name="container" select ='container'/>
-
<xsl:with-param name="requestUrl" select ='requestUrl'/>
-
<xsl:with-param name="ColumnDefs" select ='ColumnDefs'/>
-
<xsl:with-param name="tabletools" select ='tabletools'/>
-
<xsl:with-param name="data" select ='data'/>
-
<xsl:with-param name="config" select ='config'/>
-
</xsl:call-template>
-
</xsl:if>
- </xsl:for-each>
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'dates')"/>
+ </label>
+ <div
class="pure-custom">
+
<xsl:for-each select="datatable_def">
+
<xsl:if test="container = 'datatable-container_1'">
+
<xsl:call-template name="table_setup">
+
<xsl:with-param name="container" select ='container'/>
+
<xsl:with-param name="requestUrl" select ='requestUrl'/>
+
<xsl:with-param name="ColumnDefs" select ='ColumnDefs'/>
+
<xsl:with-param name="tabletools" select ='tabletools'/>
+
<xsl:with-param name="data" select ='data'/>
+
<xsl:with-param name="config" select ='config'/>
+
</xsl:call-template>
+
</xsl:if>
+
</xsl:for-each>
+ </div>
</div>
- </div>
- </fieldset>
+ </fieldset>
+ </div>
+
</div>
-
- </div>
- <div id="submit_group_bottom" class="proplist-col">
- <input type="submit" class="pure-button
pure-button-primary" name="save">
- <xsl:attribute name="value">
- <xsl:value-of
select="php:function('lang', 'save')"/>
- </xsl:attribute>
- </input>
- <xsl:variable name="cancel_url">
- <xsl:value-of select="cancel_url"/>
- </xsl:variable>
- <input type="button" class="pure-button
pure-button-primary" name="cancel" onClick="window.location = '{cancel_url}';">
- <xsl:attribute name="value">
- <xsl:value-of
select="php:function('lang', 'cancel')"/>
- </xsl:attribute>
- </input>
- </div>
- </form>
+ <div id="submit_group_bottom"
class="proplist-col">
+ <input type="submit" class="pure-button
pure-button-primary" name="save">
+ <xsl:attribute name="value">
+ <xsl:value-of
select="php:function('lang', 'save')"/>
+ </xsl:attribute>
+ </input>
+ <xsl:variable name="cancel_url">
+ <xsl:value-of
select="cancel_url"/>
+ </xsl:variable>
+ <input type="button" class="pure-button
pure-button-primary" name="cancel" onClick="window.location = '{cancel_url}';">
+ <xsl:attribute name="value">
+ <xsl:value-of
select="php:function('lang', 'cancel')"/>
+ </xsl:attribute>
+ </input>
+ </div>
+ </form>
+ </div>
</div>
</xsl:template>
Modified: trunk/phpgwapi/templates/bookingfrontend/css/frontend.css
===================================================================
--- trunk/phpgwapi/templates/bookingfrontend/css/frontend.css 2016-11-02
12:45:16 UTC (rev 15939)
+++ trunk/phpgwapi/templates/bookingfrontend/css/frontend.css 2016-11-02
14:19:13 UTC (rev 15940)
@@ -14,8 +14,6 @@
* Most of these are inherited from Base, but I want to change a few.
*/
body {
- line-height: 1.7em;
-/* color: #7f8c8d;*/
font-size: 13px;
}
@@ -60,40 +58,9 @@
* -- PURE FORM STYLES --
* Style the form inputs and labels
*/
-.pure-form label {
- margin: 1em 0 0;
- font-weight: bold;
- font-size: 100%;
-}
-.pure-form input[type] {
- border: 2px solid #ddd;
- box-shadow: none;
- font-size: 100%;
- width: 100%;
- margin-bottom: 1em;
-}
/*
- * -- PURE BUTTON STYLES --
- * I want my pure-button elements to look a little different
- */
-.pure-button {
- background-color: #1f8dd6;
- color: white;
- padding: 0.5em 2em;
- border-radius: 5px;
-}
-
-a.pure-button-primary {
- background: white;
- color: #1f8dd6;
- border-radius: 5px;
- font-size: 120%;
-}
-
-
-/*
* -- MENU STYLES --
* I want to customize how my .pure-menu looks at the top of the page
*/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [15940] more on template,
sigurdne <=