From 46fda5d944772ac62675570037785e39c517002b Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Fri, 9 Nov 2012 03:36:17 -0500 Subject: Reorganized CA, KRA, OCSP, TKS templates. All remaining theme files for Tomcat subsystems which include the templates and JS files have been moved from the theme folder at -ui/shared/webapps/ into the subsystem webapp folder at base//shared/webapps/. The deployment tools have been updated to use the new location. Ticket #407 --- .../tks/shared/webapps/tks/agent/GenError.template | 78 +++ .../shared/webapps/tks/agent/GenPending.template | 61 ++ .../shared/webapps/tks/agent/GenRejected.template | 82 +++ .../shared/webapps/tks/agent/GenSuccess.template | 44 ++ .../webapps/tks/agent/GenSvcPending.template | 61 ++ .../webapps/tks/agent/GenUnauthorized.template | 42 ++ .../webapps/tks/agent/GenUnexpectedError.template | 68 ++ base/tks/shared/webapps/tks/agent/cms-funcs.js | 538 ++++++++++++++++ base/tks/shared/webapps/tks/agent/funcs.js | 686 +++++++++++++++++++++ base/tks/shared/webapps/tks/agent/header.template | 82 +++ base/tks/shared/webapps/tks/agent/helpfun.js | 36 ++ base/tks/shared/webapps/tks/agent/index.html | 23 + base/tks/shared/webapps/tks/agent/index.template | 140 +++++ base/tks/shared/webapps/tks/agent/ports.template | 121 ++++ .../shared/webapps/tks/agent/tks/getStats.template | 141 +++++ base/tks/shared/webapps/tks/agent/tks/index.html | 31 + 16 files changed, 2234 insertions(+) create mode 100644 base/tks/shared/webapps/tks/agent/GenError.template create mode 100644 base/tks/shared/webapps/tks/agent/GenPending.template create mode 100644 base/tks/shared/webapps/tks/agent/GenRejected.template create mode 100644 base/tks/shared/webapps/tks/agent/GenSuccess.template create mode 100644 base/tks/shared/webapps/tks/agent/GenSvcPending.template create mode 100644 base/tks/shared/webapps/tks/agent/GenUnauthorized.template create mode 100644 base/tks/shared/webapps/tks/agent/GenUnexpectedError.template create mode 100644 base/tks/shared/webapps/tks/agent/cms-funcs.js create mode 100644 base/tks/shared/webapps/tks/agent/funcs.js create mode 100644 base/tks/shared/webapps/tks/agent/header.template create mode 100644 base/tks/shared/webapps/tks/agent/helpfun.js create mode 100644 base/tks/shared/webapps/tks/agent/index.html create mode 100644 base/tks/shared/webapps/tks/agent/index.template create mode 100644 base/tks/shared/webapps/tks/agent/ports.template create mode 100644 base/tks/shared/webapps/tks/agent/tks/getStats.template create mode 100644 base/tks/shared/webapps/tks/agent/tks/index.html (limited to 'base/tks/shared/webapps/tks/agent') diff --git a/base/tks/shared/webapps/tks/agent/GenError.template b/base/tks/shared/webapps/tks/agent/GenError.template new file mode 100644 index 000000000..0db5d1d22 --- /dev/null +++ b/base/tks/shared/webapps/tks/agent/GenError.template @@ -0,0 +1,78 @@ + + + + + +TKS Agent Processing Error! + + + + +Problem Processing Your Request + + + + + + +
 
+ + + + + +

+Please consult your local administrator for further assistance. +The Certificate System logs may provide further information. + + + + + diff --git a/base/tks/shared/webapps/tks/agent/GenPending.template b/base/tks/shared/webapps/tks/agent/GenPending.template new file mode 100644 index 000000000..a75a5ebdc --- /dev/null +++ b/base/tks/shared/webapps/tks/agent/GenPending.template @@ -0,0 +1,61 @@ + + + + + +TKS Agent Request Pending + + + + + +Request Successfully Submitted + + + + + + + + + + diff --git a/base/tks/shared/webapps/tks/agent/GenRejected.template b/base/tks/shared/webapps/tks/agent/GenRejected.template new file mode 100644 index 000000000..112717a7e --- /dev/null +++ b/base/tks/shared/webapps/tks/agent/GenRejected.template @@ -0,0 +1,82 @@ + + + + + +TKS Agent Request Rejected + + + + +Request Rejected + + + + + + + + + + diff --git a/base/tks/shared/webapps/tks/agent/GenSuccess.template b/base/tks/shared/webapps/tks/agent/GenSuccess.template new file mode 100644 index 000000000..02a9b9b8b --- /dev/null +++ b/base/tks/shared/webapps/tks/agent/GenSuccess.template @@ -0,0 +1,44 @@ + + + + + + +TKS Agent Generic Request Success + + + + +Request Successfully Submited + + + + + + + + diff --git a/base/tks/shared/webapps/tks/agent/GenSvcPending.template b/base/tks/shared/webapps/tks/agent/GenSvcPending.template new file mode 100644 index 000000000..cb36a5881 --- /dev/null +++ b/base/tks/shared/webapps/tks/agent/GenSvcPending.template @@ -0,0 +1,61 @@ + + + + + +TKS Agent Request Svc Pending + + + + +Request Successfully Submitted + + + + + + + + + + + diff --git a/base/tks/shared/webapps/tks/agent/GenUnauthorized.template b/base/tks/shared/webapps/tks/agent/GenUnauthorized.template new file mode 100644 index 000000000..c6e62f841 --- /dev/null +++ b/base/tks/shared/webapps/tks/agent/GenUnauthorized.template @@ -0,0 +1,42 @@ + + + + + + +TKS Agent Generic Unauthorized + + + + +Unauthorized Access + + + + + + + + diff --git a/base/tks/shared/webapps/tks/agent/GenUnexpectedError.template b/base/tks/shared/webapps/tks/agent/GenUnexpectedError.template new file mode 100644 index 000000000..4047cd616 --- /dev/null +++ b/base/tks/shared/webapps/tks/agent/GenUnexpectedError.template @@ -0,0 +1,68 @@ + + + + + +TKS Agent Processing Error! + + + + +Problem Processing Your Request + + + + + + +
 
