From 63b2c11bfaef1e715919083427a83decf3a50c05 Mon Sep 17 00:00:00 2001 From: totoro Date: Mon, 14 Aug 2017 13:12:02 +0200 Subject: [PATCH] add html tag: - select - option - datalist --- web/CXM_making_a_web_site.anubis | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/web/CXM_making_a_web_site.anubis b/web/CXM_making_a_web_site.anubis index 747677c..ab89558 100644 --- a/web/CXM_making_a_web_site.anubis +++ b/web/CXM_making_a_web_site.anubis @@ -1855,6 +1855,8 @@ public define HTML_Off_Form a(List(CoreAttrs) attrs, A_href _href, HTML_Off_Form public define HTML_Off_Form a(List(CoreAttrs) attrs, A_href _href, List(HTML_Off_Form) content) = a(attrs, _href, _self, content). public define HTML_Off_Form a(A_href _href, HTML_Off_Form content) = a([], _href, _self, [content]). public define HTML_Off_Form a(A_href _href, List(HTML_Off_Form) content) = a([], _href, _self, content). +public define HTML_Off_Form a(A_href _href, A_target _target, HTML_Off_Form content) = a([], _href, _target, [content]). +public define HTML_Off_Form a(A_href _href, A_target _target, List(HTML_Off_Form) content) = a([], _href, _target, content). //
public define HTML_Off_Form article(List(CoreAttrs) attrs, List(HTML_Off_Form) content) = html_tag("article", attrs, content). @@ -1878,6 +1880,12 @@ public define HTML_Off_Form button(List(CoreAttrs) attrs, HTML_Off_Form content) public define HTML_Off_Form button(List(HTML_Off_Form) content) = html_tag("button", [], content). public define HTML_Off_Form button(HTML_Off_Form content) = html_tag("button", [], [content]). + // +public define HTML_Off_Form datalist(List(CoreAttrs) attrs, List(HTML_Off_Form) content) = html_tag("datalist", attrs, content). +public define HTML_Off_Form datalist(List(CoreAttrs) attrs, HTML_Off_Form content) = html_tag("datalist", attrs, [content]). +public define HTML_Off_Form datalist(List(HTML_Off_Form) content) = html_tag("datalist", [], content). +public define HTML_Off_Form datalist(HTML_Off_Form content) = html_tag("datalist", [], [content]). + //
public define HTML_Off_Form div(List(CoreAttrs) attrs, List(HTML_Off_Form) content) = html_tag("div", attrs, content). public define HTML_Off_Form div(List(CoreAttrs) attrs, HTML_Off_Form content) = html_tag("div", attrs, [content]). @@ -1972,6 +1980,12 @@ public define HTML_Off_Form ol(List(CoreAttrs) attrs, HTML_Off_Form content) public define HTML_Off_Form ol(List(HTML_Off_Form) content) = html_tag("ol", [], content). public define HTML_Off_Form ol(HTML_Off_Form content) = html_tag("ol", [], [content]). + //