-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (71 loc) · 3.35 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
<!DOCTYPE html>
<html>
<head>
<title>The Alphabetizer</title>
<link href="main.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="main">
<div id="content">
<div id="titleContainer" class="sectionContainer">
<span id="title">Eht Aabeehilprtz</span>
</div>
<div id="inputAreaContainer" class="sectionContainer">
<p class="sectionHeader">Input</p>
<div id="separatorSelectDropdownContainer" class="subsectionContainer">
<label for="separatorSelectDropdown">Separator:</label>
<br>
<select id="separatorSelectDropdown">
<option value="none" selected>None - Input will be treated as a single item</option>
<option value="newline">Newline</option>
<option value="comma">Comma</option>
<option value="space">Space</option>
</select>
</div>
<div id="itemInputContainer" class="sectionContainer">
<label for="inputTextarea">Add an item or a list of items and press enter:</label>
<br>
<textarea id="inputTextarea"></textarea>
</div>
</div>
<div id="outputAreaContainer" class="sectionContainer">
<div id="output" class="subsectionContainer" readonly></div>
</div>
<ul id="listContainer" class="sectionContainer"></ul>
</div>
<div id="toolbar">
<p class="sectionHeader">Output Options</p>
<div>
<label for="ignoreCaseCheckbox">Ignore case</label>
<input type="checkbox" id="ignoreCaseCheckbox" checked />
</div>
<br>
<fieldset id="duplicateHandlingRadioFieldset">
<legend>Duplicates</legend>
<div class="radioContainer">
<label for="radioLeave">Leave</label>
<input type="radio" id="radioLeave" name="duplicateHandling" value="leave" checked>
</div>
<div class="radioContainer">
<label for="radioGroup">Group</label>
<input type="radio" id="radioGroup" name="duplicateHandling" value="group">
</div>
<div class="radioContainer">
<label for="radioRemove">Remove</label>
<input type="radio" id="radioRemove" name="duplicateHandling" value="remove">
</div>
</fieldset>
<div class="buttonContainer">
<button id="downloadTXTButton">Download TXT</button>
</div>
<div class="sectionContainer">
<button id="downloadCSVButton">Download CSV</button>
</div>
<div class="buttonContainer">
<button id="startOverButton">Start Over</button>
</div>
</div>
</div>
<script src="main.js" type="module"></script>
</body>
</html>