Spaces:
Running
Running
Update templates/index.html
Browse files- templates/index.html +8 -2
templates/index.html
CHANGED
@@ -10,9 +10,15 @@
|
|
10 |
<body>
|
11 |
<div class="container">
|
12 |
<h1>Enter Details</h1>
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
<label for="user_text">Enter Your Text: </label>
|
15 |
-
<textarea id="user_text" name="user_text" maxlength="5000" rows="4" cols="50"
|
16 |
<p id="charCount">5000 characters remaining</p>
|
17 |
<br><br>
|
18 |
|
|
|
10 |
<body>
|
11 |
<div class="container">
|
12 |
<h1>Enter Details</h1>
|
13 |
+
|
14 |
+
<div id="loading" class="loading-overlay" style="display: none;">
|
15 |
+
<div class="spinner"></div>
|
16 |
+
<p>Processing... Please wait.</p>
|
17 |
+
</div>
|
18 |
+
|
19 |
+
<form action="/" method="POST" onsubmit="showLoading()">
|
20 |
<label for="user_text">Enter Your Text: </label>
|
21 |
+
<textarea id="user_text" name="user_text" maxlength="5000" rows="4" cols="50" required>{{ user_text if user_text else '' }}</textarea>
|
22 |
<p id="charCount">5000 characters remaining</p>
|
23 |
<br><br>
|
24 |
|