aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov@twistea.su>2025-04-01 21:37:43 +0300
committerjustanothercatgirl <sotov@twistea.su>2025-04-01 21:54:17 +0300
commita81c5876f2058605cc5f15525591acde3ae16a80 (patch)
tree37edb55c4733288c9e58a0da960a6e3918a12279 /www
parent08403b616f9dad83cb1204eec83ba1252e3eb129 (diff)
Integrated STE into html generation & cleaned up code
Diffstat (limited to 'www')
-rw-r--r--www/form-test.html (renamed from www/form.html)0
-rw-r--r--www/index.html6
2 files changed, 2 insertions, 4 deletions
diff --git a/www/form.html b/www/form-test.html
index 79eb7b1..79eb7b1 100644
--- a/www/form.html
+++ b/www/form-test.html
diff --git a/www/index.html b/www/index.html
index ed48fc5..973c32b 100644
--- a/www/index.html
+++ b/www/index.html
@@ -12,10 +12,9 @@
<title>JAC's link shortener</title>
</head>
<body>
- <div>
<h1>Just another link shortener</h1>
<p>Try it out!</p>
- <form action="/api/linkadd" target="result">
+ <form action="/api/linkadd" target="result" accept-charset="utf-8">
<div>
<label>URL:</label>
<input type="url"name="url"required/>
@@ -28,8 +27,7 @@
<input type="submit"value="Shorten URL!"/>
</form>
<h3>Result:</h3>
- <iframe name="result"scrolling="no"/>
- </div>
+ <iframe name="result"scrolling="no"></iframe>
<p> For API documentation, go to <a href="/docs">documentation page</a></p>
</body>
</html>