fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17171] property: formatting


From: sigurdne
Subject: [Fmsystem-commits] [17171] property: formatting
Date: Thu, 19 Oct 2017 15:48:09 -0400 (EDT)

Revision: 17171
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17171
Author:   sigurdne
Date:     2017-10-19 15:48:09 -0400 (Thu, 19 Oct 2017)
Log Message:
-----------
property: formatting

Modified Paths:
--------------
    trunk/property/inc/class.uirequest.inc.php
    trunk/property/templates/base/attributes_form.xsl
    trunk/property/templates/base/request.xsl

Modified: trunk/property/inc/class.uirequest.inc.php
===================================================================
--- trunk/property/inc/class.uirequest.inc.php  2017-10-19 19:30:04 UTC (rev 
17170)
+++ trunk/property/inc/class.uirequest.inc.php  2017-10-19 19:48:09 UTC (rev 
17171)
@@ -1559,7 +1559,7 @@
                                'lang_cat_statustext' => lang('Select the 
category the request belongs to. To do not use a category select NO CATEGORY'),
                                'value_cat_id' => $values['cat_id'],
                                'cat_select' => 
$this->cats->formatted_xslt_list(array('select_name' => 'values[cat_id]',
-                                       'selected' => $values['cat_id'], 
'class' => 'required', 'required' => true)),
+                                       'selected' => $values['cat_id'], 
'class' => 'required pure-input-1-2', 'required' => true)),
                                'lang_coordinator' => 
isset($this->config->config_data['lang_request_coordinator']) && 
$this->config->config_data['lang_request_coordinator'] ? 
$this->config->config_data['lang_request_coordinator'] : lang('request 
coordinator'),
                                'lang_user_statustext' => lang('Select the 
coordinator the request belongs to. To do not use a category select NO USER'),
                                'select_user_name' => 'values[coordinator]',

Modified: trunk/property/templates/base/attributes_form.xsl
===================================================================
--- trunk/property/templates/base/attributes_form.xsl   2017-10-19 19:30:04 UTC 
(rev 17170)
+++ trunk/property/templates/base/attributes_form.xsl   2017-10-19 19:48:09 UTC 
(rev 17171)
@@ -126,7 +126,7 @@
                                                <xsl:call-template 
name="choice"/>
                                        </xsl:when>
                                        <xsl:when test="datatype='LB'">
-                                               <select id="id_{name}" 
name="values_attribute[{id}][value]" title="{$statustext}">
+                                               <select id="id_{name}" 
name="values_attribute[{id}][value]" title="{$statustext}" 
class="pure-input-1-2" >
                                                        <xsl:choose>
                                                                <xsl:when 
test="disabled!=''">
                                                                        
<xsl:attribute name="disabled">

Modified: trunk/property/templates/base/request.xsl
===================================================================
--- trunk/property/templates/base/request.xsl   2017-10-19 19:30:04 UTC (rev 
17170)
+++ trunk/property/templates/base/request.xsl   2017-10-19 19:48:09 UTC (rev 
17171)
@@ -259,7 +259,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'responsible unit')"/>
                                                        </label>
-                                                       <select 
name="values[responsible_unit]" class="forms" style="width:300px;">
+                                                       <select 
name="values[responsible_unit]" class="pure-input-1-2" >
                                                                <xsl:attribute 
name="title">
                                                                        
<xsl:value-of select="php:function('lang', 'Set responsible unit')"/>
                                                                </xsl:attribute>
@@ -273,7 +273,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'request status')"/>
                                                        </label>
-                                                       <select 
name="values[status]" style="width:200px;">
+                                                       <select 
name="values[status]" class="pure-input-1-2" >
                                                                <xsl:attribute 
name="title">
                                                                        
<xsl:value-of select="php:function('lang', 'Set the status of the request')"/>
                                                                </xsl:attribute>
@@ -323,7 +323,7 @@
                                                                        <label>
                                                                                
<xsl:value-of select="lang_power_meter"/>
                                                                        </label>
-                                                                       <input 
type="text" name="values[power_meter]" value="{value_power_meter}" size="12">
+                                                                       <input 
type="text" name="values[power_meter]" value="{value_power_meter}" size="12" 
class="pure-input-1-2" >
                                                                                
<xsl:attribute name="title">
                                                                                
        <xsl:value-of select="lang_power_meter_statustext"/>
                                                                                
</xsl:attribute>
@@ -344,7 +344,7 @@
                                                <label>
                                                        <xsl:value-of 
select="php:function('lang', 'building part')"/>
                                                </label>
-                                               <select 
data-validation="required" name="values[building_part]">
+                                               <select 
data-validation="required" name="values[building_part]" class="pure-input-1-2" >
                                                        <xsl:attribute 
name="title">
                                                                <xsl:value-of 
select="php:function('lang', 'select building part')"/>
                                                        </xsl:attribute>
@@ -405,7 +405,7 @@
                                                                        <label>
                                                                                
<xsl:value-of select="php:function('lang', 'Authorities Demands')"/>
                                                                        </label>
-                                                                       <select 
name="values[authorities_demands]">
+                                                                       <select 
name="values[authorities_demands]" class="pure-input-1-2" >
                                                                                
<xsl:attribute name="title">
                                                                                
        <xsl:value-of select="php:function('lang', 'Is there a demand from the 
authorities to correct this condition?')"/>
                                                                                
        <xsl:text> + </xsl:text>
@@ -712,7 +712,7 @@
                        </xsl:attribute>
                        <xsl:value-of select="php:function('lang', 'condition 
degree')"/>
                </label>
-               <select name="values[condition][{condition_type}][degree]" 
class="forms">
+               <select name="values[condition][{condition_type}][degree]"  
class="pure-input-1-2" >
                        <xsl:attribute name="title">
                                <xsl:value-of select="php:function('lang', 
'select value')"/>
                        </xsl:attribute>
@@ -728,7 +728,7 @@
                                        </xsl:attribute>
                                        <xsl:value-of 
select="php:function('lang', 'consequence type')"/>
                                </label>
-                               <select 
name="values[condition][{condition_type}][condition_type]" class="forms">
+                               <select 
name="values[condition][{condition_type}][condition_type]"  
class="pure-input-1-2" >
                                        <xsl:attribute name="title">
                                                <xsl:value-of 
select="php:function('lang', 'select value')"/>
                                        </xsl:attribute>
@@ -744,7 +744,7 @@
                        </xsl:attribute>
                        <xsl:value-of select="php:function('lang', 
'Consequence')"/>
                </label>
-               <select name="values[condition][{condition_type}][consequence]" 
class="forms">
+               <select name="values[condition][{condition_type}][consequence]" 
class="pure-input-1-2" >
                        <xsl:attribute name="title">
                                <xsl:value-of select="php:function('lang', 
'select value')"/>
                        </xsl:attribute>
@@ -758,7 +758,7 @@
                        </xsl:attribute>
                        <xsl:value-of select="php:function('lang', 
'Probability')"/>
                </label>
-               <select name="values[condition][{condition_type}][probability]" 
class="forms">
+               <select name="values[condition][{condition_type}][probability]" 
class="pure-input-1-2" >
                        <xsl:attribute name="title">
                                <xsl:value-of select="php:function('lang', 
'select value')"/>
                        </xsl:attribute>




reply via email to

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