-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
51 lines (50 loc) · 2.07 KB
/
options.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<form>
<textarea id="description" rows="4" cols="31" placeholder="Description"></textarea>
<textarea id="template" rows="4" cols="31" placeholder="Template"></textarea>
<button type="submit">Save</button>
</form>
<h3>template examples</h3>
<form class="examples" id="md">
<input type="text" class="description" value="copy link in markdown" readonly>
<input type="text" class="template" value='[$LINKTEXT]($URL "$TITLE")' readonly>
<button type="submit">Prefill</button>
</form>
<form class="examples" id="mw">
<input type="text" class="description" value="copy link in MediaWiki" readonly>
<input type="text" class="template" value="[$URL $LINKTEXT]" readonly>
<button type="submit">Prefill</button>
</form>
<form class="examples">
<input type="text" class="description" value="copy link in Textile" readonly>
<input type="text" class="template" value='"$LINKTEXT":$URL' readonly>
<button type="submit">Prefill</button>
</form>
<form class="examples">
<input type="text" class="description" value="copy link in JIRA" readonly>
<input type="text" class="template" value="[$LINKTEXT|$URL]" readonly>
<button type="submit">Prefill</button>
</form>
<form class="examples">
<input type="text" class="description" value="copy link in Tiki" readonly>
<input type="text" class="template" value="[$URL|$LINKTEXT]" readonly>
<button type="submit">Prefill</button>
</form>
<form class="examples">
<input type="text" class="description" value="copy link in Plaintext" readonly>
<input type="text" class="template" value="$LINKTEXT $URL" readonly>
<button type="submit">Prefill</button>
</form>
<form class="examples">
<input type="text" class="description" value="copy link in <Plaintext>" readonly>
<input type="text" class="template" value="$LINKTEXT <$URL>" readonly>
<button type="submit">Prefill</button>
</form>
<script src="options.js"></script>
</body>
</html>