From 60d6954a36e54afa1f925324e7b527d235bdb484 Mon Sep 17 00:00:00 2001 From: Randy Bertram Date: Tue, 3 Mar 2015 01:40:24 -0500 Subject: [PATCH] Update Magic Search to 0.2.0 Update the XStatic Magic Search package, to take advantage of Eucalyptus' new fixes and features. This matches what is in PyPI now. Change-Id: I44c91dd4afb4dd7043c9d0fe204f22feff50f6d5 Implements: blueprint filtered-client-side-table --- xstatic/pkg/magic_search/__init__.py | 4 +- .../pkg/magic_search/data/magic_search.css | 85 ---------- .../pkg/magic_search/data/magic_search.html | 19 +-- xstatic/pkg/magic_search/data/magic_search.js | 154 +++++++++++++----- .../pkg/magic_search/data/magic_search.scss | 17 +- .../data/magic_search_bootstrap.html | 50 ------ .../data/magic_search_bootstrap.js | 28 ---- 7 files changed, 127 insertions(+), 230 deletions(-) delete mode 100755 xstatic/pkg/magic_search/data/magic_search.css mode change 100755 => 100644 xstatic/pkg/magic_search/data/magic_search.scss delete mode 100755 xstatic/pkg/magic_search/data/magic_search_bootstrap.html delete mode 100755 xstatic/pkg/magic_search/data/magic_search_bootstrap.js diff --git a/xstatic/pkg/magic_search/__init__.py b/xstatic/pkg/magic_search/__init__.py index 9d03d34..95f7fe5 100755 --- a/xstatic/pkg/magic_search/__init__.py +++ b/xstatic/pkg/magic_search/__init__.py @@ -11,9 +11,9 @@ NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar') # please use a all-lowercase valid python # package name -VERSION = '0.1.5' # version of the packaged files, please use the upstream +VERSION = '0.2.0' # version of the packaged files, please use the upstream # version number -BUILD = '9' # our package build number, so we can release new builds +BUILD = '1' # our package build number, so we can release new builds # with fixes for xstatic stuff. PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi diff --git a/xstatic/pkg/magic_search/data/magic_search.css b/xstatic/pkg/magic_search/data/magic_search.css deleted file mode 100755 index ef63fea..0000000 --- a/xstatic/pkg/magic_search/data/magic_search.css +++ /dev/null @@ -1,85 +0,0 @@ -/* Copyright 2014-2015 Eucalyptus Systems, Inc. */ -/*----------------------------------------- - Colors - ----------------------------------------- */ -/*----------------------------------------- - Item list - ----------------------------------------- */ -/*----------------------------------------- - Magic Search bar - ----------------------------------------- */ -/* line 30, ../src/magic_search.scss */ -.search-bar { - position: relative; - border: 1px solid black; - background-color: white; - margin-bottom: 0.5rem; - padding: 4px; - height: auto; -} -/* line 37, ../src/magic_search.scss */ -.search-bar i.fi-filter { - color: #444444; - position: absolute; - top: 0.5rem; - left: 0.65rem; -} -/* line 46, ../src/magic_search.scss */ -.search-bar #search-main-area { - position: relative; - margin-left: 1.65rem; - margin-right: 1.65rem; - cursor: text; -} -/* line 14, ../src/magic_search.scss */ -.search-bar .item-list { - margin-bottom: 6px; -} -/* line 16, ../src/magic_search.scss */ -.search-bar .item-list .item { - color: #333; - background-color: #e6e7e8; - margin-right: 8px; -} -/* line 20, ../src/magic_search.scss */ -.search-bar .item-list .item a { - color: white; -} -/* line 53, ../src/magic_search.scss */ -.search-bar .item-list { - margin-bottom: 2px; -} -/* line 56, ../src/magic_search.scss */ -.search-bar #search-selected { - background-color: white; - color: #444444; -} -/* line 60, ../src/magic_search.scss */ -.search-bar #search-entry { - display: inline-block; - height: 1.5rem; -} -/* line 64, ../src/magic_search.scss */ -.search-bar #search-input { - width: 220px; - border: 0; - box-shadow: none; - height: 1.5rem; - padding: 3px; - background-color: white; -} -/* line 75, ../src/magic_search.scss */ -.search-bar .match { - font-weight: bold; -} -/* line 78, ../src/magic_search.scss */ -.search-bar i.cancel { - color: #444444; - position: absolute; - top: 0.5rem; - right: 0.65rem; -} -/* line 80, ../src/magic_search.scss */ -.search-bar i.cancel:hover { - color: darkred; -} diff --git a/xstatic/pkg/magic_search/data/magic_search.html b/xstatic/pkg/magic_search/data/magic_search.html index e32e795..e005920 100755 --- a/xstatic/pkg/magic_search/data/magic_search.html +++ b/xstatic/pkg/magic_search/data/magic_search.html @@ -1,8 +1,8 @@ -