-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathWebInterface.html
More file actions
55 lines (54 loc) · 2.24 KB
/
Copy pathWebInterface.html
File metadata and controls
55 lines (54 loc) · 2.24 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>lipsum-cpp web interface example</title>
<style>
textarea { height: auto; }
</style>
</head>
<body>
<div id="version">lipsum-cpp version</div>
<select id="func">
<option value="word">word</option>
<option value="fragment">fragment</option>
<option value="sentence">sentence</option>
<option value="paragraph">paragraph</option>
<option value="text">text</option>
<option value="scramble">scramble</option>
<option value="plain_url">plain_url</option>
<option value="email">email</option>
<option value="url">url</option>
<option value="slug">slug</option>
<option value="case_slug">case_slug</option>
<option value="code">code</option>
<option value="ip_addr">ip_addr</option>
<option value="phone_number">phone_number</option>
<option value="fmt_paragraph">fmt_paragraph</option>
<option value="fmt_text">fmt_text</option>
<option value="fmt_header">fmt_header</option>
<option value="fmt_emphasis">fmt_emphasis</option>
<option value="fmt_link">fmt_link</option>
<option value="fmt_list">fmt_list</option>
<option value="xml">xml</option>
<option value="json">json</option>
<option value="json_value">json_value</option>
<option value="csv">csv</option>
</select><br>
<label for="num">Number to use:</label>
<input type="number" id="num" value="1"><br>
<label for="separator">Slug separator or minimum scramble character:</label>
<input type="text" id="separator" value="-"><br>
<label for="maxChar">Maximum scramble character:</label>
<input type="text" id="maxChar" value="~"><br>
<label for="useLipsum">Start with "Lorem ipsum..."? (or is bold / ordered / is JSON object)</label>
<input type="checkbox" id="useLipsum" checked><br>
<label for="useHtml">Use HTML instead of Markdown?</label>
<input type="checkbox" id="useHtml"><br>
<button id="generate">Generate</button>
<br>
<textarea id="output" rows="20" cols="100"></textarea>
<script src="lipsum.js"></script>
<script src="WebInterface.js"></script>
</body>
</html>