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