fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [14716] apply css layout


From: Sigurd Nes
Subject: [Fmsystem-commits] [14716] apply css layout
Date: Wed, 10 Feb 2016 07:52:25 +0000

Revision: 14716
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14716
Author:   sigurdne
Date:     2016-02-10 07:51:08 +0000 (Wed, 10 Feb 2016)
Log Message:
-----------
apply css layout

Modified Paths:
--------------
    branches/dev-syncromind/rental/templates/base/contract.xsl

Modified: branches/dev-syncromind/rental/templates/base/contract.xsl
===================================================================
--- branches/dev-syncromind/rental/templates/base/contract.xsl  2016-02-09 
20:41:31 UTC (rev 14715)
+++ branches/dev-syncromind/rental/templates/base/contract.xsl  2016-02-10 
07:51:08 UTC (rev 14716)
@@ -79,206 +79,212 @@
                <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="details">
-                                       <input type="hidden" name="id" 
id="contract_id" value="{contract_id}"/>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'field_of_responsibility')"/>
-                                               </label>
+                               <div id="details" class="pure-g">
+                                       <div class="pure-u-1 pure-u-lg-1-2">
+                                               <input type="hidden" name="id" 
id="contract_id" value="{contract_id}"/>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'field_of_responsibility')"/>
+                                                       </label>
+                                                       <xsl:choose>
+                                                               <xsl:when 
test="contract_id = 0 or contract_id = ''">
+                                                                       <input 
type="hidden" name="location_id" id="location_id" value="{location_id}"/>
+                                                               </xsl:when>
+                                                       </xsl:choose>
+                                                       <xsl:value-of 
select="value_field_of_responsibility"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'contract_type')"/>
+                                                       </label>
+                                                       <select 
id="contract_type" name="contract_type">
+                                                               
<xsl:apply-templates select="list_contract_type/options"/>
+                                                       </select>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'executive_officer')"/>
+                                                       </label>
+                                                       <select 
id="executive_officer" name="executive_officer">
+                                                               
<xsl:apply-templates select="list_executive_officer/options"/>
+                                                       </select>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'date_start')"/>
+                                                       </label>
+                                                       <input type="text" 
id="date_start" name="date_start" size="10" value="{value_date_start}" 
readonly="readonly"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'date_end')"/>
+                                                       </label>
+                                                       <input type="text" 
id="date_end" name="date_end" size="10" value="{value_date_end}" 
readonly="readonly"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'due_date')"/>
+                                                       </label>
+                                                       <input type="text" 
id="due_date" name="due_date" size="10" value="{value_due_date}" 
readonly="readonly"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'invoice_header')"/>
+                                                       </label>
+                                                       <input type="text" 
name="invoice_header" value="{value_invoice_header}"></input>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'billing_term')"/>
+                                                       </label>
+                                                       <select 
id="billing_term" name="billing_term">
+                                                               
<xsl:apply-templates select="list_billing_term/options"/>
+                                                       </select>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'billing_start')"/>
+                                                       </label>
+                                                       <input type="text" 
id="billing_start_date" name="billing_start_date" size="10" 
value="{value_billing_start}" readonly="readonly"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'billing_end')"/>
+                                                       </label>
+                                                       <input type="text" 
id="billing_end_date" name="billing_end_date" size="10" 
value="{value_billing_end}" readonly="readonly"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'reference')"/>
+                                                       </label>
+                                                       <input type="text" 
name="reference" value="{value_reference}"></input>
+                                               </div>
+                                       </div>
+                                       <div class="pure-u-1 pure-u-lg-1-2">
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'responsibility')"/>
+                                                       </label>
+                                                       <xsl:choose>
+                                                               <xsl:when 
test="list_responsibility">
+                                                                       <xsl:if 
test="list_responsibility != ''">
+                                                                               
<select id="responsibility_id" name="responsibility_id">
+                                                                               
        <xsl:apply-templates select="list_responsibility/options"/>