+ + + + + + + + + diff --git a/base/tks/shared/webapps/tks/agent/cms-funcs.js b/base/tks/shared/webapps/tks/agent/cms-funcs.js new file mode 100644 index 000000000..c8ffd51c7 --- /dev/null +++ b/base/tks/shared/webapps/tks/agent/cms-funcs.js @@ -0,0 +1,538 @@ +// --- BEGIN COPYRIGHT BLOCK --- +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +// +// Copyright (C) 2007 Red Hat, Inc. +// All rights reserved. +// --- END COPYRIGHT BLOCK --- + +// + + + + + diff --git a/base/tks/shared/webapps/tks/agent/funcs.js b/base/tks/shared/webapps/tks/agent/funcs.js new file mode 100644 index 000000000..daef83d17 --- /dev/null +++ b/base/tks/shared/webapps/tks/agent/funcs.js @@ -0,0 +1,686 @@ +// --- BEGIN COPYRIGHT BLOCK --- +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +// +// Copyright (C) 2007 Red Hat, Inc. +// All rights reserved. +// --- END COPYRIGHT BLOCK --- + +// diff --git a/base/tks/shared/webapps/tks/agent/header.template b/base/tks/shared/webapps/tks/agent/header.template new file mode 100644 index 000000000..d1221b14b --- /dev/null +++ b/base/tks/shared/webapps/tks/agent/header.template @@ -0,0 +1,82 @@ + + + + + +Header + + + + + + + + +
+ + + + + + +
     Dogtag® Agent Services
+ + + + + +
+
+ + + diff --git a/base/tks/shared/webapps/tks/agent/helpfun.js b/base/tks/shared/webapps/tks/agent/helpfun.js new file mode 100644 index 000000000..f9580279a --- /dev/null +++ b/base/tks/shared/webapps/tks/agent/helpfun.js @@ -0,0 +1,36 @@ +// --- BEGIN COPYRIGHT BLOCK --- +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +// +// Copyright (C) 2007 Red Hat, Inc. +// All rights reserved. +// --- END COPYRIGHT BLOCK --- + + +function help(helptopic) { + + var HelpWin=window.open("","MyWin", "toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=yes,width=500,height=500"); + + HelpWin.location = helptopic; + HelpWin.focus(); + +} + +function helpstatus(helpline) { + + window.status = helpline; + + return true; + +} + diff --git a/base/tks/shared/webapps/tks/agent/index.html b/base/tks/shared/webapps/tks/agent/index.html new file mode 100644 index 000000000..30662d47a --- /dev/null +++ b/base/tks/shared/webapps/tks/agent/index.html @@ -0,0 +1,23 @@ + + + + diff --git a/base/tks/shared/webapps/tks/agent/index.template b/base/tks/shared/webapps/tks/agent/index.template new file mode 100644 index 000000000..534ad257b --- /dev/null +++ b/base/tks/shared/webapps/tks/agent/index.template @@ -0,0 +1,140 @@ + + + + + +TKS Agent + + + + + + + + + + +
+ + + + + + +
     Dogtag® Agent Services
+
  + + + + + + + +
  
+ + diff --git a/base/tks/shared/webapps/tks/agent/ports.template b/base/tks/shared/webapps/tks/agent/ports.template new file mode 100644 index 000000000..4d33dd3f0 --- /dev/null +++ b/base/tks/shared/webapps/tks/agent/ports.template @@ -0,0 +1,121 @@ + + + + + +TKS Agent Ports + + + + + + + + + + + + + +
+ + + + + + +
     Dogtag® Services Summary
+
  + + + + + + + + + + +
  
  
+
 
+ + diff --git a/base/tks/shared/webapps/tks/agent/tks/getStats.template b/base/tks/shared/webapps/tks/agent/tks/getStats.template new file mode 100644 index 000000000..59ae3e6d3 --- /dev/null +++ b/base/tks/shared/webapps/tks/agent/tks/getStats.template @@ -0,0 +1,141 @@ + + + + + Display CRL + + + + + + + + + + +Statistics +
+ + + + +
 
+
+ + + + + + diff --git a/base/tks/shared/webapps/tks/agent/tks/index.html b/base/tks/shared/webapps/tks/agent/tks/index.html new file mode 100644 index 000000000..e9e025222 --- /dev/null +++ b/base/tks/shared/webapps/tks/agent/tks/index.html @@ -0,0 +1,31 @@ + + + + + + + TKS Agent + + +
TKS  services
+
+ + -- cgit