From c537ada16e285f2f40ee726f45428a2b851836f6 Mon Sep 17 00:00:00 2001 From: Minho Date: Sat, 27 Jan 2018 10:56:23 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E5=A4=8D=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E5=88=86=E9=A1=B5BUG=202=E3=80=81=E4=BC=98=E5=8C=96=E9=83=A8?= =?UTF-8?q?=E5=88=86=E9=A1=B5=E9=9D=A2=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/home.go | 2 +- static/quill/quill.snow.css | 2 +- views/document/default_read.tpl | 6 ++-- views/document/markdown_edit_template.tpl | 4 +-- views/document/new_html_edit_template.tpl | 42 +++++++++++------------ views/widgets/header.tpl | 6 ++-- 6 files changed, 30 insertions(+), 32 deletions(-) diff --git a/controllers/home.go b/controllers/home.go index c96a5a33..67c45c4c 100644 --- a/controllers/home.go +++ b/controllers/home.go @@ -35,7 +35,7 @@ func (c *HomeController) Index() { c.Abort("500") } if totalCount > 0 { - pager := pagination.NewPagination(c.Ctx.Request,totalCount,conf.PageSize) + pager := pagination.NewPagination(c.Ctx.Request,totalCount,pageSize) c.Data["PageHtml"] = pager.HtmlPages() } else { c.Data["PageHtml"] = "" diff --git a/static/quill/quill.snow.css b/static/quill/quill.snow.css index 184ae7b1..b4f7b87c 100644 --- a/static/quill/quill.snow.css +++ b/static/quill/quill.snow.css @@ -692,7 +692,7 @@ display: block; margin-top: -1px; top: 100%; - z-index: 1; + z-index: 1000; } .ql-snow .ql-color-picker, .ql-snow .ql-icon-picker { diff --git a/views/document/default_read.tpl b/views/document/default_read.tpl index 4ae8fb5a..d1ba5301 100644 --- a/views/document/default_read.tpl +++ b/views/document/default_read.tpl @@ -22,6 +22,7 @@ {{else}} {{end}} + @@ -44,7 +45,7 @@ {{if gt .Model.RelationshipId 0}} {{if eq .Model.RoleId 0 1 2}} {{end}} {{end}} @@ -59,7 +60,7 @@