summaryrefslogtreecommitdiffstats
path: root/base/ca
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2015-04-22 15:27:30 -0400
committerMatthew Harmsen <mharmsen@pki.usersys.redhat.com>2015-04-22 18:08:55 -0600
commitfe94f4a7d43a98a2a76a480a8655484738309ab0 (patch)
treeb17093ab90656f98d50c45fcd17609b61a25710d /base/ca
parent04b6dafbf3954c0ff585c375b388c13cc9e83399 (diff)
downloadpki-fe94f4a7d43a98a2a76a480a8655484738309ab0.tar.gz
pki-fe94f4a7d43a98a2a76a480a8655484738309ab0.tar.xz
pki-fe94f4a7d43a98a2a76a480a8655484738309ab0.zip
Moved color settings to CSS.
The templates have been modified to remove hard-coded background color settings and use the styles defined in a new CSS file. https://fedorahosted.org/pki/ticket/1296
Diffstat (limited to 'base/ca')
-rwxr-xr-xbase/ca/shared/webapps/ca/404.html2
-rwxr-xr-xbase/ca/shared/webapps/ca/500.html2
-rw-r--r--base/ca/shared/webapps/ca/admin/ca/securitydomainlogin.template2
-rw-r--r--base/ca/shared/webapps/ca/admin/ca/sendCookie.template2
-rw-r--r--base/ca/shared/webapps/ca/agent/header.template3
-rw-r--r--base/ca/shared/webapps/ca/agent/index.template3
-rw-r--r--base/ca/shared/webapps/ca/agent/ports.template3
-rw-r--r--base/ca/shared/webapps/ca/ee/ca/index.html5
-rw-r--r--base/ca/shared/webapps/ca/ee/ca/tabs.html3
-rw-r--r--base/ca/shared/webapps/ca/services.template2
10 files changed, 16 insertions, 11 deletions
diff --git a/base/ca/shared/webapps/ca/404.html b/base/ca/shared/webapps/ca/404.html
index 49f75a9a3..27d18979b 100755
--- a/base/ca/shared/webapps/ca/404.html
+++ b/base/ca/shared/webapps/ca/404.html
@@ -68,7 +68,7 @@ document.write('" alt="Dogtag" id="myLogo" /></a>');
</div>
</div>
-<div id="mainNavOuter">
+<div id="mainNavOuter" class="pki-ee-theme">
<div id="mainNav">
<div id="mainNavInner">
diff --git a/base/ca/shared/webapps/ca/500.html b/base/ca/shared/webapps/ca/500.html
index fe8f8de33..7a336c165 100755
--- a/base/ca/shared/webapps/ca/500.html
+++ b/base/ca/shared/webapps/ca/500.html
@@ -68,7 +68,7 @@ document.write('" alt="Dogtag" id="myLogo" /></a>');
</div>
</div>
-<div id="mainNavOuter">
+<div id="mainNavOuter" class="pki-ee-theme">
<div id="mainNav">
<div id="mainNavInner">
diff --git a/base/ca/shared/webapps/ca/admin/ca/securitydomainlogin.template b/base/ca/shared/webapps/ca/admin/ca/securitydomainlogin.template
index eac3ac476..c6aee1d80 100644
--- a/base/ca/shared/webapps/ca/admin/ca/securitydomainlogin.template
+++ b/base/ca/shared/webapps/ca/admin/ca/securitydomainlogin.template
@@ -39,7 +39,7 @@
</div>
</div>
-<div id="mainNavOuter">
+<div id="mainNavOuter" class="pki-ee-theme">
<div id="mainNav">
<div id="mainNavInner">
diff --git a/base/ca/shared/webapps/ca/admin/ca/sendCookie.template b/base/ca/shared/webapps/ca/admin/ca/sendCookie.template
index 296f2f07b..4e0821063 100644
--- a/base/ca/shared/webapps/ca/admin/ca/sendCookie.template
+++ b/base/ca/shared/webapps/ca/admin/ca/sendCookie.template
@@ -36,7 +36,7 @@
</div>
</div>
-<div id="mainNavOuter">
+<div id="mainNavOuter" class="pki-ee-theme">
<div id="mainNav">
<div id="mainNavInner">
diff --git a/base/ca/shared/webapps/ca/agent/header.template b/base/ca/shared/webapps/ca/agent/header.template
index a8606fc49..91bed383a 100644
--- a/base/ca/shared/webapps/ca/agent/header.template
+++ b/base/ca/shared/webapps/ca/agent/header.template
@@ -42,10 +42,11 @@ $(function() {
<CMS_TEMPLATE>
<title>Header</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<link rel="stylesheet" href="/pki/css/pki-theme.css" type="text/css" />
</head>
<body onResize=location.reload() bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#CCCCFF">
-<table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#000080">
+<table border="0" width="100%" cellspacing="0" cellpadding="0" class="pki-agent-theme">
<tr>
<td>
<table border="0" cellspacing="12" cellpadding="0">
diff --git a/base/ca/shared/webapps/ca/agent/index.template b/base/ca/shared/webapps/ca/agent/index.template
index 4f45c7390..246e6eb8e 100644
--- a/base/ca/shared/webapps/ca/agent/index.template
+++ b/base/ca/shared/webapps/ca/agent/index.template
@@ -21,11 +21,12 @@
<CMS_TEMPLATE>
<title>CA Agent</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<link rel="stylesheet" href="/pki/css/pki-theme.css" type="text/css" />
</head>
<body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366">
<table border="0" width="100%" cellspacing="0" cellpadding="6">
- <tr bgcolor="#000080">
+ <tr class="pki-agent-theme">
<td>
<table border="0" cellspacing="12" cellpadding="0">
<tr>
diff --git a/base/ca/shared/webapps/ca/agent/ports.template b/base/ca/shared/webapps/ca/agent/ports.template
index bfec33981..adf1c5a80 100644
--- a/base/ca/shared/webapps/ca/agent/ports.template
+++ b/base/ca/shared/webapps/ca/agent/ports.template
@@ -21,11 +21,12 @@
<CMS_TEMPLATE>
<title>CA Agent Ports</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<link rel="stylesheet" href="/pki/css/pki-theme.css" type="text/css" />
</head>
<body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366">
<table border="0" width="100%" cellspacing="0" cellpadding="6">
- <tr bgcolor="#000080">
+ <tr class="pki-agent-theme">
<td>
<table border="0" cellspacing="12" cellpadding="0">
<tr>
diff --git a/base/ca/shared/webapps/ca/ee/ca/index.html b/base/ca/shared/webapps/ca/ee/ca/index.html
index df8d8d2d8..bf25a16ad 100644
--- a/base/ca/shared/webapps/ca/ee/ca/index.html
+++ b/base/ca/shared/webapps/ca/ee/ca/index.html
@@ -24,6 +24,7 @@
<title>CA End-Entity</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="shortcut icon" href="/pki/images/favicon.ico" />
+<link rel="stylesheet" href="/pki/css/pki-theme.css" type="text/css" />
<SCRIPT LANGUAGE="JavaScript"></SCRIPT>
<script lang="javascript" src="/ca/ee/dynamicVars.js"></script>
<script lang="javascript" src="/ca/ee/cms-funcs.js"></script>
@@ -310,9 +311,9 @@ function reloadTabs(tabnum)
function loadTabs()
{
with (top.tabsf.document) {
- writeln('<body onresize="top.doResize();" bgcolor="#4f52b5" link="#FFFFFF" vlink="#FFFFFF" alink="#CCCCFF">');
+ writeln('<body onresize="top.doResize();" class="pki-ee-theme" link="#FFFFFF" vlink="#FFFFFF" alink="#CCCCFF">');
- writeln('<table border=0 width="100%" cellspacing="0" cellpadding="0" bgcolor="#4f52b5">');
+ writeln('<table border=0 width="100%" cellspacing="0" cellpadding="0" class="pki-ee-theme">');
writeln('<tr><td>');
writeln('<table border=0 cellspacing=12 cellpadding=0>');
writeln('<tr>');
diff --git a/base/ca/shared/webapps/ca/ee/ca/tabs.html b/base/ca/shared/webapps/ca/ee/ca/tabs.html
index 2cf6ee3be..53977e43f 100644
--- a/base/ca/shared/webapps/ca/ee/ca/tabs.html
+++ b/base/ca/shared/webapps/ca/ee/ca/tabs.html
@@ -20,12 +20,13 @@
<head>
<title>CA End-Entity</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link rel="stylesheet" href="/pki/css/pki-theme.css" type="text/css" />
<SCRIPT LANGUAGE="JavaScript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/dynamicVars.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/cms-funcs.js"> </SCRIPT>
</head>
-<body bgcolor="#4f52b5" onresize="top.doResize();">
+<body class="pki-ee-theme" onresize="top.doResize();">
<script lang="javascript">
<!--//
top.loadTabs();
diff --git a/base/ca/shared/webapps/ca/services.template b/base/ca/shared/webapps/ca/services.template
index 648ffd8a9..22081081e 100644
--- a/base/ca/shared/webapps/ca/services.template
+++ b/base/ca/shared/webapps/ca/services.template
@@ -62,7 +62,7 @@ $(function() {
</div>
</div>
-<div id="mainNavOuter">
+<div id="mainNavOuter" class="pki-ee-theme">
<div id="mainNav">
<div id="mainNavInner">