From 2cff260cf2b69b122ac41fa52b6459ff027a834f Mon Sep 17 00:00:00 2001 From: totoro Date: Mon, 14 Aug 2017 13:00:20 +0200 Subject: [PATCH] update some old html tag by a new version --- web/CXM_dojo.anubis | 16 ++++++++-------- web/jQuery/CXM_jquery_tabs.anubis | 2 +- web/widgets/fisheye_menu.anubis | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/web/CXM_dojo.anubis b/web/CXM_dojo.anubis index fd8df36..7140261 100644 --- a/web/CXM_dojo.anubis +++ b/web/CXM_dojo.anubis @@ -61,13 +61,13 @@ public define HTML_Off_Form ") . -public type Input_Type: +public type Dojo_Input_Type: file, text, password. public type InputDial: - input_dial(HTML_Id id, Input_Type input_type, String label, Maybe(String) class), + input_dial(HTML_Id id, Dojo_Input_Type input_type, String label, Maybe(String) class), input_date(HTML_Id id, String label), input_combo(HTML_Id id, String label, List((List(CoreAttrs), WebArgValue, String)) list_data), input_check(HTML_Id id, String label, Bool checked), @@ -360,9 +360,9 @@ public define HTML_Off_Form public define HTML_Off_Form dojo_grid - ( - HTML_Id html_id, - List(CoreAttrs) attributes, + ( + HTML_Id html_id, + List(CoreAttrs) attributes, // List(GridColumn) columns, String colum1, String colum2, @@ -379,7 +379,7 @@ public define HTML_Off_Form init_dojo_grid(\""+html_id.id+"\", \""+colum1+"\",\""+colum2+"\", \""+colum3+"\", \""+colum4+"\", "+ (if can_edit then "1" else "0")+"); }); "), - div_empty([id(html_id.id) . attributes /*attr("dojoType", "dojox.Grid"), */]), + div([id(html_id.id) . attributes /*attr("dojoType", "dojox.Grid"), */]), ]). //
"). @@ -537,7 +537,7 @@ public define HTML_Off_Form ( List(CoreAttrs) attributes, )= - div_empty(attributes). + div(attributes). @@ -737,7 +737,7 @@ public define HTML_Off_Form )= sequence([ text([id("text_" + html_id.id), class("progress_bar")], label), - div_empty([id(html_id.id), + div([id(html_id.id), class("progress_bar"), attr("maximum", abs_to_decimal(maximum)), attr("progress", abs_to_decimal(progress)), diff --git a/web/jQuery/CXM_jquery_tabs.anubis b/web/jQuery/CXM_jquery_tabs.anubis index 76853bb..dee9d99 100644 --- a/web/jQuery/CXM_jquery_tabs.anubis +++ b/web/jQuery/CXM_jquery_tabs.anubis @@ -44,7 +44,7 @@ define HTML_Partial_Content partial_content( tabs_heads, sequence([ - ul(tabs_titles), + ul(text(tabs_titles)), sequence(reverse(tabs_contents)) ]) ), diff --git a/web/widgets/fisheye_menu.anubis b/web/widgets/fisheye_menu.anubis index e136091..5ba7f38 100644 --- a/web/widgets/fisheye_menu.anubis +++ b/web/widgets/fisheye_menu.anubis @@ -31,7 +31,7 @@ define List(HTML_Off_Form) { [] then reverse(so_far), //reverse to be in the right direction [h . t] then - with entry = (HTML_Off_Form)image( + with entry = (HTML_Off_Form)img( [ id(h.id), class("menu_item"+if h.id = selected_space then " menu_selected" else ""), -- libgit2 0.21.4