summaryrefslogtreecommitdiffstats
path: root/install/share/preferences.html.template
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/share/preferences.html.template
parentaee2544e1633eccb83015d6adacb91c52f6e3bff (diff)
downloadfreeipa-55b364f67cfb26e524a245b6e1c33c3913db3dde.tar.gz
freeipa-55b364f67cfb26e524a245b6e1c33c3913db3dde.tar.xz
freeipa-55b364f67cfb26e524a245b6e1c33c3913db3dde.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/preferences.html.template')
-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) {