From 64d0dd8b0c7a6ba25d6555460b614c2fce994d2f Mon Sep 17 00:00:00 2001 From: lins05 Date: Tue, 17 Jul 2012 20:53:38 +0800 Subject: [PATCH] use token to controll access --- templates/seafile_access_check.html | 20 ++++++++++++----- urls.py | 2 +- utils.py | 7 ++++++ views.py | 34 ++++++++++++++++++++--------- 4 files changed, 46 insertions(+), 17 deletions(-) diff --git a/templates/seafile_access_check.html b/templates/seafile_access_check.html index 1adbd6e64d..26b5da3203 100644 --- a/templates/seafile_access_check.html +++ b/templates/seafile_access_check.html @@ -2,7 +2,8 @@ {% block main_panel %}
-

请确认本地Seafile程序已启动。

+

请确认本地Seafile程序已启动。

+

你的 Seafile 客户端版本太旧,请升级到最新版本。点击下载

{% endblock %} @@ -10,6 +11,7 @@