summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-08-16 13:58:19 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-08-17 18:04:23 +0000
commit55b364f67cfb26e524a245b6e1c33c3913db3dde (patch)
tree9effbec803f99d1638eecabef8eda8a9034ace73 /install
parentaee2544e1633eccb83015d6adacb91c52f6e3bff (diff)
downloadfreeipa-55b364f67cfb26e524a245b6e1c33c3913db3dde.zip
freeipa-55b364f67cfb26e524a245b6e1c33c3913db3dde.tar.gz
freeipa-55b364f67cfb26e524a245b6e1c33c3913db3dde.tar.xz
Fixed browser configuration pages
The browser configuration pages have been modified to improve the content and appearance. Ticket #1624
Diffstat (limited to 'install')
-rw-r--r--install/html/browserconfig.html33
-rw-r--r--install/html/unauthorized.html64
-rw-r--r--install/share/preferences.html.template7
3 files changed, 57 insertions, 47 deletions
diff --git a/install/html/browserconfig.html b/install/html/browserconfig.html
index f7ddedf..5375ff9 100644
--- a/install/html/browserconfig.html
+++ b/install/html/browserconfig.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
<title>IPA: Identity Policy Audit</title>
<script type="text/javascript" src="../ui/jquery.js"></script>
@@ -9,32 +9,31 @@
<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');
- }
- });
+ $(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;">
+ <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" class="browser-config"></object>
</div>
- <div class="textblockkrb">
- <p><a href="/ipa/ui">Return to the Web UI</a></p>
- </div>
- </div>
+
+ </div>
</body>
diff --git a/install/html/unauthorized.html b/install/html/unauthorized.html
index b7111d1..eeb47ca 100644
--- a/install/html/unauthorized.html
+++ b/install/html/unauthorized.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<meta charset="utf-8">
+ <meta charset="utf-8">
<title>IPA: Identity Policy Audit</title>
<script type="text/javascript" src="../ui/jquery.js"></script>
@@ -9,41 +9,49 @@
<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>
+ <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="header-logo">
+ <div class="container_1">
+
+ <div class="header-logo">
<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 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>
+
+ <div id="first-time">
+ <b>If this is your first time:</b>
+ <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">Click here to continue.</a></p>
+ </div>
+
</div>
- </div>
+ </div>
</body>
diff --git a/install/share/preferences.html.template b/install/share/preferences.html.template
index 621301f..b809b9d 100644
--- a/install/share/preferences.html.template
+++ b/install/share/preferences.html.template
@@ -22,8 +22,8 @@
</head>
<body>
<form action="undefined" method="get">
-<input type=button onclick="setPreferences()" name="prefs" value="Configure Firefox">
-<div id="success" class="textblock" style="display:none;">
+<input id="button" type=button onclick="setPreferences()" name="prefs" value="Configure Firefox">
+<div id="success" class="textblock" style="display: none;">
<p>Browser configured.</p>
<p>
<a href="/ipa/ui" id="redirect_link" target="_top">Click here to return to the Web UI.</a>
@@ -67,6 +67,9 @@
var redirect_link = document.getElementById('redirect_link');
redirect_link.href = "https://" + location.hostname + location.port + "/ipa/ui";
+ var button = document.getElementById('button');
+ button.style['display'] = "none";
+
var successDiv = document.getElementById('success');
successDiv.style['display'] = "block";
} catch (e) {