diff options
author | Endi S. Dewata <edewata@redhat.com> | 2015-04-22 15:27:30 -0400 |
---|---|---|
committer | Matthew Harmsen <mharmsen@pki.usersys.redhat.com> | 2015-04-22 18:08:55 -0600 |
commit | fe94f4a7d43a98a2a76a480a8655484738309ab0 (patch) | |
tree | b17093ab90656f98d50c45fcd17609b61a25710d /base/ocsp | |
parent | 04b6dafbf3954c0ff585c375b388c13cc9e83399 (diff) | |
download | pki-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/ocsp')
-rwxr-xr-x | base/ocsp/shared/webapps/ocsp/404.html | 2 | ||||
-rwxr-xr-x | base/ocsp/shared/webapps/ocsp/500.html | 2 | ||||
-rw-r--r-- | base/ocsp/shared/webapps/ocsp/agent/header.template | 3 | ||||
-rw-r--r-- | base/ocsp/shared/webapps/ocsp/agent/index.template | 3 | ||||
-rw-r--r-- | base/ocsp/shared/webapps/ocsp/agent/ports.template | 3 | ||||
-rw-r--r-- | base/ocsp/shared/webapps/ocsp/services.template | 2 |
6 files changed, 9 insertions, 6 deletions
diff --git a/base/ocsp/shared/webapps/ocsp/404.html b/base/ocsp/shared/webapps/ocsp/404.html index fd5264c43..b8725e73f 100755 --- a/base/ocsp/shared/webapps/ocsp/404.html +++ b/base/ocsp/shared/webapps/ocsp/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/ocsp/shared/webapps/ocsp/500.html b/base/ocsp/shared/webapps/ocsp/500.html index 2749fc752..420d8cead 100755 --- a/base/ocsp/shared/webapps/ocsp/500.html +++ b/base/ocsp/shared/webapps/ocsp/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/ocsp/shared/webapps/ocsp/agent/header.template b/base/ocsp/shared/webapps/ocsp/agent/header.template index d1221b14b..f500bb0d5 100644 --- a/base/ocsp/shared/webapps/ocsp/agent/header.template +++ b/base/ocsp/shared/webapps/ocsp/agent/header.template @@ -21,10 +21,11 @@ <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/ocsp/shared/webapps/ocsp/agent/index.template b/base/ocsp/shared/webapps/ocsp/agent/index.template index be2c39d9e..f8ae3d010 100644 --- a/base/ocsp/shared/webapps/ocsp/agent/index.template +++ b/base/ocsp/shared/webapps/ocsp/agent/index.template @@ -21,11 +21,12 @@ <CMS_TEMPLATE> <title>OCSP 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/ocsp/shared/webapps/ocsp/agent/ports.template b/base/ocsp/shared/webapps/ocsp/agent/ports.template index 8413ada1b..2acc873e8 100644 --- a/base/ocsp/shared/webapps/ocsp/agent/ports.template +++ b/base/ocsp/shared/webapps/ocsp/agent/ports.template @@ -21,11 +21,12 @@ <CMS_TEMPLATE> <title>OCSP 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/ocsp/shared/webapps/ocsp/services.template b/base/ocsp/shared/webapps/ocsp/services.template index a34d75deb..a57a7f3b4 100644 --- a/base/ocsp/shared/webapps/ocsp/services.template +++ b/base/ocsp/shared/webapps/ocsp/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"> |