From b11b4e21e2f06cb9f8d1db501d32c989c1152064 Mon Sep 17 00:00:00 2001 From: Rich Date: Sun, 4 Jul 2021 15:13:19 +0100 Subject: [PATCH] Before form changes --- app/templates/base.html | 55 ++++++++++++++++++++++++++++++++++++++++ app/templates/index.html | 37 +-------------------------- app/templates/login.html | 1 + app/templates/wpa.html | 1 + 4 files changed, 58 insertions(+), 36 deletions(-) create mode 100644 app/templates/base.html diff --git a/app/templates/base.html b/app/templates/base.html new file mode 100644 index 0000000..065e55c --- /dev/null +++ b/app/templates/base.html @@ -0,0 +1,55 @@ + + + + + + + Travel Router + + + +
+ Travel Router: + Home + {% if not current_user.is_anonymous %} + Logout + {% endif %} +
+
+ {% block content %}{% endblock %} + + + \ No newline at end of file diff --git a/app/templates/index.html b/app/templates/index.html index 64ec4a6..86db9d7 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -1,40 +1,5 @@ - - - - {% block content %}

Networks

diff --git a/app/templates/login.html b/app/templates/login.html index 052f244..771b541 100644 --- a/app/templates/login.html +++ b/app/templates/login.html @@ -1,3 +1,4 @@ +{% extends "base.html" %} {% block content %}

Sign In

diff --git a/app/templates/wpa.html b/app/templates/wpa.html index 643bb72..6c41545 100644 --- a/app/templates/wpa.html +++ b/app/templates/wpa.html @@ -1,3 +1,4 @@ +{% extends "base.html" %} {% block content %}

Password