mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
Also added input helpers to HTMLBuilder.
This commit is contained in:
parent
fd3c3b298e
commit
123866edfa
@ -1850,6 +1850,139 @@ HTMLBuilder *HTMLBuilder::cwbr() {
|
||||
return this;
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_button() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->itbutton();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_checkbox() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->itcheckbox();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_color() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->itcolor();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_date() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->itdate();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_datetime_local() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->itdatetime_local();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_email() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->itemail();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_file() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->itfile();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_hidden() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->ithidden();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_image() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->itimage();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_month() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->itmonth();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_number() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->itnumber();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_password() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->itpassword();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_radio() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->itradio();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_range() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->itrange();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_reset() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->itreset();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_search() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->itsearch();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_submit() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->itsubmit();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_tel() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->ittel();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_text() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->ittext();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_time() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->ittime();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_url() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->iturl();
|
||||
}
|
||||
|
||||
HTMLTag *HTMLBuilder::input_week() {
|
||||
write_tag();
|
||||
|
||||
return tag.start("input")->itweek();
|
||||
}
|
||||
|
||||
|
||||
void HTMLBuilder::f() {
|
||||
write_tag();
|
||||
}
|
||||
|
@ -332,6 +332,29 @@ public:
|
||||
HTMLBuilder *cvideo();
|
||||
HTMLBuilder *cwbr();
|
||||
|
||||
HTMLTag *input_button();
|
||||
HTMLTag *input_checkbox();
|
||||
HTMLTag *input_color();
|
||||
HTMLTag *input_date();
|
||||
HTMLTag *input_datetime_local();
|
||||
HTMLTag *input_email();
|
||||
HTMLTag *input_file();
|
||||
HTMLTag *input_hidden();
|
||||
HTMLTag *input_image();
|
||||
HTMLTag *input_month();
|
||||
HTMLTag *input_number();
|
||||
HTMLTag *input_password();
|
||||
HTMLTag *input_radio();
|
||||
HTMLTag *input_range();
|
||||
HTMLTag *input_reset();
|
||||
HTMLTag *input_search();
|
||||
HTMLTag *input_submit();
|
||||
HTMLTag *input_tel();
|
||||
HTMLTag *input_text();
|
||||
HTMLTag *input_time();
|
||||
HTMLTag *input_url();
|
||||
HTMLTag *input_week();
|
||||
|
||||
void f();
|
||||
|
||||
//write
|
||||
|
Loading…
Reference in New Issue
Block a user