Commit Graph

44 Commits

Author SHA1 Message Date
d9c36d0a4e Added an input_hidden helper. 2022-01-07 22:58:12 +01:00
e32593da4c Fix edge cases during parsing <script> tags with in-html code. 2021-11-21 12:32:36 +01:00
35fd8d7894 Fix an another indexing edge case. 2021-11-21 11:15:21 +01:00
4a947d39b0 Fix index calculations for comments in HTMLParser. 2021-11-21 11:04:39 +01:00
ff8790f81d Implemented a few helpers for the HTMLParser. 2021-11-20 20:53:17 +01:00
f1965f4bd5 Added 3 helper methods. 2021-11-19 08:10:00 +01:00
f5afa7eb8e Remove stray print. 2021-11-18 23:14:08 +01:00
000174f3c8 Now the HTMLParser builds up the HTML hierarchy correctly. Also prettified to_string's output. 2021-11-18 13:50:20 +01:00
2dac93662c Inproved HTMLParserTag's to_string a bit. 2021-11-18 12:21:47 +01:00
7ce989d12b Don't leak memory. 2021-11-18 12:07:28 +01:00
c23afa0332 Implemented to_string, and print for HTMLParser. also indexing fixes, and changed attributes and tags into pointers. 2021-11-18 12:03:43 +01:00
65ddfe2353 Call process right when it's needed. 2021-11-18 11:19:11 +01:00
ae3b14ad0c Fixed the parse_args method. 2021-11-18 11:18:05 +01:00
43a7185e23 A bit more work on fixing the html argument parser's indexing. 2021-11-18 07:18:35 +01:00
1fcc47b353 Added a new HTMLParser class. Still WIP. 2021-11-18 00:59:21 +01:00
fd7bcb43cb Added more dropdown helpers. 2021-11-16 18:31:42 +01:00
94381a3e42 Textarea helpers. 2021-11-16 17:34:01 +01:00
e99a82919d Fix one of the link helpers. 2021-11-16 17:05:57 +01:00
b8b2d5a3a6 Even more helpers. 2021-11-16 16:54:28 +01:00
7e4c5eeb3e Added 2 more helpers to HTMLBuilder. 2021-11-16 16:51:02 +01:00
eee908912d Added more form helpers. 2021-11-16 16:41:47 +01:00
ff28b413d2 Added onclick helper aswell. 2021-11-16 16:33:47 +01:00
e5de7e48ae Added autocomplete helpers to HTMLBuilder. 2021-11-16 16:31:34 +01:00
b7930fc9de Added a helper method for labels. 2021-11-16 14:09:05 +01:00
21bc5c4983 Added helper methods to the rest of the input types. 2021-11-16 13:55:58 +01:00
9c53d521b4 Added lots of input related helper methods to HTMLBuilder. 2021-11-16 13:35:55 +01:00
123866edfa Also added input helpers to HTMLBuilder. 2021-11-16 11:35:32 +01:00
fd3c3b298e Added helpers for input type to HTMLTag. 2021-11-16 11:28:30 +01:00
9bc41ad6e4 For attribute for HTMLTag. 2021-11-09 22:53:30 +01:00
80c3b97a6b Added new helper methods to HTMLBuilder. 2021-11-02 12:26:46 +01:00
a330d0f51a Implement the rbac rank editor. 2021-11-01 23:48:25 +01:00
7fecc3e9ff Added helper methods for writing numbers into HTMLBuilder. 2021-11-01 22:47:48 +01:00
1a09dd13b0 Add f() (finish/finalize) to HTMLBuidler. 2021-11-01 20:56:13 +01:00
b1be711eb4 Better chaining support for the html builder. 2021-11-01 20:53:22 +01:00
dd966c9248 FormValidator and HTMLBuilder now uses my string and vector aswell. 2021-11-01 18:00:34 +01:00
b3c1b6ccac Added content quick tag. 2021-10-30 23:31:54 +02:00
ae88f5b746 Placeholder html attribute. 2021-08-20 20:32:23 +02:00
7e8a7671e4 More work on the form vlaidator. 2021-08-20 20:32:09 +02:00
f8ba0b26c5 More improvements to form validation. 2021-08-20 19:18:26 +02:00
3bc7bd98c6 Even more work on from validation. 2021-08-20 18:00:50 +02:00
0abb42bd61 More form validators. 2021-08-20 17:26:56 +02:00
cd59ae4860 Form validator initial implementation. 2021-08-20 15:54:12 +02:00
6ea8d3e39a Added the value tag to the html builder. 2021-08-05 17:10:51 +02:00
843e8153ff Moved the html helpers to a html folder. 2021-05-27 16:57:38 +02:00