[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [16433] formatting column selector
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [16433] formatting column selector |
Date: |
Tue, 14 Mar 2017 03:39:38 -0400 (EDT) |
Revision: 16433
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16433
Author: sigurdne
Date: 2017-03-14 03:39:38 -0400 (Tue, 14 Mar 2017)
Log Message:
-----------
formatting column selector
Modified Paths:
--------------
trunk/property/templates/base/columns.xsl
Modified: trunk/property/templates/base/columns.xsl
===================================================================
--- trunk/property/templates/base/columns.xsl 2017-03-14 01:47:40 UTC (rev
16432)
+++ trunk/property/templates/base/columns.xsl 2017-03-14 07:39:38 UTC (rev
16433)
@@ -11,30 +11,29 @@
<!-- New template-->
<xsl:template match="columns">
<div class='body'>
- <form method="post" name="form" action="{form_action}" class=
"pure-form pure-form-aligned">
- <table cellpadding="2" cellspacing="2" width="80%"
align="center">
- <xsl:choose>
- <xsl:when test="msgbox_data != ''">
- <tr>
- <td align="left"
colspan="3">
-
<xsl:call-template name="msgbox"/>
- </td>
- </tr>
- </xsl:when>
- </xsl:choose>
- </table>
- <div class="proplist-col">
- <input type="submit" class="pure-button
pure-button-primary" name="values[save]">
- <xsl:attribute name="value">
- <xsl:value-of
select="php:function('lang', 'save')"/>
- </xsl:attribute>
- </input>
- </div>
-
+ <table cellpadding="2" cellspacing="2" width="80%"
align="center">
+ <xsl:choose>
+ <xsl:when test="msgbox_data != ''">
+ <tr>
+ <td align="left" colspan="3">
+ <xsl:call-template
name="msgbox"/>
+ </td>
+ </tr>
+ </xsl:when>
+ </xsl:choose>
+ </table>
+ <form method="post" name="form" action="{form_action}" class=
"pure-form pure-form-stacked">
<fieldset>
<legend>
<xsl:value-of select="lang_columns"/>
</legend>
+ <div class="proplist-col">
+ <input type="submit" class="pure-button
pure-button-primary" name="values[save]">
+ <xsl:attribute name="value">
+ <xsl:value-of
select="php:function('lang', 'save')"/>
+ </xsl:attribute>
+ </input>
+ </div>
<div class="pure-g">
<xsl:apply-templates
select="column_list"/>
</div>
@@ -49,20 +48,17 @@
<xsl:value-of select="id"/>
</xsl:variable>
<div class="pure-u-1 pure-u-sm-1-3">
- <div class="pure-u-1">
- <div class="pure-control-group">
- <label>
- <xsl:value-of select="name"/>
- </label>
- <xsl:choose>
- <xsl:when test="selected">
- <input id="column{$id}"
name="values[columns][]" value="{$id}" checked="checked" type="checkbox"/>
- </xsl:when>
- <xsl:otherwise>
- <input id="column{$id}"
name="values[columns][]" value="{$id}" type="checkbox"/>
- </xsl:otherwise>
- </xsl:choose>
- </div>
+ <div class="pure-control-group">
+ <label for="column{$id}" class="pure-checkbox">
+ <input id="column{$id}" name="values[columns][]"
value="{$id}" type="checkbox">
+ <xsl:if test="selected">
+ <xsl:attribute name="checked">
+ <xsl:text>checked</xsl:text>
+ </xsl:attribute>
+ </xsl:if>
+ </input>
+ <xsl:value-of select="name"/>
+ </label>
</div>
</div>
</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [16433] formatting column selector,
sigurdne <=