Commit 2cff260cf2b69b122ac41fa52b6459ff027a834f

Authored by totoro
1 parent acb19b60

update some old html tag by a new version

web/CXM_dojo.anubis
@@ -61,13 +61,13 @@ public define HTML_Off_Form @@ -61,13 +61,13 @@ public define HTML_Off_Form
61 <button dojoType=\"dijit.form.Button\" id=\""+id+"\" onclick=\""+execute+"\">"+name+"</button>") 61 <button dojoType=\"dijit.form.Button\" id=\""+id+"\" onclick=\""+execute+"\">"+name+"</button>")
62 . 62 .
63 63
64 -public type Input_Type: 64 +public type Dojo_Input_Type:
65 file, 65 file,
66 text, 66 text,
67 password. 67 password.
68 68
69 public type InputDial: 69 public type InputDial:
70 - input_dial(HTML_Id id, Input_Type input_type, String label, Maybe(String) class), 70 + input_dial(HTML_Id id, Dojo_Input_Type input_type, String label, Maybe(String) class),
71 input_date(HTML_Id id, String label), 71 input_date(HTML_Id id, String label),
72 input_combo(HTML_Id id, String label, List((List(CoreAttrs), WebArgValue, String)) list_data), 72 input_combo(HTML_Id id, String label, List((List(CoreAttrs), WebArgValue, String)) list_data),
73 input_check(HTML_Id id, String label, Bool checked), 73 input_check(HTML_Id id, String label, Bool checked),
@@ -360,9 +360,9 @@ public define HTML_Off_Form @@ -360,9 +360,9 @@ public define HTML_Off_Form
360 360
361 public define HTML_Off_Form 361 public define HTML_Off_Form
362 dojo_grid 362 dojo_grid
363 - (  
364 - HTML_Id html_id,  
365 - List(CoreAttrs) attributes, 363 + (
  364 + HTML_Id html_id,
  365 + List(CoreAttrs) attributes,
366 // List(GridColumn) columns, 366 // List(GridColumn) columns,
367 String colum1, 367 String colum1,
368 String colum2, 368 String colum2,
@@ -379,7 +379,7 @@ public define HTML_Off_Form @@ -379,7 +379,7 @@ public define HTML_Off_Form
379 init_dojo_grid(\""+html_id.id+"\", \""+colum1+"\",\""+colum2+"\", \""+colum3+"\", \""+colum4+"\", "+ (if can_edit then "1" else "0")+"); 379 init_dojo_grid(\""+html_id.id+"\", \""+colum1+"\",\""+colum2+"\", \""+colum3+"\", \""+colum4+"\", "+ (if can_edit then "1" else "0")+");
380 }); 380 });
381 </script>"), 381 </script>"),
382 - div_empty([id(html_id.id) . attributes /*attr("dojoType", "dojox.Grid"), */]), 382 + div([id(html_id.id) . attributes /*attr("dojoType", "dojox.Grid"), */]),
383 ]). 383 ]).
384 //<div id=\"gridContainer\"></div>"). 384 //<div id=\"gridContainer\"></div>").
385 385
@@ -537,7 +537,7 @@ public define HTML_Off_Form @@ -537,7 +537,7 @@ public define HTML_Off_Form
537 ( 537 (
538 List(CoreAttrs) attributes, 538 List(CoreAttrs) attributes,
539 )= 539 )=
540 - div_empty(attributes). 540 + div(attributes).
541 541
542 542
543 543
@@ -737,7 +737,7 @@ public define HTML_Off_Form @@ -737,7 +737,7 @@ public define HTML_Off_Form
737 )= 737 )=
738 sequence([ 738 sequence([
739 text([id("text_" + html_id.id), class("progress_bar")], label), 739 text([id("text_" + html_id.id), class("progress_bar")], label),
740 - div_empty([id(html_id.id), 740 + div([id(html_id.id),
741 class("progress_bar"), 741 class("progress_bar"),
742 attr("maximum", abs_to_decimal(maximum)), 742 attr("maximum", abs_to_decimal(maximum)),
743 attr("progress", abs_to_decimal(progress)), 743 attr("progress", abs_to_decimal(progress)),
web/jQuery/CXM_jquery_tabs.anubis
@@ -44,7 +44,7 @@ define HTML_Partial_Content @@ -44,7 +44,7 @@ define HTML_Partial_Content
44 partial_content( 44 partial_content(
45 tabs_heads, 45 tabs_heads,
46 sequence([ 46 sequence([
47 - ul(tabs_titles), 47 + ul(text(tabs_titles)),
48 sequence(reverse(tabs_contents)) 48 sequence(reverse(tabs_contents))
49 ]) 49 ])
50 ), 50 ),
web/widgets/fisheye_menu.anubis
@@ -31,7 +31,7 @@ define List(HTML_Off_Form) @@ -31,7 +31,7 @@ define List(HTML_Off_Form)
31 { 31 {
32 [] then reverse(so_far), //reverse to be in the right direction 32 [] then reverse(so_far), //reverse to be in the right direction
33 [h . t] then 33 [h . t] then
34 - with entry = (HTML_Off_Form)image( 34 + with entry = (HTML_Off_Form)img(
35 [ 35 [
36 id(h.id), 36 id(h.id),
37 class("menu_item"+if h.id = selected_space then " menu_selected" else ""), 37 class("menu_item"+if h.id = selected_space then " menu_selected" else ""),