+                                                                               
</select>
+                                                                       
</xsl:if>
+                                                                       <xsl:if 
test="list_responsibility = ''">
+                                                                               
<input type="text" name="responsibility_id" id="responsibility_id" 
value="{value_responsibility_id}"/>
+                                                                       
</xsl:if>
+                                                               </xsl:when>
+                                                       </xsl:choose>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'service')"/>
+                                                       </label>
+                                                       <input type="text" 
name="service_id" value="{value_service}"></input>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'account_in')"/>
+                                                       </label>
+                                                       <input type="text" 
name="account_in" value="{value_account_in}"></input>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'account_out')"/>
+                                                       </label>
+                                                       <input type="text" 
name="account_out" value="{value_account_out}"></input>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'project_id')"/>
+                                                       </label>
+                                                       <input type="text" 
name="project_id" value="{value_project_id}"></input>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'security')"/>
+                                                       </label>
+                                                       <select 
id="security_type" name="security_type">
+                                                               
<xsl:apply-templates select="list_security/options"/>
+                                                       </select>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'security_amount')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="security_amount_simbol"/>
+                                                       <input type="text" 
name="security_amount" value="{value_security_amount}"></input>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'rented_area')"/>
+                                                       </label>
+                                                       <input type="text" 
name="rented_area" value="{value_rented_area}"></input>
+                                                       <xsl:value-of 
select="rented_area_simbol"/>
+                                               </div>
                                                <xsl:choose>
-                                                       <xsl:when 
test="contract_id = 0 or contract_id = ''">
-                                                               <input 
type="hidden" name="location_id" id="location_id" value="{location_id}"/>
+                                                       <xsl:when 
test="is_adjustable">
+                                                               <div 
class="pure-control-group">
+                                                                       <label>
+                                                                               
<xsl:value-of select="php:function('lang', 'adjustable')"/>
+                                                                       </label>
+                                                                       <input 
type="checkbox" name="adjustable" id="adjustable">
+                                                                               
<xsl:if test="is_adjustable = 1">
+                                                                               
        <xsl:attribute name="checked" value="checked"/>
+                                                                               
</xsl:if>
+                                                                       </input>
+                                                               </div>
                                                        </xsl:when>
                                                </xsl:choose>
-                                               <xsl:value-of 
select="value_field_of_responsibility"/>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'adjustment_interval')"/>
+                                                       </label>
+                                                       <select 
id="adjustment_interval" name="adjustment_interval">
+                                                               
<xsl:apply-templates select="list_adjustment_interval/options"/>
+                                                       </select>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'adjustment_share')"/>
+                                                       </label>
+                                                       <select 
id="adjustment_share" name="adjustment_share">
+                                                               
<xsl:apply-templates select="list_adjustment_share/options"/>
+                                                       </select>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'adjustment_year')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_adjustment_year"/>
+                                               </div>
                                        </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'contract_type')"/>
-                                               </label>
-                                               <select id="contract_type" 
name="contract_type">
-                                                       <xsl:apply-templates 
select="list_contract_type/options"/>
-                                               </select>
-                                       </div>  
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'executive_officer')"/>
-                                               </label>
-                                               <select id="executive_officer" 
name="executive_officer">
-                                                       <xsl:apply-templates 
select="list_executive_officer/options"/>
-                                               </select>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'date_start')"/>
-                                               </label>
-                                               <input type="text" 
id="date_start" name="date_start" size="10" value="{value_date_start}" 
readonly="readonly"/>
-                                       </div>  
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'date_end')"/>
-                                               </label>
-                                               <input type="text" 
id="date_end" name="date_end" size="10" value="{value_date_end}" 
readonly="readonly"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'due_date')"/>
-                                               </label>
-                                               <input type="text" 
id="due_date" name="due_date" size="10" value="{value_due_date}" 
readonly="readonly"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'invoice_header')"/>
-                                               </label>
-                                               <input type="text" 
name="invoice_header" value="{value_invoice_header}"></input>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'billing_term')"/>
-                                               </label>
-                                               <select id="billing_term" 
name="billing_term">
-                                                       <xsl:apply-templates 
select="list_billing_term/options"/>
-                                               </select>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'billing_start')"/>
-                                               </label>
-                                               <input type="text" 
id="billing_start_date" name="billing_start_date" size="10" 
value="{value_billing_start}" readonly="readonly"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'billing_end')"/>
-                                               </label>
-                                               <input type="text" 
id="billing_end_date" name="billing_end_date" size="10" 
value="{value_billing_end}" readonly="readonly"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'reference')"/>
-                                               </label>
-                                               <input type="text" 
name="reference" value="{value_reference}"></input>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'responsibility')"/>
-                                               </label>
+                                       <div class="pure-u-1 pure-u-lg-1-2">
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'comment')"/>
+                                                       </label>
+                                                       <textarea cols="40" 
rows="10" name="comment" id="comment">
+                                                               <xsl:value-of 
select="value_comment"/>
+                                                       </textarea>
+                                               </div>
                                                <xsl:choose>
