[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [16322] formatting
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [16322] formatting |
Date: |
Thu, 16 Feb 2017 10:59:49 -0500 (EST) |
Revision: 16322
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16322
Author: sigurdne
Date: 2017-02-16 10:59:49 -0500 (Thu, 16 Feb 2017)
Log Message:
-----------
formatting
Modified Paths:
--------------
trunk/property/templates/base/entity.xsl
trunk/property/templates/base/tts.xsl
Modified: trunk/property/templates/base/entity.xsl
===================================================================
--- trunk/property/templates/base/entity.xsl 2017-02-16 15:59:36 UTC (rev
16321)
+++ trunk/property/templates/base/entity.xsl 2017-02-16 15:59:49 UTC (rev
16322)
@@ -489,20 +489,18 @@
<fieldset>
<xsl:choose>
<xsl:when test="mode='edit'">
-
<tr>
+
<div class="pure-control-group">
<xsl:variable name="lang_entity_group">
<xsl:value-of select="php:function('lang', 'entity group')"/>
</xsl:variable>
-
<td>
+
<label>
<xsl:value-of select="$lang_entity_group"/>
-
</td>
-
<td valign="top">
-
<select name="values[entity_group_id]"
title="$lang_entity_group">
-
<xsl:apply-templates
select="entity_group_list/options"/>
-
</select>
-
<xsl:value-of select="entity_group_name"/>
-
</td>
-
</tr>
+
</label>
+
<select name="values[entity_group_id]" title="$lang_entity_group">
+
<xsl:apply-templates select="entity_group_list/options"/>
+
</select>
+
<xsl:value-of select="entity_group_name"/>
+
</div>
<xsl:choose>
<xsl:when test="org_unit='1'">
@@ -741,8 +739,8 @@
</div>
</xsl:for-each>
- <xsl:choose>
- <xsl:when test="value_id!='' and documents =1">
+ <xsl:choose>
+ <xsl:when test="value_id!='' and
documents =1">
<div id="document">
<div
class="pure-control-group">
<label>
@@ -753,21 +751,21 @@
</select>
</div>
- <xsl:for-each
select="datatable_def">
- <xsl:if
test="container = 'datatable-container_7'">
-
<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>
+ <xsl:for-each
select="datatable_def">
+ <xsl:if
test="container = 'datatable-container_7'">
+
<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>
- </xsl:when>
- </xsl:choose>
+ </xsl:when>
+ </xsl:choose>
<xsl:choose>
<xsl:when test="value_id !='' and
enable_bulk = 0">
Modified: trunk/property/templates/base/tts.xsl
===================================================================
--- trunk/property/templates/base/tts.xsl 2017-02-16 15:59:36 UTC (rev
16321)
+++ trunk/property/templates/base/tts.xsl 2017-02-16 15:59:49 UTC (rev
16322)
@@ -1327,17 +1327,17 @@
<xsl:if test="simple !='1'">
<hr noshade="noshade" width="100%" align="center" size="1"/>
- <div class="proplist-col">
+ <div class="pure-g">
<xsl:choose>
<xsl:when test="request_link != ''">
<xsl:variable name="request_link">
<xsl:value-of
select="request_link"/>
</xsl:variable>
- <form method="post"
action="{$request_link}">
+ <form method="post"
action="{$request_link}" class="pure-u-1-1 pure-u-md-1-2">
<xsl:variable
name="lang_generate_request">
<xsl:value-of
select="php:function('lang', 'Generate Request')"/>
</xsl:variable>
- <input type="submit"
class="pure-button pure-button-primary" name="location"
value="{$lang_generate_request}">
+ <input type="submit"
class="pure-button pure-button-primary pure-u-24-24" name="location"
value="{$lang_generate_request}">
<xsl:attribute
name="title">
<xsl:value-of
select="php:function('lang', 'click this to generate a request with this
information')"/>
</xsl:attribute>
@@ -1350,11 +1350,11 @@
<xsl:variable name="order_link">
<xsl:value-of
select="order_link"/>
</xsl:variable>
- <form method="post"
action="{$order_link}">
+ <form method="post"
action="{$order_link}" class="pure-u-1-1 pure-u-md-1-2">
<xsl:variable
name="lang_generate_project">
<xsl:value-of
select="php:function('lang', 'generate new project')"/>
</xsl:variable>
- <input type="submit"
class="pure-button pure-button-primary" name="location"
value="{$lang_generate_project}">
+ <input type="submit"
class="pure-button pure-button-primary pure-u-24-24" name="location"
value="{$lang_generate_project}">
<xsl:attribute
name="title">
<xsl:value-of
select="php:function('lang', 'click this to generate a project with this
information')"/>
</xsl:attribute>
@@ -1364,11 +1364,11 @@
<xsl:variable
name="add_to_project_link">
<xsl:value-of
select="add_to_project_link"/>
</xsl:variable>
- <form method="post"
action="{$add_to_project_link}">
+ <form method="post"
action="{$add_to_project_link}" class="pure-u-1-1 pure-u-md-1-2">
<xsl:variable
name="lang_add_to_project">
<xsl:value-of
select="php:function('lang', 'add to project')"/>
</xsl:variable>
- <input type="submit"
class="pure-button pure-button-primary" name="location"
value="{$lang_add_to_project}">
+ <input type="submit"
class="pure-button pure-button-primary pure-u-24-24" name="location"
value="{$lang_add_to_project}">
<xsl:attribute
name="title">
<xsl:value-of
select="php:function('lang', 'click this to add an order to an existing
project')"/>
</xsl:attribute>
@@ -1382,11 +1382,11 @@
<xsl:variable name="link">
<xsl:value-of
select="link"/>
</xsl:variable>
- <form method="post"
action="{$link}">
+ <form method="post"
action="{$link}" class="pure-u-1-1 pure-u-md-1-2">
<xsl:variable
name="name">
<xsl:value-of
select="name"/>
</xsl:variable>
- <input type="submit"
class="pure-button pure-button-primary" name="location" value="{$name}"
onMouseout="window.status='';return true;">
+ <input type="submit"
class="pure-button pure-button-primary pure-u-24-24" name="location"
value="{$name}">
<xsl:attribute
name="title">
<xsl:value-of select="lang_start_statustext"/>
</xsl:attribute>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [16322] formatting,
sigurdne <=