passed/static/index.html

116 lines
4.1 KiB
HTML
Raw Normal View History

2024-10-29 23:08:11 +00:00
<!doctype html>
2024-11-10 09:46:40 +00:00
<html>
2024-10-29 23:08:11 +00:00
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<!--<link rel="icon" href="favicon.png" />-->
<title>PassED</title>
2024-11-10 09:46:40 +00:00
<link rel="stylesheet" href="/css/pico.min.css" />
<script src="/js/lang.js"></script>
<script src="/js/api.js"></script>
<script src="/js/crypto.js"></script>
<script src="/js/main.js"></script>
2024-10-29 23:08:11 +00:00
</head>
2024-11-10 09:46:40 +00:00
<nav class="container">
2024-10-29 23:08:11 +00:00
<ul>
<li>
2024-11-10 09:46:40 +00:00
<strong t="title"></strong>
2024-10-29 23:08:11 +00:00
</li>
</ul>
<ul>
<li>
2024-11-10 09:46:40 +00:00
<a href="https://git.1e99.eu/1e99/passed/" t="source-code"></a>
</li>
<li>
<details class="dropdown">
<summary t="language"></summary>
<ul dir="rtl">
<li t="language-en" class="select-language" data-lang="en"></li>
<li t="language-de" class="select-language" data-lang="de"></li>
2024-11-10 10:35:37 +00:00
<li t="language-fr" class="select-language" data-lang="fr"></li>
2024-11-10 10:34:04 +00:00
<li t="language-es" class="select-language" data-lang="es"></li>
2024-11-10 09:46:40 +00:00
</ul>
</details>
2024-10-29 23:08:11 +00:00
</li>
</ul>
</nav>
<main class="container">
<article>
2024-11-10 09:46:40 +00:00
<header t="enter-password"></header>
2024-10-29 23:08:11 +00:00
2024-10-30 12:24:59 +00:00
<form id="enter-password">
2024-11-10 09:46:40 +00:00
<fieldset id="enter-password">
<label>
<span t="password"></span>
<textarea name="password"></textarea>
</label>
<label>
<span t="expires-in"></span>
<select name="expires-in">
<option value="3600" selected t="expires-in.1-hour"></option>
<option value="43200" t="expires-in.12-hours"></option>
<option value="86400" t="expires-in.1-day"></option>
<option value="604800" t="expires-in.1-week"></option>
<option value="1209600" t="expires-in.2-weeks"></option>
</select>
</label>
</fieldset>
<button type="submit" id="enter-password" t="generate-link"></button>
2024-10-29 23:08:11 +00:00
</form>
</article>
2024-10-30 12:24:59 +00:00
</main>
2024-10-29 23:08:11 +00:00
2024-11-10 09:46:40 +00:00
<dialog id="link">
2024-10-30 12:24:59 +00:00
<article>
2024-11-10 09:46:40 +00:00
<header t="share-link"></header>
2024-10-30 12:24:59 +00:00
<fieldset role="group">
2024-11-10 09:46:40 +00:00
<input readonly id="link"/>
<button t="copy" id="link-copy"></button>
2024-10-30 12:24:59 +00:00
</fieldset>
<footer>
2024-11-10 09:46:40 +00:00
<button class="secondary" id="link-close" t="close"></button>
2024-10-30 12:24:59 +00:00
</footer>
</article>
</dialog>
2024-10-29 23:08:11 +00:00
2024-11-10 09:46:40 +00:00
<dialog id="not-found">
2024-10-30 12:24:59 +00:00
<article>
2024-11-10 09:46:40 +00:00
<header t="not-found"></header>
<p t="not-found-reason"></p>
2024-10-30 12:24:59 +00:00
<footer>
2024-11-10 09:46:40 +00:00
<button t="close" id="not-found-close"></button>
2024-10-30 12:24:59 +00:00
</footer>
</article>
</dialog>
2024-10-29 23:08:11 +00:00
2024-11-10 09:46:40 +00:00
<dialog id="confirm">
2024-10-30 12:24:59 +00:00
<article>
2024-11-10 09:46:40 +00:00
<header t="reveal-password"></header>
<p t="reveal-password-once"></p>
2024-10-30 12:24:59 +00:00
<footer>
2024-11-10 09:46:40 +00:00
<button class="secondary" t="close" id="confirm-close"></button>
<button t="ok" id="confirm-ok"></button>
2024-10-30 12:24:59 +00:00
</footer>
</article>
</dialog>
2024-11-10 09:46:40 +00:00
<dialog id="view">
2024-10-30 12:24:59 +00:00
<article>
2024-11-10 09:46:40 +00:00
<header t="password"></header>
<textarea readonly id="view-password"></textarea>
2024-10-30 12:24:59 +00:00
<footer>
2024-11-10 09:46:40 +00:00
<button t="close" id="view-close"></button>
2024-10-30 12:24:59 +00:00
</footer>
</article>
</dialog>
2024-10-29 23:08:11 +00:00
</body>
</html>