Spaces:
Build error
Build error
Create templates/index.html
Browse files- templates/index.html +58 -0
templates/index.html
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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, shrink-to-fit=no">
|
| 6 |
+
<meta name="description" content="">
|
| 7 |
+
<meta name="author" content="">
|
| 8 |
+
|
| 9 |
+
<title>ArduProg</title>
|
| 10 |
+
|
| 11 |
+
<!-- Bootstrap core CSS -->
|
| 12 |
+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
|
| 13 |
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css">
|
| 14 |
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"></script>
|
| 15 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.contentWindow.min.js"></script>
|
| 16 |
+
<!-- Custom styles for this template -->
|
| 17 |
+
<link href="{{url_for('static', filename='frontend.css')}}" rel="stylesheet">
|
| 18 |
+
|
| 19 |
+
</head>
|
| 20 |
+
|
| 21 |
+
<body>
|
| 22 |
+
|
| 23 |
+
<main role="main">
|
| 24 |
+
|
| 25 |
+
<section class="jumbotron">
|
| 26 |
+
<div class="container">
|
| 27 |
+
<h1 class="jumbotron-heading">ArduinoProg: From Hardware Setups to Sample Source Code Generation</h1>
|
| 28 |
+
<div class="mb-3">
|
| 29 |
+
<label for="exampleFormControlInput1" class="form-label">Enter a Query</label>
|
| 30 |
+
<input type="input" class="form-control" id="exampleFormControlInput1" placeholder="Query">
|
| 31 |
+
</div>
|
| 32 |
+
<p>
|
| 33 |
+
<a href="#" class="btn btn-primary my-2" onclick="onSubmit()">Retrieve</a>
|
| 34 |
+
</p>
|
| 35 |
+
<div class="text-center" id="spinner" style="display: none">
|
| 36 |
+
<div class="spinner-border" style="width: 4rem; height: 4rem;" role="status" aria-hidden="true">
|
| 37 |
+
<span class="visually-hidden">Loading...</span>
|
| 38 |
+
</div>
|
| 39 |
+
</div>
|
| 40 |
+
</div>
|
| 41 |
+
</section>
|
| 42 |
+
|
| 43 |
+
<div id="grey-container">
|
| 44 |
+
<div id="main-parent" class="container">
|
| 45 |
+
|
| 46 |
+
</div>
|
| 47 |
+
</div>
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
</main>
|
| 51 |
+
|
| 52 |
+
<footer id="footer" class="text-muted">
|
| 53 |
+
</footer>
|
| 54 |
+
|
| 55 |
+
<script src="{{url_for('static', filename='frontend.js')}}"></script>
|
| 56 |
+
</script>
|
| 57 |
+
</body>
|
| 58 |
+
</html>
|