summaryrefslogtreecommitdiff
path: root/public_html/skins
diff options
context:
space:
mode:
Diffstat (limited to 'public_html/skins')
-rw-r--r--public_html/skins/default/style.css7
-rw-r--r--public_html/skins/default/ui.js14
2 files changed, 16 insertions, 5 deletions
diff --git a/public_html/skins/default/style.css b/public_html/skins/default/style.css
index fa808c6..6647caa 100644
--- a/public_html/skins/default/style.css
+++ b/public_html/skins/default/style.css
@@ -151,8 +151,8 @@ td.label {
color: #aaa;
font-size: 11px;
padding-top: 2px;
- display: inline-block;
- height: 18px;
+ height: 20px;
+ line-height: 20px;
}
#navigation {
@@ -257,7 +257,7 @@ td.label {
}
#topmenu .logout {
- background: url(images/buttons.png) -1px -100px no-repeat;
+ background: url(images/buttons.png) -1px -101px no-repeat;
padding-left: 20px;
margin-right: 10px;
color: white;
@@ -604,6 +604,7 @@ span.listelement {
padding: 0;
margin: 0;
height: 18px;
+ line-height: 18px;
overflow: hidden;
border-top: 1px solid #d0d0d0;
white-space: nowrap;
diff --git a/public_html/skins/default/ui.js b/public_html/skins/default/ui.js
index 45bfd51..ac56bc7 100644
--- a/public_html/skins/default/ui.js
+++ b/public_html/skins/default/ui.js
@@ -161,12 +161,22 @@ function ui_resize()
function ui_load()
{
domain_selector();
-}
+};
+
+// API response handler
+function http_response(response)
+{
+ ui_resize();
+
+ // update domain selector
+ if (response.action == 'domain.list')
+ domain_selector();
+};
/**
* UI Initialization
*/
kadm.add_event_listener('form-load', form_load);
-kadm.add_event_listener('http-response', ui_resize);
+kadm.add_event_listener('http-response', http_response);
//$(window).resize(function() { ui_resize(); });
$(window).load(function() { ui_load(); });