diff --git a/CalibreWebCompanion/db.sqlite3 b/CalibreWebCompanion/db.sqlite3 index aba3f01..a3e166e 100644 Binary files a/CalibreWebCompanion/db.sqlite3 and b/CalibreWebCompanion/db.sqlite3 differ diff --git a/CalibreWebCompanion/library/templates/base.html b/CalibreWebCompanion/library/templates/base.html index 6a69b5c..9a31027 100644 --- a/CalibreWebCompanion/library/templates/base.html +++ b/CalibreWebCompanion/library/templates/base.html @@ -3,6 +3,7 @@ {% block title %}Local Library{% endblock %} + @@ -13,28 +14,34 @@ @@ -42,10 +49,10 @@ -{% block content %} {% endblock %} + + {% if user.is_authenticated %} + {% block content %} {% endblock %} + {% else %} +
+
+
+
+
+
+
+

You don't have permission to view this.

+
+
+ Login +
+
+
+
+
+
+
+ {% endif %}