You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2014/11/07 04:50:57 UTC

[11/18] isis git commit: ISIS-537 Use same space on the left and the right of the form components in the forms (EntityPropertiesPanel and ActionParametersFormPanel)

ISIS-537 Use same space on the left and the right of the form components in the forms (EntityPropertiesPanel and ActionParametersFormPanel)

https://trello.com/c/qCb7H75g/108-left-and-right-margins-in-action-prompt-different


Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/9fbfcaaf
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/9fbfcaaf
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/9fbfcaaf

Branch: refs/heads/master
Commit: 9fbfcaaf02590f865d42ff7543bf4288cea6aa38
Parents: 692adff
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Wed Nov 5 23:21:56 2014 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Wed Nov 5 23:21:56 2014 +0200

----------------------------------------------------------------------
 .../ui/components/actions/ActionParametersFormPanel.html  |  2 +-
 .../isis/viewer/wicket/ui/pages/bootstrap-overrides.css   | 10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/9fbfcaaf/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actions/ActionParametersFormPanel.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actions/ActionParametersFormPanel.html b/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actions/ActionParametersFormPanel.html
index 2beb8bc..05eaaec 100644
--- a/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actions/ActionParametersFormPanel.html
+++ b/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actions/ActionParametersFormPanel.html
@@ -21,7 +21,7 @@
     <body>
         <wicket:panel>
             <div class="actionParametersForm inputForm">
-                <form wicket:id="inputForm" method="post" class="form-horizontal">
+                <form wicket:id="inputForm" method="post" class="form-horizontal actionParametersForm">
                     <fieldset class="inputFormTable parameters">
                         <div wicket:id="parameters" class="parameter">
                           <div wicket:id="scalarNameAndValue">[scalar]</div>

http://git-wip-us.apache.org/repos/asf/isis/blob/9fbfcaaf/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/bootstrap-overrides.css
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/bootstrap-overrides.css b/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/bootstrap-overrides.css
index 081e522..e66d3d7 100644
--- a/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/bootstrap-overrides.css
+++ b/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/bootstrap-overrides.css
@@ -139,3 +139,13 @@ div.label-left .choicesPlaceholder {
     vertical-align: middle;
 }
 /* Labels on the left/top/none END */
+
+
+.form-horizontal.actionParametersForm .form-group {
+    margin-left: -5px;
+}
+
+.form-horizontal.inputForm .form-group {
+    margin-left: -5px;
+    margin-right: -25px;
+}