Fixed browser configuration pages

The browser configuration pages have been modified to improve the
content and appearance.

Ticket #1624
This commit is contained in:
Endi S. Dewata
2011-08-16 13:58:19 -05:00
parent e8b64be673
commit 72a7e3ac2d
3 changed files with 57 additions and 47 deletions

View File

@@ -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) {