Before form changes

This commit is contained in:
Rich
2021-07-04 15:13:19 +01:00
parent 9310e15f64
commit b11b4e21e2
4 changed files with 58 additions and 36 deletions

55
app/templates/base.html Normal file
View File

@@ -0,0 +1,55 @@
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<style type="text/css">
.tg {
border-collapse: collapse;
border-spacing: 0;
}
.tg td {
border-color: black;
border-style: solid;
border-width: 1px;
font-family: Arial, sans-serif;
font-size: 14px;
overflow: hidden;
padding: 10px 5px;
word-break: normal;
}
.tg th {
border-color: black;
border-style: solid;
border-width: 1px;
font-family: Arial, sans-serif;
font-size: 14px;
font-weight: normal;
overflow: hidden;
padding: 10px 5px;
word-break: normal;
}
.tg .tg-0lax {
text-align: left;
vertical-align: top
}
</style>
<head>
<title>Travel Router</title>
</head>
<body>
<div>
Travel Router:
<a href="{{ url_for('index') }}">Home</a>
{% if not current_user.is_anonymous %}
<a href="{{ url_for('logout') }}">Logout</a>
{% endif %}
</div>
<hr>
{% block content %}{% endblock %}
</body>
</html>

View File

@@ -1,40 +1,5 @@
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<style type="text/css">
.tg {
border-collapse: collapse;
border-spacing: 0;
}
{% extends "base.html" %}
.tg td {
border-color: black;
border-style: solid;
border-width: 1px;
font-family: Arial, sans-serif;
font-size: 14px;
overflow: hidden;
padding: 10px 5px;
word-break: normal;
}
.tg th {
border-color: black;
border-style: solid;
border-width: 1px;
font-family: Arial, sans-serif;
font-size: 14px;
font-weight: normal;
overflow: hidden;
padding: 10px 5px;
word-break: normal;
}
.tg .tg-0lax {
text-align: left;
vertical-align: top
}
</style>
{% block content %}
<h1>Networks</h1>
<table class="tg">

View File

@@ -1,3 +1,4 @@
{% extends "base.html" %}
{% block content %}
<h1>Sign In</h1>
<form action="" method="post" novalidate>

View File

@@ -1,3 +1,4 @@
{% extends "base.html" %}
{% block content %}
<h1>Password</h1>
<form action="" method="post" novalidate>