cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: updated refs/heads/ui-restyle to f0cec55
Date Wed, 02 Oct 2013 19:46:47 GMT
Updated Branches:
  refs/heads/ui-restyle 8978f8cd8 -> f0cec55fe


Search bar: add placeholder text


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

Branch: refs/heads/ui-restyle
Commit: f0cec55feaed4b39ff92c830aa3db840891a0ce2
Parents: 8978f8c
Author: Brian Federle <brian.federle@citrix.com>
Authored: Wed Oct 2 12:46:36 2013 -0700
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Wed Oct 2 12:46:36 2013 -0700

----------------------------------------------------------------------
 ui/scripts/ui/widgets/listView.js | 7 ++++++-
 ui/stylesheets/csui/_list.scss    | 2 ++
 2 files changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f0cec55f/ui/scripts/ui/widgets/listView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js
index 632a954..5da7253 100644
--- a/ui/scripts/ui/widgets/listView.js
+++ b/ui/scripts/ui/widgets/listView.js
@@ -853,7 +853,12 @@
     var createSearchBar = function($toolbar, listViewData) {
         var $search = $('<div></div>').addClass('text-search reduced-hide');
         var $searchBar = $('<div></div>').addClass('search-bar reduced hide').appendTo($search);
-        $searchBar.append('<input type="text" />');
+        $searchBar.append($(
+            $('<input>').attr({
+                type: 'text',
+                placeholder: _l('label.search')
+            })
+        ));
         $search.append('<div id="basic_search" class="button search"></div>');
 
         if (listViewData.advSearchFields != null) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f0cec55f/ui/stylesheets/csui/_list.scss
----------------------------------------------------------------------
diff --git a/ui/stylesheets/csui/_list.scss b/ui/stylesheets/csui/_list.scss
index 7f02453..6155ca3 100644
--- a/ui/stylesheets/csui/_list.scss
+++ b/ui/stylesheets/csui/_list.scss
@@ -15,6 +15,8 @@
 // specific language governing permissions and limitations
 // under the License.
 @mixin csui-list {
+    margin: 20px;
+    
     table {
         width: 100%;
 


Mime
View raw message