incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [39/50] [abbrv] git commit: make nav links able to open in new tab
Date Sat, 31 May 2014 14:22:12 GMT
make nav links able to open in new tab

Signed-off-by: Chris Rohr <rohr.chris@gmail.com>


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

Branch: refs/heads/apache-blur-0.2
Commit: 5bf40634221651290171f7f25cbed2eff3cb153b
Parents: f0f344d
Author: Andrew Avenoso <andrew.va@gmail.com>
Authored: Thu May 29 13:54:46 2014 -0400
Committer: Chris Rohr <rohr.chris@gmail.com>
Committed: Thu May 29 15:57:56 2014 -0400

----------------------------------------------------------------------
 contrib/blur-console/src/main/webapp/index.html              | 8 ++++----
 contrib/blur-console/src/main/webapp/js/blurconsole.shell.js | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/5bf40634/contrib/blur-console/src/main/webapp/index.html
----------------------------------------------------------------------
diff --git a/contrib/blur-console/src/main/webapp/index.html b/contrib/blur-console/src/main/webapp/index.html
index 437a0c4..af8b454 100644
--- a/contrib/blur-console/src/main/webapp/index.html
+++ b/contrib/blur-console/src/main/webapp/index.html
@@ -46,16 +46,16 @@ under the License.
         <nav class="side-nav">
             <ul>
                 <li title="Dashboard" data-toggle="tooltip" data-placement="right" data-container="body">
-                    <a href="#/dashboard"><i class="glyphicon glyphicon-dashboard"></i></a>
+                    <a href="#!tab=dashboard"><i class="glyphicon glyphicon-dashboard"></i></a>
                 </li>
                 <li title="Tables" data-toggle="tooltip" data-placement="right" data-container="body">
-                    <a href="#/tables"><i class="glyphicon glyphicon-list"></i></a>
+                    <a href="#!tab=tables"><i class="glyphicon glyphicon-list"></i></a>
                 </li>
                 <li title="Queries" data-toggle="tooltip" data-placement="right" data-container="body">
-                    <a href="#/queries"><i class="glyphicon glyphicon-tasks"></i></a>
+                    <a href="#!tab=queries"><i class="glyphicon glyphicon-tasks"></i></a>
                 </li>
                 <li title="Search" data-toggle="tooltip" data-placement="right" data-container="body">
-                    <a href="#/search"><i class="glyphicon glyphicon-search"></i></a>
+                    <a href="#!tab=search"><i class="glyphicon glyphicon-search"></i></a>
                 </li>
             </ul>
         </nav>

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/5bf40634/contrib/blur-console/src/main/webapp/js/blurconsole.shell.js
----------------------------------------------------------------------
diff --git a/contrib/blur-console/src/main/webapp/js/blurconsole.shell.js b/contrib/blur-console/src/main/webapp/js/blurconsole.shell.js
index ba0572a..f1b450d 100644
--- a/contrib/blur-console/src/main/webapp/js/blurconsole.shell.js
+++ b/contrib/blur-console/src/main/webapp/js/blurconsole.shell.js
@@ -143,7 +143,7 @@ blurconsole.shell = (function () {
 	onClickTab = function ( ) {
 		var target = $(this);
 		changeAnchorPart({
-			tab : target.attr('href').substring(2)
+			tab : target.attr('href').split('=')[1]
 		});
 		return false;
 	};


Mime
View raw message