diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2020-06-24 23:39:05 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2020-06-24 23:39:05 +0530 |
commit | e52c18a09cabd374093b06ef0f521767cd228ba6 (patch) | |
tree | 6548d357ba45e75334da8c225a0c6cd5f77f0850 /app/templates/base.html |
make it better
Diffstat (limited to 'app/templates/base.html')
-rw-r--r-- | app/templates/base.html | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app/templates/base.html b/app/templates/base.html new file mode 100644 index 0000000..68fe61b --- /dev/null +++ b/app/templates/base.html @@ -0,0 +1,51 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <title>Curie Web</title> + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> + <link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}"> +</head> +<body> + <nav class="navbar navbar-expand-lg navbar-dark bg-dark"> + <span class="navbar-brand mb-0 h1">Curie Web</span> + <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> + <span class="navbar-toggler-icon"></span> + </button> + <div class="collapse navbar-collapse" id="navbarNav"> + <ul class="navbar-nav"> + <li class="nav-item active"> + <a class="nav-link" href="{{ url_for('home') }}">Home <span class="sr-only">(current)</span></a> + </li><!-- + <li class="nav-item"> + <a class="nav-link" href="{{ url_for('basic_form') }}">Basic Form</a> + </li> + <li class="nav-item"> + <a class="nav-link" href="{{ url_for('wtform') }}">WTForms</a> + </li> --> + <li class="nav-item"> + <a class="nav-link" href="{{ url_for('dock_upload') }}">Dock and Report</a> + </li> + </ul> + </div> + </nav> + <header class="jumbotron jumbotron-fluid"> + <div class="container"> + <h1>Curie Web Demo</h1> + </div> + </header> + <main> + <div class="container"> + {% block main %} + {% endblock %} + </div> + </main> + <footer class="text-muted text-center text-small"> + Copyright © 2020 + </footer> + + <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> + <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> +</body> +</html>
\ No newline at end of file |