mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fixed browser configuration pages
The browser configuration pages have been modified to improve the content and appearance. Ticket #1624
This commit is contained in:
parent
e8b64be673
commit
72a7e3ac2d
@ -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>
|
||||
@ -11,9 +11,8 @@
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
if (navigator.userAgent.indexOf("Firefox") != -1 ||
|
||||
navigator.userAgent.indexOf("SeaMonkey") != -1)
|
||||
{
|
||||
$('.textblockkrb').css('display','block');
|
||||
navigator.userAgent.indexOf("SeaMonkey") != -1) {
|
||||
$('.textblockkrb').css('display', 'block');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@ -22,18 +21,18 @@
|
||||
<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="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>
|
||||
|
||||
</body>
|
||||
|
@ -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>
|
||||
@ -11,36 +11,44 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$("#import-cert-auth-link").click(function(){
|
||||
$("#first-time").css("display","none");
|
||||
$("#next-link").css("display","block");
|
||||
$("#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">
|
||||
<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>
|
||||
<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>
|
||||
<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 id="next-link" style="display: none;">
|
||||
<p><a href="browserconfig.html">Click here to continue.</a></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user