From a5b006aae7cda65a8196ba8ef73e8ab6ebf8c339 Mon Sep 17 00:00:00 2001 From: lealife Date: Wed, 2 Dec 2015 20:56:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=85=A8=E5=B1=80=20toggle?= =?UTF-8?q?=20modify=20with=20readonly;=20=E5=8F=91=E5=B8=831.4.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/service/ConfigService.go | 2 +- app/views/note/note-dev.html | 15 +++++++++------ app/views/note/note.html | 14 ++++++++------ bin/release.sh | 2 +- messages/msg.en | 2 ++ messages/msg.fr | 1 + messages/msg.zh | 1 + public/css/css/default.css | 1 + public/css/css/simple.css | 1 + public/css/css/writting-overwrite.css | 1 + public/css/css/writting.css | 1 + public/css/theme/default.css | 2 +- public/css/theme/includes/common.less | 14 ++++++++++++++ public/css/theme/includes/readonly.less | 14 ++++++++++++++ public/css/theme/simple.css | 2 +- public/css/theme/writting-overwrite.css | 2 +- public/css/theme/writting.css | 2 +- public/js/app.min.js | 6 +++--- public/js/app/note.js | 11 +++++++++-- 19 files changed, 71 insertions(+), 23 deletions(-) create mode 100644 public/css/css/default.css create mode 100644 public/css/css/simple.css create mode 100644 public/css/css/writting-overwrite.css create mode 100644 public/css/css/writting.css diff --git a/app/service/ConfigService.go b/app/service/ConfigService.go index d8bb227..5f9a194 100644 --- a/app/service/ConfigService.go +++ b/app/service/ConfigService.go @@ -611,5 +611,5 @@ func (this *ConfigService) HomePageIsAdminsBlog() bool { } func (this *ConfigService) GetVersion() string { - return "1.4" + return "1.4.1" } diff --git a/app/views/note/note-dev.html b/app/views/note/note-dev.html index 106a1d7..817b2eb 100644 --- a/app/views/note/note-dev.html +++ b/app/views/note/note-dev.html @@ -208,13 +208,13 @@ function log(o) { -
+ {{if eq .userInfo.Email "demo@leanote.com"}} {{if .openRegister}} -
+
{{msg . "demoRegister"}} @@ -423,7 +423,7 @@ function log(o) {
-
+
@@ -494,8 +494,12 @@ function log(o) {
@@ -607,7 +611,6 @@ function log(o) {