You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2016/06/12 13:49:25 UTC
[13/20] struts git commit: Add a class .tdInput for future and use
align attribute with class="align-${parameters.align?html}"
Add a class .tdInput for future and use align attribute with
class="align-${parameters.align?html}"
Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/175d0d42
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/175d0d42
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/175d0d42
Branch: refs/heads/master
Commit: 175d0d42dbb063ad999fef96493ed3b75b9b2c58
Parents: 9e11b2c
Author: victorsosa <vi...@peopleware.do>
Authored: Wed May 25 07:52:23 2016 -0400
Committer: victorsosa <vi...@peopleware.do>
Committed: Wed May 25 07:52:23 2016 -0400
----------------------------------------------------------------------
core/src/main/resources/template/xhtml/controlheader.ftl | 6 ++++--
core/src/main/resources/template/xhtml/styles.css | 1 +
2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts/blob/175d0d42/core/src/main/resources/template/xhtml/controlheader.ftl
----------------------------------------------------------------------
diff --git a/core/src/main/resources/template/xhtml/controlheader.ftl b/core/src/main/resources/template/xhtml/controlheader.ftl
index ed8f63a..c14779e 100644
--- a/core/src/main/resources/template/xhtml/controlheader.ftl
+++ b/core/src/main/resources/template/xhtml/controlheader.ftl
@@ -22,7 +22,9 @@
-->
<#include "/${parameters.templateDir}/${parameters.expandTheme}/controlheader-core.ftl" />
<td
- <#if parameters.align??>
- class="align-${parameters.align?html}"
+ <#if parameters.align?? >
+ class="align-${parameters.align?html}"
+ <#else >
+ class="tdInput"
</#if>
><#t/>
http://git-wip-us.apache.org/repos/asf/struts/blob/175d0d42/core/src/main/resources/template/xhtml/styles.css
----------------------------------------------------------------------
diff --git a/core/src/main/resources/template/xhtml/styles.css b/core/src/main/resources/template/xhtml/styles.css
index c292a69..fce6563 100644
--- a/core/src/main/resources/template/xhtml/styles.css
+++ b/core/src/main/resources/template/xhtml/styles.css
@@ -34,6 +34,7 @@
.tdCheckboxInput {text-align:left; vertical-align:top;}
.tdCheckboxErrorMessage {text-align:left; vertical-align:top;}
.tdErrorMessage {text-align:center; vertical-align:top;}
+.tdInput {text-align:left;}
.formButton {text-align:right;}
.align-center{text-align:center;}