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 %}