diff --git a/templates/base.html b/templates/base.html index 752bf61..05b8e6c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,35 +1,26 @@ - - - - {{ title }} - - {% if theme == 'dark' %} - - {% elif theme == 'modern' %} - - {% elif theme == 'vampire' %} - - {% elif theme == 'nordic' %} - - {% elif theme == 'halloween' %} - - {% else %} - - {% endif %} - + + + + {{ title }} + + +
- -
-
-
-
-
- - - - - -
+
{{ random_tip | safe }} @@ -83,56 +66,40 @@ + diff --git a/templates/notebook.html b/templates/notebook.html index b4801c6..b21aa3a 100644 --- a/templates/notebook.html +++ b/templates/notebook.html @@ -1,28 +1,33 @@ {% extends "base.html" %} {% block content %}

Notebook

+ +
- + - +

+ {% for category, entries in notebook.items() %}

{{ category.capitalize() }}

diff --git a/templates/register.html b/templates/register.html index 284a996..41ab1e0 100644 --- a/templates/register.html +++ b/templates/register.html @@ -3,32 +3,7 @@ {% block content %}

Create an Account

-
-
- - -
- -
- - -
- -
- - - Password must be at least 10 characters, contain 1 uppercase letter, 1 special character, and 1 number. -
- -
- - -
- - -
- -
+ +
+ + + + + + + + + + + + + +
+ + {% endblock %} diff --git a/templates/search_results.html b/templates/search_results.html new file mode 100644 index 0000000..7090a67 --- /dev/null +++ b/templates/search_results.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block content %} +

Search Results for "{{ query }}"

+ +{% if results %} + +{% else %} +

No results found.

+{% endif %} +{% endblock %}