aryandudul
commited on
Commit
•
40937fd
1
Parent(s):
6881248
Upload 2 files
Browse files- index.html +21 -19
- result.html +16 -0
index.html
CHANGED
@@ -1,19 +1,21 @@
|
|
1 |
-
<!doctype html>
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
</
|
|
|
|
|
|
1 |
+
<!doctype html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Upload UML Diagram</title>
|
7 |
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
|
8 |
+
</head>
|
9 |
+
<body>
|
10 |
+
<div class="container mt-5">
|
11 |
+
<h1 class="text-center">Upload UML Diagram</h1>
|
12 |
+
<form action="/upload" method="post" enctype="multipart/form-data">
|
13 |
+
<div class="form-group">
|
14 |
+
<label for="file">Choose UML diagram image</label>
|
15 |
+
<input type="file" class="form-control-file" id="file" name="file" required>
|
16 |
+
</div>
|
17 |
+
<button type="submit" class="btn btn-primary">Upload</button>
|
18 |
+
</form>
|
19 |
+
</div>
|
20 |
+
</body>
|
21 |
+
</html>
|
result.html
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!doctype html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Generated XML</title>
|
7 |
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
|
8 |
+
</head>
|
9 |
+
<body>
|
10 |
+
<div class="container mt-5">
|
11 |
+
<h1 class="text-center">Generated XML</h1>
|
12 |
+
<pre>{{ result }}</pre>
|
13 |
+
<a href="/" class="btn btn-primary">Upload Another</a>
|
14 |
+
</div>
|
15 |
+
</body>
|
16 |
+
</html>
|