summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2016-04-15 09:22:02 +0200
committerEndi S. Dewata <edewata@redhat.com>2016-04-25 21:17:24 +0200
commit56bc2b9adf88469dd0258847210e8cf547367535 (patch)
tree3a5a3feb06e98cdd65df23032d3c9401c0bca096
parent0c15fe725baad094929a26035bfeeba90f980979 (diff)
downloadpki-56bc2b9adf88469dd0258847210e8cf547367535.zip
pki-56bc2b9adf88469dd0258847210e8cf547367535.tar.gz
pki-56bc2b9adf88469dd0258847210e8cf547367535.tar.xz
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
-rw-r--r--base/tps/shared/webapps/tps/ui/index.html21
1 files 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 8c60920..16867c1 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() {
</div>
<div class="collapse navbar-collapse navbar-collapse-1">
<ul class="nav navbar-nav navbar-utility">
+<!--
<li name="status"><a href="#">Status</a></li>
+-->
<li name="account" class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<span class="pficon pficon-user"></span>
@@ -408,7 +413,9 @@ $(function() {
</li>
</ul>
<ul class="nav navbar-nav navbar-primary">
+<!--
<li name="home"><a href="#"><span class="glyphicon glyphicon-home"></span> Home</a></li>
+-->
<li name="tokens"><a href="#tokens">Tokens</a></li>
<li name="certs"><a href="#certs">Certificates</a></li>
<li name="activities"><a href="#activities">Activities</a></li>