Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
WWFYMN authored Oct 8, 2022
1 parent bc24641 commit 48dcd5d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
Binary file modified WebClient/website/__pycache__/views.cpython-310.pyc
Binary file not shown.
16 changes: 15 additions & 1 deletion WebClient/website/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,25 @@
/>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbar">
<div class="navbar-nav">
<a class="nav-item nav-link" id="login" href="/login">Login</a>
<a class="nav-item nav-link" id="SignUp" href="/sign-up">Sign Up</a>
<a class="nav-item nav-link" id="logout" href="/logout">Logout</a>
<a class="nav-item nav-link" id="home" href="/">Home</a>
</div>
</div>
</nav>
<script
src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"
></script>
>
</script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
Expand Down
2 changes: 2 additions & 0 deletions WebClient/website/templates/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{% extends "base.html" %}
{% block title %}Home{% endblock %}
4 changes: 2 additions & 2 deletions WebClient/website/views.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from flask import Blueprint
from flask import Blueprint, render_template

views = Blueprint('views', __name__)

@views.route('/')
def home():
return "<h>test</h>"
return render_template("home.html")

0 comments on commit 48dcd5d

Please sign in to comment.