95 lines
3.6 KiB
HTML
95 lines
3.6 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="./style.css" />
|
|
<!-- huh? what? -->
|
|
<script type="module" src="./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):
|
|
<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">
|
|
<input type="checkbox" id="auto_translate">
|
|
</div>
|
|
</label>
|
|
<div>
|
|
<textarea 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">response code if path visited. Default 200<input type="number" name="three"
|
|
id="threeid" placeholder="http res code" min="0" pattern="\d*" /></label>
|
|
<label for="fourid">expiration time for anything (todo idk how to do )<input type="number" name="four"
|
|
id="fourid" placeholder="expiration in days" min="0" pattern="\d*" /></label>
|
|
<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> |