111 lines
4.7 KiB
HTML
111 lines
4.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>lđa testing</title>
|
|
<link type="text/css" rel="stylesheet" href="./index/style.css" />
|
|
<!-- huh? what? -->
|
|
<script type="module" src="./index/script.js" defer></script>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css" />
|
|
<!-- real -->
|
|
</head>
|
|
|
|
<body>
|
|
<header>
|
|
<h1>front end design:</h1>
|
|
</header>
|
|
<nav>
|
|
<ul>
|
|
<li>
|
|
<a>about</a>
|
|
</li>
|
|
<li>
|
|
<a href="#oneid">view</a>
|
|
</li>
|
|
<li>
|
|
<a href="">read</a>
|
|
</li>
|
|
<li>
|
|
<a>write</a>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
<main>
|
|
<div class="box">
|
|
<form action="./endp" method="post" id="only_form" enctype="text/plain">
|
|
<label for="oneid">url (no space please thanks)
|
|
<div style>
|
|
<a id="woah" style="text-align: right; min-width: 240px"></a>
|
|
<input style="display: inline" required type="text" name="one" id="oneid" placeholder="url"
|
|
maxlength="15" pattern="\S+" />
|
|
</div>
|
|
</label>
|
|
<label for="the_Textarea">content (idk how it works anymore):
|
|
</label>
|
|
<span id="i_appear" hidden>so uh if you choose redirect then this should be a complete link and nothing
|
|
else uh example <a target="_blank" href="https://ldlda.com">https://ldlda.com</a> uh</span>
|
|
<div>
|
|
<div class="setting-buttons">
|
|
<!-- <input type="button" id="viewTextarea" value="show textarea" /> -->
|
|
<input type="button" id="viewDiv" value="show rendered" />
|
|
<input type="button" value="markdown to html" id="translateMD" />
|
|
<label for="auto_translate"><input type="checkbox" id="auto_translate" /> auto (lag)</label>
|
|
</div>
|
|
<textarea required class="why" name="two" id="the_Textarea" placeholder="what"></textarea>
|
|
<!-- <div class="why" name="two" id="the_div" placeholder="type in here"></div> -->
|
|
</div>
|
|
<label for="threeid"><span style="display: block;">response code if path visited. Default 200</span>
|
|
<select required name="three" id="threeid">
|
|
<option value="" disabled>-- CHOOSE --</option>
|
|
<optgroup label="content">
|
|
<option selected value="200">text file</option>
|
|
</optgroup>
|
|
<optgroup label="redirect">
|
|
<option value="302">shortlinks</option>
|
|
<option value="301">shortlinks permanent</option>
|
|
</optgroup>
|
|
<option id="uniqueID">do NOT:</option>
|
|
</select>
|
|
<input type="number" id="rescode" placeholder="advanced type shi" style="width: 5em; display: none;"
|
|
min="100" max="599" step="1">
|
|
</label>
|
|
<label for="fourid">expiration time for anything (todo idk how to do )<input type="number" name="four"
|
|
id="fourid" placeholder="expiration in days" pattern="\d{1,3}" min="0" max="255"
|
|
step="1" /></label>
|
|
<!-- bulletproof -->
|
|
<p>leave empty for none / default</p>
|
|
<input type="submit" value="Sumit rn" />
|
|
</form>
|
|
<div>
|
|
<p>html from markdown:</p>
|
|
<div class="why" name="two" id="the_div" placeholder="press the translate button"></div>
|
|
<div id="errorfrommd"></div>
|
|
</div>
|
|
</div>
|
|
<p>if bugs tell me how to solve cuz im bad</p>
|
|
<div hidden>
|
|
<p>what post got (sensitive):</p>
|
|
<div id="what"></div>
|
|
</div>
|
|
<div hidden class="table">
|
|
what is present:
|
|
<table id="tbale">
|
|
<thead>
|
|
<th>no.</th>
|
|
<th>url</th>
|
|
<th>it is a</th>
|
|
<th>exp time</th>
|
|
</thead>
|
|
<tbody id="updatedget"></tbody>
|
|
</table>
|
|
</div>
|
|
</main>
|
|
<footer>
|
|
<h1>by <a href="//ldlda.com">lđa</a></h1>
|
|
<p>very fragile</p>
|
|
</footer>
|
|
</body>
|
|
|
|
</html> |