-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
226 lines (176 loc) · 8.34 KB
/
index.html
File metadata and controls
226 lines (176 loc) · 8.34 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<!--
This file is part of [SplitTexter] https://github.com/AmanLakhuja/SplitTexter
Copyright (C) [Aman Lakhuja] [2025]
This program is licensed under the Server Side Public License, version 1,
as published by MongoDB, Inc.
You may obtain a copy of the SSPL at
https://www.mongodb.com/licensing/server-side-public-license
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SplitTexter</title>
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/svg+xml" href="./assets/icons/SplitTexter_svg_icon.svg">
<link rel="alternate icon" type="image/png" href="./assets/icons/SplitTexter_32x32_icon.png" sizes="32x32">
<link rel="alternate icon" type="image/png" href="./assets/icons/SplitTexter_16x16_icon.png" sizes="16x16">
</head>
<body>
<!-- ========================================= -->
<!-- ----------------------------------------- -->
<!-- ====== Div 'toolbar' class start here ===== -->
<!-- ========================================= -->
<div class="toolbar">
<!-- =============================================== -->
<!-- ===== project_name_container class start ===== -->
<div class="project_name_container">
<div class="projectName">
<strong>SplitTexter</strong>
</div>
<div class="CreatedBy">
<a href="https://github.com/AmanLakhuja?tab=repositories" id="my_name">By Aman_Lakhuja<span class="tooltip-text">Click To open Github Repository</span></a>
</div>
</div>
<!-- ===== project_name_container class end ===== -->
<!-- ============================================= -->
<!-- ============================================ -->
<!-- ===== Separater_container class start ===== -->
<div class="Separater_container">
<div class="form-row">
<label for="separationPoint">Separation Point:</label>
<input type="text" id="separationPoint" placeholder="text">
</div>
<div class="form-row">
<label for="separatedBy">Separated By:</label>
<input type="text" id="separatedBy" placeholder="text">
</div>
</div>
<!-- ===== Separater_container class end ===== -->
<!-- ========================================== -->
<!-- ================================================= -->
<!-- ===== First Checkbox_container class start ===== -->
<div class="Checkbox_container">
<div class="checkbox-row">
<label>
<input type="checkbox" id="removeSeparator" checked>
Remove Separator
</label>
</div>
<dv class="checkbox-row">
<label>
<input type="checkbox" id="addNewLine">
Add New Line
</label>
</dv>
</div>
<!-- ===== First Checkbox_container class end ===== -->
<!-- ============================================== -->
<!-- ================================================== -->
<!-- ===== Second Checkbox_container class start ===== -->
<div class="Checkbox_container" >
<div class="checkbox-row" style="width: 180px;">
<label>
<input type="checkbox" id="noTrailingSeparator" checked>
Exclude End Separater
</label>
</div>
<div class="checkbox-row" style="width: 180px;">
<label>
<input type="checkbox" id="noTrailing_prefix_suffix" checked>
Exclude End Prefix, Sufix
</label>
</div>
</div>
<!-- ===== Second Checkbox_container class end ===== -->
<!-- =============================================== -->
<!-- =============================================== -->
<!-- ===== prefix_sufix_container class start ===== -->
<div class="prefix_sufix_container">
<div class="form-row">
<label>Prefix:
<input type="text" id="prefix" placeholder="add prefix">
</label>
</div>
<div class="form-row">
<label>Suffix:
<input type="text" id="suffix" placeholder="add suffix">
</label>
</div>
</div>
<!-- ===== prefix_sufix_container class end ===== -->
<!-- ============================================ -->
<!-- ============================================= -->
<!-- ===== ClearButtonContainer class start ===== -->
<div class="ClearButtonContainer">
<div class="clr-button-row">
<button id="clearInputsBtn">Clear Input Fields</button>
</div>
<div class="clr-button-row">
<button id="clearAllBtn">Clear All</button>
</div>
</div>
<!-- ===== ClearButtonContainer class end ===== -->
<!-- ========================================== -->
<!-- ===================================================== -->
<!-- ===== toogle_button_main_container class start ===== -->
<div class="toogle_button_main_container">
<div class="toggle-container">
<input type="checkbox" id="theme-toggle-checkbox" class="theme-toggle-input" />
<label for="theme-toggle-checkbox" class="theme-toggle-label">
<div class="toggle-slider">
<!-- Sun icon (light mode, default) -->
<svg class="icon sun-icon" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="golden" viewBox="0 0 17 17">
<path d="M12 8a4 4 0 1 1-8 0 4 4 0 0 1 8 0M8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0m0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13m8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5M3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8m10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0m-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0m9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707M4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708"/>
</svg>
<!-- Moon icon (dark mode, toggled) -->
<svg class="icon moon-icon" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="black" viewBox="-4 -4 24 24">
<path d="M6 .278a.77.77 0 0 1 .08.858 7.2 7.2 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277q.792-.001 1.533-.16a.79.79 0 0 1 .81.316.73.73 0 0 1-.031.893A8.35 8.35 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.75.75 0 0 1 6 .278"/>
</svg>
</div>
</label>
</div>
</div>
<!-- ===== toogle_button_main_container class end ===== -->
<!-- ================================================== -->
</div>
<!-- ========================================= -->
<!-- ====== Div toolbar class Ends here ====== -->
<!-- ----------------------------------------- -->
<!-- ========================================= -->
<!-- ============================================= -->
<!-- --------------------------------------------- -->
<!-- ====== Div 'container' start here ===== -->
<!-- ============================================= -->
<div class="container">
<div class="box">
<div class="box-header">
<h3>Input</h3>
<div>
<button id="pasteBtn">Paste</button>
<button id="clearTextBtn">Clear Text</button>
</div>
</div>
<textarea id="input" placeholder="Enter your text here..."></textarea>
</div>
<div class="box">
<div class="box-header">
<h3>Output</h3>
<div>
<span id="copiedIndicator">Copied!</span>
<button id="copyBtn">Copy</button>
<button id="downloadBtn">Download</button>
</div>
</div>
<textarea id="output" placeholder="Processed output..." readonly></textarea>
</div>
</div>
<!-- ============================================= -->
<!-- ====== Div toolbar container start here ===== -->
<!-- --------------------------------------------- -->
<!-- ============================================= -->
<!-- Calling For Javascript -->
<script src="script.js"></script>
</body>
</html>