This repository has been archived by the owner on Jan 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (74 loc) · 2.56 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
lang="en" xml:lang="en">
<head>
<meta charset="utf-8" />
<script src="index.js" type="module"></script>
<link rel="stylesheet" href="index.css" />
<link rel="icon" type="image/svg+xml" href="/thumb.svg" />
</head>
<body>
<main>
<h1>Beakermentions</h1>
<div class="response-container"></div>
<div class="send">
<form id="send-webmention" method="get" action="/">
<p>
<label for="send-webmention-source">Source</label>
<input type="url" name="source"
id="send-webmention-source"
required="required"
placeholder="Source URL" />
</p>
<p>
<label for="send-webmention-target">Target</label>
<input type="url" name="target"
id="send-webmention-target"
required="required"
placeholder="Target URL" />
</p>
<p><button type="submit">Send Webmention</button></p>
</form>
</div>
<div class="configure">
<details>
<summary>Configure Endpoint</summary>
<div id="configure-endpoint">
<p>
<label for="endpoint">Endpoint URL (use this for the <code>webmention</code> key)</label>
<input id="endpoint"
type="text"
disabled="disabled"></input>
</p>
<p>
<label for="blacklist">Source Blacklist (one hyperdrive URL/line)</label>
<textarea id="blacklist"></textarea>
</p>
<p>
<label for="whitelist">Target Whitelist (one hyperdrive URL/line)</label>
<textarea id="whitelist"></textarea>
</p>
<p>
<label for="applist">Application Whitelist (one hyperdrive URL/line)</label>
<textarea id="applist"></textarea>
</p>
<p>
<button id="save-configuration">Save Configuration</button>
</p>
</div>
</details>
</div>
<section id="readme"></section>
</main>
<template class="response">
<div class="response-output">
<p class="response-type"></p>
<ul>
<li><code>Source:</code> <a class="response-source"></a></li>
<li><code>Target:</code> <a class="response-target"></a></li>
<li><code>Status:</code> <span class="response-status"></span></li>
</ul>
</div>
</template>
</body>
</html>