summaryrefslogtreecommitdiffstats
path: root/install/html
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-01-25 14:44:42 -0500
committerAdam Young <ayoung@redhat.com>2011-01-25 16:47:09 -0500
commitfd1e78d2b2285ab8635d638c425459a14ae21de0 (patch)
treec21aad3ca732d9cf8df18feee534cc1afec8e160 /install/html
parent02803be1ba39e7c9e642f9a45889d196ff3598dc (diff)
downloadfreeipa-fd1e78d2b2285ab8635d638c425459a14ae21de0.tar.gz
freeipa-fd1e78d2b2285ab8635d638c425459a14ae21de0.tar.xz
freeipa-fd1e78d2b2285ab8635d638c425459a14ae21de0.zip
error handling style
modifying the directories so they find the assets in the right locations
Diffstat (limited to 'install/html')
-rw-r--r--install/html/Makefile.am4
-rw-r--r--install/html/Static-Background.pngbin183 -> 0 bytes
-rw-r--r--install/html/browserconfig.html45
-rw-r--r--install/html/centered-bg.pngbin4122 -> 0 bytes
-rw-r--r--install/html/ipa_error.css26
-rw-r--r--install/html/ssbrowser.html6
-rw-r--r--install/html/unauthorized.html55
7 files changed, 95 insertions, 41 deletions
diff --git a/install/html/Makefile.am b/install/html/Makefile.am
index df2e9a5e7..46e8683c8 100644
--- a/install/html/Makefile.am
+++ b/install/html/Makefile.am
@@ -3,7 +3,9 @@ NULL =
appdir = $(IPA_SYSCONF_DIR)/html
app_DATA = \
ssbrowser.html \
- unauthorized.html \
+ browserconfig.html \
+ unauthorized.html \
+ ipa_error.css \
$(NULL)
EXTRA_DIST = \
diff --git a/install/html/Static-Background.png b/install/html/Static-Background.png
deleted file mode 100644
index b8c28931e..000000000
--- a/install/html/Static-Background.png
+++ /dev/null
Binary files differ
diff --git a/install/html/browserconfig.html b/install/html/browserconfig.html
new file mode 100644
index 000000000..308537ad5
--- /dev/null
+++ b/install/html/browserconfig.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+ <title>IPA: Identity Policy Audit</title>
+
+ <script type="text/javascript" src="../ui/jquery.js"></script>
+ <link rel="stylesheet" type="text/css" href="../ui/jquery-ui.css" />
+ <link rel="stylesheet" type="text/css" href="ipa_error.css" />
+
+
+ <script type="text/javascript">
+ $(document).ready(function() {
+ if (navigator.userAgent.indexOf("Firefox") != -1 ||
+ navigator.userAgent.indexOf("SeaMonkey") != -1)
+ {
+ $('.textblockkrb').css('display','block');
+ }
+ });
+ </script>
+
+
+</head>
+
+<body id="header-bg">
+
+ <div class="container_1">
+ <div class="header-logo">
+ <img src="../ui/ipalogo.png" />
+ </div>
+ <div class="textblockkrb" style="display:none;">
+ <h1>Configure Browser</h1>
+ <p> Click the below button to configure your browser </p>
+ <object data="jar:/ipa/errors/configure.jar!/preferences.html"
+ type="text/html"><\/object>
+ </div>
+ <div class="textblockkrb">
+ <p>Once you have configured your browser,
+ <a href="/ipa/ui">click here to return to the Web UI</a></p>
+ </div>
+ </div>
+
+</body>
+
+</html>
diff --git a/install/html/centered-bg.png b/install/html/centered-bg.png
deleted file mode 100644
index 9e606a815..000000000
--- a/install/html/centered-bg.png
+++ /dev/null
Binary files differ
diff --git a/install/html/ipa_error.css b/install/html/ipa_error.css
index abd850d61..763b354b8 100644
--- a/install/html/ipa_error.css
+++ b/install/html/ipa_error.css
@@ -8,11 +8,11 @@
*/
-@font-face {font-family: "FreeWay"; src:url("FreeWay.otf");}
-@font-face {font-family: "FreeWayBold"; src:url("FreeWay-Bold.otf");}
+@font-face {font-family: "FreeWay"; src:url("../ui/FreeWay.otf");}
+@font-face {font-family: "FreeWayBold"; src:url("../ui/FreeWay-Bold.otf");}
body{
- background-image:url("outer-bg.png");
+ background-image:url("../ui/outer-bg.png");
background-repeat:repeat-x;
background-position:left top;
background-color:#F9F9F9;
@@ -231,7 +231,7 @@ span.attrhint {
padding-top: 2em;
margin: 0;
border: none;
- background-image: url("Mainnav-background.png");
+ background-image: url("../ui/Mainnav-background.png");
-moz-border-radius: 0;
}
@@ -254,7 +254,7 @@ span.attrhint {
}
.ui-widget-content .ui-icon {
- background-image: url("ui-icons_222222_256x240.png");
+ background-image: url("../ui/ui-icons_222222_256x240.png");
background-color: #e2e2e2;
}
@@ -269,7 +269,7 @@ span.attrhint {
}
.ui-widget-header {
- background: url("modal-background.png") repeat scroll 50% 50% #1f9123;
+ background: url("../ui/modal-background.png") repeat scroll 50% 50% #1f9123;
border: 1px solid #244c16;
color: #EEEEEE;
font-weight: bold;
@@ -296,7 +296,7 @@ span.attrhint {
.tabs1 .ui-tabs-nav li {
-moz-border-radius: 0 !important;
- background-image: url("Mainnav-offtab.png");
+ background-image: url("../ui/Mainnav-offtab.png");
margin: 0;
border-width: 0;
text-align: center;
@@ -305,7 +305,7 @@ span.attrhint {
.tabs1 .ui-tabs-nav li.ui-tabs-selected {
padding: 0 0;
- background-image: url("Mainnav-ontab.png");
+ background-image: url("../ui/Mainnav-ontab.png");
text-align: center;
margin: 0;
}
@@ -342,7 +342,7 @@ span.attrhint {
padding: 0.3em 6em 0 4em;
margin: 0;
height: 2.4em;
- background-image: url("Subnav-background.png");
+ background-image: url("../ui/Subnav-background.png");
}
.tabs2 .ui-tabs-nav li {
@@ -423,7 +423,7 @@ span.main-separator{
padding-left: 0;
position: fixed;
width: 18em;
- background-image:url("panel-background.png");
+ background-image:url("../ui/panel-background.png");
background-repeat:no-repeat;
background-position:right;
}
@@ -525,14 +525,14 @@ span.main-separator{
/* Migration */
body#header-bg {
- background: url("Static-Background.png") repeat-x scroll left top #EDEDED;
+ background: url("../ui/Static-Background.png") repeat-x scroll left top #EDEDED;
}
.container_1 {
margin-left: auto;
margin-right: auto;
width: 960px;
- background: url("centered-bg.png") no-repeat scroll 0 7em transparent;
+ background: url("../ui/centered-bg.png") no-repeat scroll 0 7em transparent;
min-height: 40em;
}
@@ -561,7 +561,7 @@ body#header-bg {
}
.# {
- background: url("ipalogo.png") no-repeat scroll left top transparent;
+ background: url("../ui/ipalogo.png") no-repeat scroll left top transparent;
border: none;
float: left;
height: 36px;
diff --git a/install/html/ssbrowser.html b/install/html/ssbrowser.html
index e30e8547f..49e02e7aa 100644
--- a/install/html/ssbrowser.html
+++ b/install/html/ssbrowser.html
@@ -4,9 +4,7 @@
<meta charset="utf-8">
<title>IPA: Identity Policy Audit</title>
- <script type="text/javascript" src="develop.js"></script>
- <script type="text/javascript" src="webui.js"></script>
-
+ <script type="text/javascript" src="../ui/jquery.js"></script>
<link rel="stylesheet" type="text/css" href="jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="ipa_error.css" />
</head>
@@ -15,7 +13,7 @@
<div class="container_1">
<div class="header-logo">
- <img src="ipalogo.png" />
+ <img src="../ui/ipalogo.png" />
</div>
<div class="textblockkrb">
<h3>Browser Kerberos Setup</h3>
diff --git a/install/html/unauthorized.html b/install/html/unauthorized.html
index 44a3e92de..b7111d1d3 100644
--- a/install/html/unauthorized.html
+++ b/install/html/unauthorized.html
@@ -4,38 +4,47 @@
<meta charset="utf-8">
<title>IPA: Identity Policy Audit</title>
- <script type="text/javascript" src="develop.js"></script>
- <script type="text/javascript" src="webui.js"></script>
+ <script type="text/javascript" src="../ui/jquery.js"></script>
- <link rel="stylesheet" type="text/css" href="jquery-ui.css" />
+ <link rel="stylesheet" type="text/css" href="../ui/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="ipa_error.css" />
+
+ <script type="text/javascript">
+ $(document).ready(function() {
+ $("#import-cert-auth-link").click(function(){
+ $("#first-time").css("display","none");
+ $("#next-link").css("display","block");
+ return true;
+ });
+
+ });
+
+ </script>
</head>
<body id="header-bg">
-
- <div class="container_1">
+
+ <div class="container_1">
<div class="header-logo">
- <img src="ipalogo.png" />
- </div>
- <div class="textblockkrb">
- <h3>Kerberos Authentication Failed</h3>
- <p><strong>Unable to verify your Kerberos credentials.</strong> Please make sure that you have valid Kerberos tickets (obtainable via kinit), and that you
- <br>
-have <a href="/ipa/errors/ssbrowser.html">configured your browser correctly</a>. If you are still unable to access the IPA Web interface, please
- contact the helpdesk on for additional assistance. </p>
-
- <p>Import the <a href="/ipa/errors/ca.crt">IPA Certificate Authority</a>. </p>
-
- <p>You can automatically configure your browser to work with Kerberos by importing the Certificate Authority<br>
- above and clicking on the Configure Browser button. </p>
-
- <p><strong>Reload this page after importing the Certificate Authority</strong></p>
-
+ <img src="../ui/ipalogo.png" />
</div>
-
+ <div class="textblockkrb">
+ <h1>Unable to verify your Kerberos credentials.</h1><p> Please make sure that you have valid Kerberos tickets (obtainable via <b>kinit</b>), and that you have configured your browser correctly. </p>
+ <b>If this is your first time</b>
+ <div id="first-time">
+ <ul>
+ <li><a id="import-cert-auth-link" href="/ipa/errors/ca.crt" >Click here to Import the IPA Certificate Authority</a>. </li>
+ <li>Make sure you select <b>all three</b> checkboxes </li>
+ <li>Click the <b>OK</b> Button</li>
+ </ul>
+ </div>
+ <div id="next-link" style="display:none;">
+ . <p> <a href="browserconfig.html"> Next Step:</a></p>
+ </div>
+ </div>
+
</div>
</body>
</html>
-