Commit b58c2692dc8c3feef8e298e7e41e6caa79c7acd2
1 parent
1718a699
Added global CSS class for Dojo Dialog
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
calexium_lib/web/CXM_dojo.anubis
| @@ -148,8 +148,8 @@ define HTML_Off_Form | @@ -148,8 +148,8 @@ define HTML_Off_Form | ||
| 148 | literal("<div id=\"" + html_id.id +"_block\"" + | 148 | literal("<div id=\"" + html_id.id +"_block\"" + |
| 149 | if class is | 149 | if class is |
| 150 | { | 150 | { |
| 151 | - failure then "", | ||
| 152 | - success(class_name) then " class=\"block_"+ class_name +"\"" | 151 | + failure then " class=\"dojo_diag\"", |
| 152 | + success(class_name) then " class=\"dojo_diag block_"+ class_name +"\"" | ||
| 153 | }+"><label for=\"" + html_id.id + "\" id=\"label_" + html_id.id + "\"" + | 153 | }+"><label for=\"" + html_id.id + "\" id=\"label_" + html_id.id + "\"" + |
| 154 | if class is | 154 | if class is |
| 155 | { | 155 | { |
| @@ -168,7 +168,7 @@ define HTML_Off_Form | @@ -168,7 +168,7 @@ define HTML_Off_Form | ||
| 168 | 168 | ||
| 169 | input_date(html_id, label) then | 169 | input_date(html_id, label) then |
| 170 | sequence([ | 170 | sequence([ |
| 171 | - literal("<div id=\"" + html_id.id +"_block\"><label for=\"" + html_id.id + "\"> " + label + "</label>"), | 171 | + literal("<div id=\"" + html_id.id +"_block\" class=\"dojo_diag\" ><label for=\"" + html_id.id + "\"> " + label + "</label>"), |
| 172 | literal("<div id=\""+html_id.id+"\" type=\"text\" name=\"date1\" | 172 | literal("<div id=\""+html_id.id+"\" type=\"text\" name=\"date1\" |
| 173 | dojoType=\"dijit.form.DateTextBox\"> | 173 | dojoType=\"dijit.form.DateTextBox\"> |
| 174 | </div></div>" | 174 | </div></div>" |
| @@ -177,14 +177,14 @@ define HTML_Off_Form | @@ -177,14 +177,14 @@ define HTML_Off_Form | ||
| 177 | 177 | ||
| 178 | input_combo(the_id, label, list_data) then | 178 | input_combo(the_id, label, list_data) then |
| 179 | sequence([ | 179 | sequence([ |
| 180 | - literal("<div id=\"" + the_id.id +"_block\">"), | 180 | + literal("<div id=\"" + the_id.id +"_block\" class=\"dojo_diag\">"), |
| 181 | dojo_combobox(wan(the_id.id), the_id, label, list_data), | 181 | dojo_combobox(wan(the_id.id), the_id, label, list_data), |
| 182 | literal("</div>") | 182 | literal("</div>") |
| 183 | ]), | 183 | ]), |
| 184 | 184 | ||
| 185 | input_check(the_id, label, checked) then | 185 | input_check(the_id, label, checked) then |
| 186 | sequence([ | 186 | sequence([ |
| 187 | - literal("<div id=\"" + the_id.id +"_block\">"), | 187 | + literal("<div id=\"" + the_id.id +"_block\" class=\"dojo_diag\">"), |
| 188 | dojo_checkbox(wan(the_id.id), the_id, label, wav("1"), checked), | 188 | dojo_checkbox(wan(the_id.id), the_id, label, wav("1"), checked), |
| 189 | literal("</div>"), | 189 | literal("</div>"), |
| 190 | ]), | 190 | ]), |