Commit a92e49a7 authored by Michal Čihař's avatar Michal Čihař

Nicer display of form errors (issue #254)

parent 70e408f1
...@@ -234,7 +234,6 @@ $(function () { ...@@ -234,7 +234,6 @@ $(function () {
$('.button').button(); $('.button').button();
$('#breadcrumbs').buttonset(); $('#breadcrumbs').buttonset();
load_progress(); load_progress();
$('.errorlist').addClass('ui-state-error ui-corner-all');
$('.sug-accept').button({text: false, icons: { primary: "ui-icon-check" }}); $('.sug-accept').button({text: false, icons: { primary: "ui-icon-check" }});
$('.sug-delete').button({text: false, icons: { primary: "ui-icon-close" }}); $('.sug-delete').button({text: false, icons: { primary: "ui-icon-close" }});
$('#navi').buttonset(); $('#navi').buttonset();
......
...@@ -278,3 +278,10 @@ img.engage-icon { ...@@ -278,3 +278,10 @@ img.engage-icon {
background-color: #eee; background-color: #eee;
padding: 0.2em; padding: 0.2em;
} }
.errorlist {
list-style: none;
padding: 0;
margin: 0;
color: #cc0000;
font-size: smaller;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment