From 76dd31c80c952ce316170fcd9e807026040213a4 Mon Sep 17 00:00:00 2001 From: MassiveAtoms Date: Sun, 12 Jul 2020 21:09:26 -0300 Subject: [PATCH] fixed auth issue --- CalibreWebCompanion/db.sqlite3 | Bin 131072 -> 131072 bytes .../library/templates/base.html | 81 +++++++++++------- .../templates/library/book_detail.html | 3 +- 3 files changed, 53 insertions(+), 31 deletions(-) diff --git a/CalibreWebCompanion/db.sqlite3 b/CalibreWebCompanion/db.sqlite3 index ce2c134900019b12db44b362ed60192d6b3dc2ff..5363514899439e469843baacd744b5f7584b3053 100644 GIT binary patch delta 830 zcmaiy%}*0S6u@^WrNp+3;DG=JYOE%Rw7aw0ZFi%QhL+Nr-BzJAv+-alA8mK1i~U-< z7fRF%35nQ)9!NZB!cAiKz`1%cCZ0TLJQxjk{R?zKKoU)y%wdw5_vZI|?=_p<&1Uzb zAu_dfev(YRx-0v;9Q}41L$=zkbLIy>M>(SIx2}zz*X9L};W9T=q2rF-E;Goc#%yf`)q)5$4VDM>m?$8J@ZQ)9PhiUTV&788JgFFvs7c14pG7O(u6U#VTP<=TKAIl$w^&i?(JkQbG`sJ?QY$NW`LpCnG zk||0JHi#A$y_$b4l0`8Urn2?wRDiB6l$q2r4y%%)BxWoAT9GToQdMLm;(yqn2Qoqc zTHD9-3?1OBhio`oIyn4;>Qn${4{;2|nfu${I{J=qS%IN_Y>?$xw)N@Rl|Bd9A;1p! z4)(!E@E){*Y4$d^z@XDML>`sF;kJ#CC*OA6Z}0B4cgcwf0KQtiULwF7@B%ypOJ?uN u9Jn}a3zNqs`g=a?2iL8ac<{;dpX7~UtKGvVkF7Sa0t^Ur&|t)H&Mo!(Qacxls+4)I4iR;FjnSLQ&8Gc!T2EOjT zMo}(q*?vY*8If7(#!)VzhJIO-74jt+D<)gz7o~V*`BnL4_=UKd__;V``nh8@-_C!BKbL>fX2FJ7{>i!Z`7FxJzMPvM)T;>avGP1+;7{T^ z#b?MngXbyGbC-EGKb`ZKNyxwwWSpsmm7%4ck%fhciRt89^R@U``42Mif8c-0f0O?# z|3RRM>-n1xuHSxeJ)?sIKiIxj2L4C {% block title %}Local Library{% endblock %} + @@ -13,28 +14,34 @@ @@ -45,7 +52,7 @@ -{% block content %} {% endblock %} + + {% if user.is_authenticated %} + {% block content %} {% endblock %} + {% else %} +

You don't have permission to view this.

+
  • Login
  • + {% endif %} +