Complete virtual environment added to git. Updated all changes to file in frontend directory

This commit is contained in:
2022-03-11 13:07:43 +01:00
parent 70d04e52fe
commit 56309b11fe
1730 changed files with 336254 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
{% block head %}
<link rel="stylesheet" href="style.css" />
<title>{% block title %}{% endblock %} - My Webpage</title>
{% endblock %}
</head>
<body>
<div id="content">{% block content %}{% endblock %}</div>
<div id="footer">
{% block footer %}
&copy; Copyright 2022 by <a href="http://domain.invalid/">Patrick Sulzle</a>.
{% endblock %}
</div>
</body>
</html>
+14
View File
@@ -0,0 +1,14 @@
{% extends "base.html" %}
{% block title %}Index{% endblock %}
{% block head %}
{{ super() }}
<style type="text/css">
.important { color: #336699; }
</style>
{% endblock %}
{% block content %}
<h1>Groclist</h1>
<p class="important">
Welkom bij Groclist
</p>
{% endblock %}
+23
View File
@@ -0,0 +1,23 @@
<html>
<head>
<title>Groclist - login page</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="static/bootstrap.min.css" rel="stylesheet" media="screen">
</head>
<body>
<div class="container">
<h1>Please login</h1>
<br>
<form action="" method="post">
<input type="text" placeholder="Username" name="username" value="{{
request.form.username }}">
<input type="password" placeholder="Password" name="password" value="{{
request.form.password }}">
<input class="btn btn-default" type="submit" value="Login">
</form>
{% if error %}
<p class="error"><strong>Error:</strong> {{ error }}
{% endif %}
</div>
</body>
</html>
+14
View File
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<title>Welcome to groclist</title>
<meta name="viewpoint" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class="container">
<h1>Welcome to GrocList<h1>
<br>
<p>Click <a href="/">here</a> to go home. </p>
</div>
</body>
<html>