summaryrefslogtreecommitdiffstats
path: root/base/tps/shared/webapps/tps/ui/index.html
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2015-04-07 22:01:54 -0400
committerEndi S. Dewata <edewata@redhat.com>2015-04-08 14:38:26 -0400
commit648de7a10fb4c7d43c6550b577617067c70bbf7e (patch)
treeb4c0c95358314c3c4f5b46bd0465852c7baffc9c /base/tps/shared/webapps/tps/ui/index.html
parentc4ee90c89a0b3c61b18f865e6650b27e156a9dcb (diff)
downloadpki-648de7a10fb4c7d43c6550b577617067c70bbf7e.tar.gz
pki-648de7a10fb4c7d43c6550b577617067c70bbf7e.tar.xz
pki-648de7a10fb4c7d43c6550b577617067c70bbf7e.zip
Added interface to show TPS token certificates.
The TPS REST service, CLI, and UI have been modified to provide an interface to search for certificates belonging to a token. https://fedorahosted.org/pki/ticket/1164
Diffstat (limited to 'base/tps/shared/webapps/tps/ui/index.html')
-rw-r--r--base/tps/shared/webapps/tps/ui/index.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/base/tps/shared/webapps/tps/ui/index.html b/base/tps/shared/webapps/tps/ui/index.html
index eddceefd7..74adeadd1 100644
--- a/base/tps/shared/webapps/tps/ui/index.html
+++ b/base/tps/shared/webapps/tps/ui/index.html
@@ -17,6 +17,7 @@
--- END COPYRIGHT BLOCK --- -->
<html>
<head>
+ <title>Token Processing System</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/pki/css/patternfly.css" rel="stylesheet" media="screen, print">
<link href="/pki/css/pki-ui.css" rel="stylesheet" type="text/css">
@@ -117,7 +118,8 @@ $(function() {
router.route("certs", "certs", function() {
new CertificatesPage({
el: content,
- url: "certs.html"
+ url: "certs.html",
+ collection: new CertificateCollection()
}).open();
});
@@ -276,6 +278,14 @@ $(function() {
}).open();
});
+ router.route("tokens/:id/certs", "certs", function(id) {
+ new CertificatesPage({
+ el: content,
+ url: "certs.html",
+ collection: new CertificateCollection({ tokenID: id })
+ }).open();
+ });
+
router.route("new-token", "new-token", function() {
new TokenPage({
el: content,