-                                                       <xsl:when 
test="list_responsibility">
-                                                               <xsl:if 
test="list_responsibility != ''">
-                                                                       <select 
id="responsibility_id" name="responsibility_id">
-                                                                               
<xsl:apply-templates select="list_responsibility/options"/>
-                                                                       
</select>
-                                                               </xsl:if>
-                                                               <xsl:if 
test="list_responsibility = ''">
-                                                                       <input 
type="text" name="responsibility_id" id="responsibility_id" 
value="{value_responsibility_id}"/>
-                                                               </xsl:if>
+                                                       <xsl:when 
test="value_publish_comment">
+                                                               <div 
class="pure-control-group">
+                                                                       <label>
+                                                                               
<xsl:value-of select="php:function('lang', 'publish_comment')"/>
+                                                                       </label>
+                                                                       <input 
type="checkbox" name="publish_comment" id="publish_comment">
+                                                                               
<xsl:if test="value_publish_comment = 1">
+                                                                               
        <xsl:attribute name="checked" value="checked"/>
+                                                                               
</xsl:if>
+                                                                       </input>
+                                                               </div>
                                                        </xsl:when>
                                                </xsl:choose>
                                        </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'service')"/>
-                                               </label>
-                                               <input type="text" 
name="service_id" value="{value_service}"></input>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'account_in')"/>
-                                               </label>
-                                               <input type="text" 
name="account_in" value="{value_account_in}"></input>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'account_out')"/>
-                                               </label>
-                                               <input type="text" 
name="account_out" value="{value_account_out}"></input>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'project_id')"/>
-                                               </label>
-                                               <input type="text" 
name="project_id" value="{value_project_id}"></input>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'security')"/>
-                                               </label>
-                                               <select id="security_type" 
name="security_type">
-                                                       <xsl:apply-templates 
select="list_security/options"/>
-                                               </select>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'security_amount')"/>
-                                               </label>
-                                               <xsl:value-of 
select="security_amount_simbol"/>
-                                               <input type="text" 
name="security_amount" value="{value_security_amount}"></input>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'rented_area')"/>
-                                               </label>
-                                               <input type="text" 
name="rented_area" value="{value_rented_area}"></input>
-                                               <xsl:value-of 
select="rented_area_simbol"/>
-                                       </div>
-                                       <xsl:choose>
-                                               <xsl:when test="is_adjustable"> 
                        
-                                                       <div 
class="pure-control-group">
-                                                               <label>
-                                                                       
<xsl:value-of select="php:function('lang', 'adjustable')"/>
-                                                               </label>
-                                                               <input 
type="checkbox" name="adjustable" id="adjustable">
-                                                                       <xsl:if 
test="is_adjustable = 1">
-                                                                               
<xsl:attribute name="checked" value="checked"/>
-                                                                       
</xsl:if>
-                                                               </input>
-                                                       </div>
-                                               </xsl:when>
-                                       </xsl:choose>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'adjustment_interval')"/>
-                                               </label>
-                                               <select 
id="adjustment_interval" name="adjustment_interval">
-                                                       <xsl:apply-templates 
select="list_adjustment_interval/options"/>
-                                               </select>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'adjustment_share')"/>
-                                               </label>
-                                               <select id="adjustment_share" 
name="adjustment_share">
-                                                       <xsl:apply-templates 
select="list_adjustment_share/options"/>
-                                               </select>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'adjustment_year')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_adjustment_year"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'comment')"/>
-                                               </label>
-                                               <textarea cols="40" rows="10" 
name="comment" id="comment">
-                                                       <xsl:value-of 
select="value_comment"/>
-                                               </textarea>
-                                       </div>
-                                       <xsl:choose>
-                                               <xsl:when 
test="value_publish_comment">
-                                                       <div 
class="pure-control-group">
-                                                               <label>
-                                                                       
<xsl:value-of select="php:function('lang', 'publish_comment')"/>
-                                                               </label>
-                                                               <input 
type="checkbox" name="publish_comment" id="publish_comment">
-                                                                       <xsl:if 
test="value_publish_comment = 1">
-                                                                               
<xsl:attribute name="checked" value="checked"/>
-                                                                       
</xsl:if>
-                                                               </input>
-                                                       </div>
-                                               </xsl:when>
-                                       </xsl:choose>
                                </div>
                                <xsl:choose>
                                        <xsl:when test="contract_id > 0">
