summaryrefslogtreecommitdiffstats
path: root/install/share
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 17:28:25 +0000
commit72a7e3ac2d740e654d0c685d6bab03594e22fde4 (patch)
tree9effbec803f99d1638eecabef8eda8a9034ace73 /install/share
parente8b64be673cdae9798da4ada71b58ba85816a8df (diff)
downloadfreeipa-72a7e3ac2d740e654d0c685d6bab03594e22fde4.tar.gz
freeipa-72a7e3ac2d740e654d0c685d6bab03594e22fde4.tar.xz
freeipa-72a7e3ac2d740e654d0c685d6bab03594e22fde4.zip
Fixed browser configuration pages
The browser configuration pages have been modified to improve the content and appearance. Ticket #1624
Diffstat (limited to 'install/share')
-rw-r--r--install/share/preferences.html.template7
1 files changed, 5 insertions, 2 deletions
diff --git a/install/share/preferences.html.template b/install/share/preferences.html.template
index 621301f1a..b809b9d06 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) {