From 56bc2b9adf88469dd0258847210e8cf547367535 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 15 Apr 2016 09:22:02 +0200 Subject: Fixed TPS UI navigation. The TPS UI home page and the status menu item been temporarily removed. The home links will now redirect to the tokens page. https://fedorahosted.org/pki/ticket/2261 https://fedorahosted.org/pki/ticket/2262 --- base/tps/shared/webapps/tps/ui/index.html | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/base/tps/shared/webapps/tps/ui/index.html b/base/tps/shared/webapps/tps/ui/index.html index 8c6092098..16867c193 100644 --- a/base/tps/shared/webapps/tps/ui/index.html +++ b/base/tps/shared/webapps/tps/ui/index.html @@ -75,7 +75,7 @@ $(function() { system_menu.hide(); } - homePage.update(); + // homePage.update(); }, error: function(jqXHR, textStatus, errorThrown) { window.location.href = "/tps"; @@ -85,14 +85,20 @@ $(function() { var content = $("#content"); var router = new Backbone.Router(); - +/* var homePage = new HomePage({ el: content, url: "home.html" }); +*/ + var tokensPage = new TokensPage({ + el: content, + url: "tokens.html" + }); router.route("", "home", function() { - homePage.open(); + // homePage.open(); + tokensPage.open(); }); router.route("activities", "activities", function() { @@ -292,10 +298,7 @@ $(function() { }); router.route("tokens", "tokens", function() { - new TokensPage({ - el: content, - url: "tokens.html" - }).open(); + tokensPage.open(); }); router.route("tokens/:id", "token", function(id) { @@ -396,7 +399,9 @@ $(function() {