@@ -657,187 +663,195 @@
                <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="details">
-                                       <input type="hidden" name="id" 
id="contract_id" value="{contract_id}"/>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'field_of_responsibility')"/>
-                                               </label>
+                               <div id="details" class="pure-g">
+                                       <div class="pure-u-1 pure-u-lg-1-2">
+                                               <input type="hidden" name="id" 
id="contract_id" value="{contract_id}"/>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'field_of_responsibility')"/>
+                                                       </label>
+                                                       <xsl:choose>
+                                                               <xsl:when 
test="contract_id = 0 or contract_id = ''">
+                                                                       <input 
type="hidden" name="location_id" id="location_id" value="{location_id}"/>
+                                                               </xsl:when>
+                                                       </xsl:choose>
+                                                       <xsl:value-of 
select="value_field_of_responsibility"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'contract_type')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_contract_type"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'executive_officer')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_executive_officer"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'date_start')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_date_start"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'date_emd')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_date_end"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'due_date')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_due_date"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'invoice_header')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_invoice_header"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'billing_term')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_billing_term"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'billing_start')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_billing_start"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'billing_end')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_billing_end"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'reference')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_reference"/>
+                                               </div>
+                                       </div>
+                                       <div class="pure-u-1 pure-u-lg-1-2">
+
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'responsibility')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_responsibility_id"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'service')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_service"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'account_in')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_account_in"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'account_out')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_account_out"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'project_id')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_project_id"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'security')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_security_type"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'security_amount')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="security_amount_simbol"/>
+                                                       <xsl:text> </xsl:text>
+                                                       <xsl:value-of 
select="value_security_amount_view"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'rented_area')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_rented_area"/>
+                                                       <xsl:text> </xsl:text>
+                                                       <xsl:value-of 
select="rented_area_simbol"/>
+                                               </div>
                                                <xsl:choose>
-                                                       <xsl:when 
test="contract_id = 0 or contract_id = ''">
-                                                               <input 
type="hidden" name="location_id" id="location_id" value="{location_id}"/>
+                                                       <xsl:when 
test="is_adjustable = 1">
+                                                               <div 
class="pure-control-group">
+                                                                       <label>
+                                                                               
<xsl:value-of select="php:function('lang', 'adjustable')"/>
+                                                                       </label>
+                                                                       <input 
type="checkbox" name="adjustable" id="adjustable" disabled="disabled">
+                                                                               
<xsl:attribute name="checked" value="checked"/>
+                                                                       </input>
+                                                               </div>
+                                                               <div 
class="pure-control-group">
+                                                                       <label>
+                                                                               
<xsl:value-of select="php:function('lang', 'adjustment_interval')"/>
+                                                                       </label>
+                                                                       
<xsl:value-of select="value_current_interval"/>
+                                                               </div>
+                                                               <div 
class="pure-control-group">
+                                                                       <label>
+                                                                               
<xsl:value-of select="php:function('lang', 'adjustment_share')"/>
+                                                                       </label>
+                                                                       
<xsl:value-of select="value_current_share"/>
+                                                               </div>
+                                                               <div 
class="pure-control-group">
+                                                                       <label>
+                                                                               
<xsl:value-of select="php:function('lang', 'adjustment_year')"/>
+                                                                       </label>
+                                                                       
<xsl:value-of select="value_adjustment_year"/>
+                                                               </div>
                                                        </xsl:when>
+                                                       <xsl:otherwise>
+                                                               <div 
class="pure-control-group">
+                                                                       
<label></label>
+                                                                       
<xsl:value-of select="php:function('lang', 'contract_not_adjustable')"/>
+                                                               </div>
+                                                       </xsl:otherwise>
                                                </xsl:choose>
-                                               <xsl:value-of 
select="value_field_of_responsibility"/>
                                        </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'contract_type')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_contract_type"/>
