imseldrith commited on
Commit
b5bf547
·
1 Parent(s): c2acb8f

Create templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +24 -0
templates/index.html ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html>
2
+ <head>
3
+ <title>Book to Dataset Converter</title>
4
+ </head>
5
+ <body>
6
+ <h1>Book to Dataset Converter</h1>
7
+ <form action="/" method="post" enctype="multipart/form-data">
8
+ <div>
9
+ <label for="url">Enter URL:</label>
10
+ <input type="text" id="url" name="url">
11
+ <input type="submit" value="Submit URL">
12
+ </div>
13
+ <div>
14
+ <label for="file">Upload File:</label>
15
+ <input type="file" id="file" name="file">
16
+ <input type="submit" value="Upload">
17
+ </div>
18
+ </form>
19
+ {% if encoded_text %}
20
+ <h2>Encoded Text:</h2>
21
+ <p>{{ encoded_text }}</p>
22
+ {% endif %}
23
+ </body>
24
+ </html>