From d0da75acd0f8ee3340480ef9528fa949c5d6f707 Mon Sep 17 00:00:00 2001 From: totoro Date: Mon, 13 Mar 2023 14:51:51 +0100 Subject: [PATCH] [+] add some CoreAttrs helper for colspan(value) and rowspan(value) --- web/types/making_a_web_site.anubis | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/web/types/making_a_web_site.anubis b/web/types/making_a_web_site.anubis index 3cd494b..4540c64 100644 --- a/web/types/making_a_web_site.anubis +++ b/web/types/making_a_web_site.anubis @@ -439,15 +439,9 @@ public type HTML_Off_Form: literal (String), sequence (List(HTML_Off_Form) items), text (List(CoreAttrs), String the_text), -// preformated (List(Text_Option), String), + table (List(Table_Option), HTML_Header_Row(HTML_Off_Form), List(HTML_Row(HTML_Off_Form)), HTML_Footer_Row(HTML_Off_Form)), - //center (HTML_Off_Form), -// mail_to (String email, HTML_Off_Form element), -// scroller (Int width, Int height, -// Int content_width, Int content_height, -// HTML_Off_Form content), - //fixed_size (HTML_Size width, HTML_Size height, HTML_Off_Form content), - //fixed_size_2 (HTML_Size width, HTML_Size height, String name_of_HTML_file), + actioner (Actioner_Connection, Actioner_Target, Actioner_Aspect, WEB_Action_Name action_name, List((String,String)) extra_ops, List(Actioner_Local_Action)), @@ -577,6 +571,9 @@ public type CoreAttrs: spellcheck(Bool) //Specifies whether the element represents an element whose contents are subject to spell checking and grammar checking. . +public define CoreAttrs colspan(Int value)= attr("colspan", to_String(value)). +public define CoreAttrs rowspan(Int value)= attr("rowspan", to_String(value)). + public define CoreAttrs boolean ( -- libgit2 0.21.4