-                                       </div>  
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'executive_officer')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_executive_officer"/>
+                                       <div class="pure-u-1 pure-u-lg-1-2">
+
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'comment')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_comment"/>
+                                               </div>
+                                               <xsl:choose>
+                                                       <xsl:when 
test="value_publish_comment">
+                                                               <div 
class="pure-control-group">
+                                                                       <label>
+                                                                               
<xsl:value-of select="php:function('lang', 'publish_comment')"/>
+                                                                       </label>
+                                                                       <input 
type="checkbox" name="publish_comment" id="publish_comment" disabled="disabled">
+                                                                               
<xsl:if test="value_publish_comment = 1">
+                                                                               
        <xsl:attribute name="checked" value="checked"/>
+                                                                               
</xsl:if>
+                                                                       </input>
+                                                               </div>
+                                                       </xsl:when>
+                                               </xsl:choose>
                                        </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'date_start')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_date_start"/>
-                                       </div>  
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'date_emd')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_date_end"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'due_date')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_due_date"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'invoice_header')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_invoice_header"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'billing_term')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_billing_term"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'billing_start')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_billing_start"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'billing_end')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_billing_end"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'reference')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_reference"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'responsibility')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_responsibility_id"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'service')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_service"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'account_in')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_account_in"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'account_out')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_account_out"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'project_id')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_project_id"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'security')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_security_type"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'security_amount')"/>
-                                               </label>
-                                               <xsl:value-of 
select="security_amount_simbol"/> 
-                                               <xsl:text> </xsl:text>
-                                               <xsl:value-of 
select="value_security_amount_view"/>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'rented_area')"/>
-                                               </label>                        
                                
-                                               <xsl:value-of 
select="value_rented_area"/> 
-                                               <xsl:text> </xsl:text>
-                                               <xsl:value-of 
select="rented_area_simbol"/>
-                                       </div>
-                                       <xsl:choose>
-                                               <xsl:when test="is_adjustable = 
1">                             
-                                                       <div 
class="pure-control-group">
-                                                               <label>
-                                                                       
<xsl:value-of select="php:function('lang', 'adjustable')"/>
-                                                               </label>
-                                                               <input 
type="checkbox" name="adjustable" id="adjustable" disabled="disabled">
-                                                                       
<xsl:attribute name="checked" value="checked"/>
-                                                               </input>
-                                                       </div>
-                                                       <div 
class="pure-control-group">
-                                                               <label>
-                                                                       
<xsl:value-of select="php:function('lang', 'adjustment_interval')"/>
-                                                               </label> 
-                                                               <xsl:value-of 
select="value_current_interval"/>
-                                                       </div>
-                                                       <div 
class="pure-control-group">
-                                                               <label>
-                                                                       
<xsl:value-of select="php:function('lang', 'adjustment_share')"/>
-                                                               </label>
-                                                               <xsl:value-of 
select="value_current_share"/>
-                                                       </div>
-                                                       <div 
class="pure-control-group">
-                                                               <label>
-                                                                       
<xsl:value-of select="php:function('lang', 'adjustment_year')"/>
-                                                               </label>
-                                                               <xsl:value-of 
select="value_adjustment_year"/>
-                                                       </div>
-                                               </xsl:when>                     
                
-                                               <xsl:otherwise>
-                                                       <div 
class="pure-control-group">
-                                                               <label></label>
-                                                               <xsl:value-of 
select="php:function('lang', 'contract_not_adjustable')"/>
-                                                       </div>
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                                       <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'comment')"/>
-                                               </label>
-                                               <xsl:value-of 
select="value_comment"/>
-                                       </div>
-                                       <xsl:choose>
-                                               <xsl:when 
test="value_publish_comment">
-                                                       <div 
class="pure-control-group">
-                                                               <label>
-                                                                       
<xsl:value-of select="php:function('lang', 'publish_comment')"/>
-                                                               </label>
-                                                               <input 
type="checkbox" name="publish_comment" id="publish_comment" disabled="disabled">
-                                                                       <xsl:if 
test="value_publish_comment = 1">
-                                                                               
<xsl:attribute name="checked" value="checked"/>
-                                                                       
</xsl:if>
-                                                               </input>
-                                                       </div>
-                                               </xsl:when>
-                                       </xsl:choose>
                                </div>
                                <div id="composite">
                                        <script type="text/javascript">




reply via email to

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