From 1e2e38e3a167263ffac2f20bb77ee6fb11b7a54e Mon Sep 17 00:00:00 2001 From: yangjian Date: Tue, 15 Jun 2021 08:45:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=96=87=E9=9B=86=E5=9D=97?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BF=AB=E9=80=9F=E5=88=9B=E5=BB=BA=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/mrdoc/mrdoc.css | 8 ++++++++ template/app_doc/pro_list.html | 10 ++++++++++ 2 files changed, 18 insertions(+) diff --git a/static/mrdoc/mrdoc.css b/static/mrdoc/mrdoc.css index e9c3a1c..40919c3 100644 --- a/static/mrdoc/mrdoc.css +++ b/static/mrdoc/mrdoc.css @@ -166,6 +166,14 @@ color: #333; } +a.index-add-link{ + color: #999; + float: right; +} +a.index-add-link:hover{ + color: #333; +} + .layui-card{ box-shadow:0 0 0 0; } diff --git a/template/app_doc/pro_list.html b/template/app_doc/pro_list.html index cf8c91a..db9cf66 100644 --- a/template/app_doc/pro_list.html +++ b/template/app_doc/pro_list.html @@ -144,11 +144,21 @@

{% if p.is_top %}{% endif %} {{ p.name }}  {{p.id|get_doc_count}} + {% if p.create_user == request.user %} + + + + {% endif %}

{% else %}

{% if p.is_top %}{% endif %} {{ p.name }}  {{p.id|get_doc_count}} + {% if p.create_user == request.user %} + + + + {% endif %}

{% endif %}