diff options
author | justanothercatgirl <sotov@twistea.su> | 2025-04-01 21:37:43 +0300 |
---|---|---|
committer | justanothercatgirl <sotov@twistea.su> | 2025-04-01 21:54:17 +0300 |
commit | a81c5876f2058605cc5f15525591acde3ae16a80 (patch) | |
tree | 37edb55c4733288c9e58a0da960a6e3918a12279 /template | |
parent | 08403b616f9dad83cb1204eec83ba1252e3eb129 (diff) |
Integrated STE into html generation & cleaned up code
Diffstat (limited to 'template')
-rw-r--r-- | template/args.html.ste | 12 | ||||
-rw-r--r-- | template/linkadd.html.ste | 11 |
2 files changed, 23 insertions, 0 deletions
diff --git a/template/args.html.ste b/template/args.html.ste new file mode 100644 index 0000000..965c06b --- /dev/null +++ b/template/args.html.ste @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"> + </head> + <body> + <h3> List of arguments </h3> + <ol> + %MHD_get_connection_values(connection, MHD_GET_ARGUMENT_KIND, &arg_builder, &resp);% + </ol> + </body> +</html> diff --git a/template/linkadd.html.ste b/template/linkadd.html.ste new file mode 100644 index 0000000..7fe3db3 --- /dev/null +++ b/template/linkadd.html.ste @@ -0,0 +1,11 @@ +<!DOCTYPE html><html> + <head> + <meta charset="utf-8"/> + <style>*{margin:0;padding:0;text-align:center;}</style> + </head> + <body> + <p> Your URL: + <a href="/%OUT(newurlp);%">%OUT(HTTPHOSTNAME);%/%OUT(newurlp);%</a> + </p> + </body> +</html> |