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 | 148 | literal("<div id=\"" + html_id.id +"_block\"" + |
| 149 | 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 | 153 | }+"><label for=\"" + html_id.id + "\" id=\"label_" + html_id.id + "\"" + |
| 154 | 154 | if class is |
| 155 | 155 | { |
| ... | ... | @@ -168,7 +168,7 @@ define HTML_Off_Form |
| 168 | 168 | |
| 169 | 169 | input_date(html_id, label) then |
| 170 | 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 | 172 | literal("<div id=\""+html_id.id+"\" type=\"text\" name=\"date1\" |
| 173 | 173 | dojoType=\"dijit.form.DateTextBox\"> |
| 174 | 174 | </div></div>" |
| ... | ... | @@ -177,14 +177,14 @@ define HTML_Off_Form |
| 177 | 177 | |
| 178 | 178 | input_combo(the_id, label, list_data) then |
| 179 | 179 | sequence([ |
| 180 | - literal("<div id=\"" + the_id.id +"_block\">"), | |
| 180 | + literal("<div id=\"" + the_id.id +"_block\" class=\"dojo_diag\">"), | |
| 181 | 181 | dojo_combobox(wan(the_id.id), the_id, label, list_data), |
| 182 | 182 | literal("</div>") |
| 183 | 183 | ]), |
| 184 | 184 | |
| 185 | 185 | input_check(the_id, label, checked) then |
| 186 | 186 | sequence([ |
| 187 | - literal("<div id=\"" + the_id.id +"_block\">"), | |
| 187 | + literal("<div id=\"" + the_id.id +"_block\" class=\"dojo_diag\">"), | |
| 188 | 188 | dojo_checkbox(wan(the_id.id), the_id, label, wav("1"), checked), |
| 189 | 189 | literal("</div>"), |
| 190 | 190 | ]), | ... | ... |