From b7e1666dd4afbf840bd92171a543906eba932d09 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 10 Jul 2018 18:49:59 -0700 Subject: [PATCH] allow isso to be accessed/mounted on a server subdirectory, e.g., https://example.com/isso --- isso/templates/admin.html | 32 ++++++++++++++++---------------- isso/templates/login.html | 8 ++++---- isso/views/comments.py | 11 ++++++----- 3 files changed, 26 insertions(+), 25 deletions(-) diff --git a/isso/templates/admin.html b/isso/templates/admin.html index 484a949..0ea7d54 100644 --- a/isso/templates/admin.html +++ b/isso/templates/admin.html @@ -1,8 +1,8 @@ Isso admin - - + +
- +

Isso

@@ -232,16 +232,16 @@ function send_edit(com_id, hash) {
Edit - + {% if comment.mode != 4 %} + onClick="javascript:delete_com({{comment.id}}, '{{comment.hash}}', '{{isso_host_script}}')"> Delete {% endif %} {% if comment.mode == 2 %} Validate + onClick="javascript:validate_com({{comment.id}}, '{{comment.hash}}', '{{isso_host_script}}')">Validate {% endif %}
diff --git a/isso/templates/login.html b/isso/templates/login.html index a9aa888..6579817 100644 --- a/isso/templates/login.html +++ b/isso/templates/login.html @@ -1,14 +1,14 @@ Isso admin - - + +