You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2014/10/21 03:55:41 UTC

[1/2] git commit: Show effector param scroll bars only when necessary.

Repository: incubator-brooklyn
Updated Branches:
  refs/heads/master ca5800487 -> 557456317


Show effector param scroll bars only when necessary.

Previously the scroll bars were always visible making the forms unusable. It's still the case when there is a lot of content in the field.


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/0016c9a4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/0016c9a4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/0016c9a4

Branch: refs/heads/master
Commit: 0016c9a401221bc0dcf557e2a1ecdd62b3c86217
Parents: 02bd0a8
Author: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Authored: Sun Oct 19 18:59:26 2014 +0300
Committer: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Committed: Sun Oct 19 18:59:26 2014 +0300

----------------------------------------------------------------------
 usage/jsgui/src/main/webapp/assets/css/base.css        | 5 +++++
 usage/jsgui/src/main/webapp/assets/tpl/apps/param.html | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/0016c9a4/usage/jsgui/src/main/webapp/assets/css/base.css
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/main/webapp/assets/css/base.css b/usage/jsgui/src/main/webapp/assets/css/base.css
index b0d906a..6aebb7e 100644
--- a/usage/jsgui/src/main/webapp/assets/css/base.css
+++ b/usage/jsgui/src/main/webapp/assets/css/base.css
@@ -1427,3 +1427,8 @@ the element's children, who probably want to control their opacity separately. *
     /* matches Bootstrap */
     margin-bottom: 9px;
 }
+
+textarea.param-value {
+    height: 18px;
+    overflow: auto;
+}

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/0016c9a4/usage/jsgui/src/main/webapp/assets/tpl/apps/param.html
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/main/webapp/assets/tpl/apps/param.html b/usage/jsgui/src/main/webapp/assets/tpl/apps/param.html
index 8a25271..8bd5904 100644
--- a/usage/jsgui/src/main/webapp/assets/tpl/apps/param.html
+++ b/usage/jsgui/src/main/webapp/assets/tpl/apps/param.html
@@ -28,7 +28,7 @@ under the License.
     <td><div id="selector-container" class="input-medium param-value"></div></td>
     <% } else { %>
     <td><!--  use 1 line textarea so it can be resized -->
-      <textarea class="input-medium param-value" style="height: 18px;"><%- defaultValue %></textarea>
+      <textarea class="input-medium param-value"><%- defaultValue %></textarea>
     </td>
     <% } %>    
 </tr>


[2/2] git commit: This closes #256

Posted by he...@apache.org.
This closes #256


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/55745631
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/55745631
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/55745631

Branch: refs/heads/master
Commit: 5574563174f6106eeb19ce05f1db2edd8b3a0e7a
Parents: ca58004 0016c9a
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Tue Oct 21 02:55:25 2014 +0100
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Tue Oct 21 02:55:25 2014 +0100

----------------------------------------------------------------------
 usage/jsgui/src/main/webapp/assets/css/base.css        | 5 +++++
 usage/jsgui/src/main/webapp/assets/tpl/apps/param.html | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------