summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorsten Grote <grote@kolabsys.com>2012-09-18 13:40:04 +0200
committerTorsten Grote <grote@kolabsys.com>2012-09-18 13:40:04 +0200
commitb13176a7a7f9f741c27e224614d0b097c3f86026 (patch)
treed09cca346cf60415459332e30fccb744ae5a0f4c
parent74cc89edc121663debb2881ab151bacdd99c46e3 (diff)
downloadwebadmin-b13176a7a7f9f741c27e224614d0b097c3f86026.tar.gz
use proper css from style files for form errors
-rw-r--r--hosted/js/kolab_hosted.js2
-rw-r--r--public_html/skins/default/style.css7
2 files changed, 8 insertions, 1 deletions
diff --git a/hosted/js/kolab_hosted.js b/hosted/js/kolab_hosted.js
index 8565079..7baad54 100644
--- a/hosted/js/kolab_hosted.js
+++ b/hosted/js/kolab_hosted.js
@@ -89,7 +89,7 @@ kadm.update_user_info = function(msg, part)
}
else {
// add span area and add message
- $('input[name="'+part+'"]').after(' <span id="'+span_id+'" style="font-weight:bold;margin-left:1em;color:red;">' + msg + '</span>');
+ $('input[name="'+part+'"]').after(' <span id="'+span_id+'" class="form_error">' + msg + '</span>');
}
// enable/disable button
diff --git a/public_html/skins/default/style.css b/public_html/skins/default/style.css
index be30a88..d8e39ad 100644
--- a/public_html/skins/default/style.css
+++ b/public_html/skins/default/style.css
@@ -698,6 +698,13 @@ span.listcontent span.listelement.selected {
background-color: #d6efff;
}
+span.form_error {
+ color: #FF0000;
+ font-weight: bold;
+ font-size: 90%;
+ padding-left: 5px;
+}
+
/***** autocomplete list *****/
#autocompletepane