forked from mirror/MrDoc
优化后台管理和个人中心菜单及概览页面
This commit is contained in:
parent
739910a7ed
commit
c0386ec819
@ -1457,6 +1457,39 @@ def admin_center_menu(request):
|
||||
"icon": "layui-icon layui-icon-set",
|
||||
"href": reverse('sys_setting'),
|
||||
},
|
||||
{
|
||||
"id": "download",
|
||||
"title": _("客户端下载"),
|
||||
"icon": "layui-icon layui-icon-template-1",
|
||||
"type": 0,
|
||||
"href": "",
|
||||
"children": [
|
||||
{
|
||||
"id": 702,
|
||||
"title": _("浏览器扩展"),
|
||||
"icon": "layui-icon layui-icon-face-cry",
|
||||
"type": 1,
|
||||
"openType": "_blank",
|
||||
"href": "https://gitee.com/zmister/mrdoc-webclipper"
|
||||
},
|
||||
{
|
||||
"id": 703,
|
||||
"title": _("桌面客户端"),
|
||||
"icon": "layui-icon layui-icon-face-cry",
|
||||
"type": 1,
|
||||
"openType": "_blank",
|
||||
"href": "https://gitee.com/zmister/mrdoc-desktop-release"
|
||||
},
|
||||
{
|
||||
"id": 704,
|
||||
"title": _("移动端APP"),
|
||||
"icon": "layui-icon layui-icon-face-cry",
|
||||
"type": 1,
|
||||
"openType": "_blank",
|
||||
"href": "https://gitee.com/zmister/mrdoc-app-release"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "common",
|
||||
"title": _("使用帮助"),
|
||||
@ -1465,18 +1498,18 @@ def admin_center_menu(request):
|
||||
"href": "",
|
||||
"children": [{
|
||||
"id": 701,
|
||||
"title": _("安装说明"),
|
||||
"title": _("部署手册"),
|
||||
"icon": "layui-icon layui-icon-face-smile",
|
||||
"type": 1,
|
||||
"openType": "_blank",
|
||||
"href": "https://doc.mrdoc.pro/project-7/"
|
||||
"href": "https://doc.mrdoc.pro/project/7/"
|
||||
}, {
|
||||
"id": 702,
|
||||
"title": _("使用说明"),
|
||||
"title": _("使用手册"),
|
||||
"icon": "layui-icon layui-icon-face-smile",
|
||||
"type": 1,
|
||||
"openType": "_blank",
|
||||
"href": "https://doc.mrdoc.pro/project-54/"
|
||||
"href": "https://doc.mrdoc.pro/project/54/"
|
||||
}]
|
||||
}
|
||||
]
|
||||
|
@ -187,34 +187,52 @@ def user_center_menu(request):
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "user_manual",
|
||||
"title": _("使用手册"),
|
||||
"id": "download",
|
||||
"title": _("客户端下载"),
|
||||
"icon": "layui-icon layui-icon-template-1",
|
||||
"type": 1,
|
||||
"openType": "_blank",
|
||||
"href": "https://doc.mrdoc.pro/project-54/",
|
||||
"type": 0,
|
||||
"href": "",
|
||||
"children": [
|
||||
{
|
||||
"id": 702,
|
||||
"title": _("浏览器扩展"),
|
||||
"icon": "layui-icon layui-icon-face-cry",
|
||||
"type": 1,
|
||||
"openType": "_blank",
|
||||
"href": "https://gitee.com/zmister/mrdoc-webclipper"
|
||||
},
|
||||
{
|
||||
"id": 703,
|
||||
"title": _("桌面客户端"),
|
||||
"icon": "layui-icon layui-icon-face-cry",
|
||||
"type": 1,
|
||||
"openType": "_blank",
|
||||
"href": "https://gitee.com/zmister/mrdoc-desktop-release"
|
||||
},
|
||||
{
|
||||
"id": 704,
|
||||
"title": _("移动端APP"),
|
||||
"icon": "layui-icon layui-icon-face-cry",
|
||||
"type": 1,
|
||||
"openType": "_blank",
|
||||
"href": "https://gitee.com/zmister/mrdoc-app-release"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "common",
|
||||
"title": "使用帮助",
|
||||
"icon": "layui-icon layui-icon-template-1",
|
||||
"type": 0,
|
||||
"href": "",
|
||||
"children": [{
|
||||
"id": 802,
|
||||
"title": "使用手册",
|
||||
"icon": "layui-icon layui-icon-face-smile",
|
||||
"type": 1,
|
||||
"openType": "_blank",
|
||||
"href": "https://doc.mrdoc.pro/project/54/"
|
||||
}]
|
||||
}
|
||||
# {
|
||||
# "id": "common",
|
||||
# "title": "使用帮助",
|
||||
# "icon": "layui-icon layui-icon-template-1",
|
||||
# "type": 0,
|
||||
# "href": "",
|
||||
# "children": [{
|
||||
# "id": 701,
|
||||
# "title": "安装说明",
|
||||
# "icon": "layui-icon layui-icon-face-smile",
|
||||
# "type": 1,
|
||||
# "openType": "_iframe",
|
||||
# "href": "http://mrdoc.zmister.com/project-7/"
|
||||
# }, {
|
||||
# "id": 702,
|
||||
# "title": "使用说明",
|
||||
# "icon": "layui-icon layui-icon-face-smile",
|
||||
# "type": 1,
|
||||
# "openType": "_iframe",
|
||||
# "href": "http://mrdoc.zmister.com/project-54/"
|
||||
# }]
|
||||
# }
|
||||
]
|
||||
return JsonResponse(menu_data,safe=False)
|
||||
|
BIN
static/mrdoc/20220331121926_20220331122015390193.png
Normal file
BIN
static/mrdoc/20220331121926_20220331122015390193.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
@ -105,10 +105,10 @@
|
||||
<a href="https://github.com/zmister2016/MrDoc" class="pear-btn layui-btn-fluid" target="_blank">访问 GitHub</a>
|
||||
</div>
|
||||
<div style="margin-bottom: 5px;">
|
||||
<a href="http://shang.qq.com/wpa/qunwpa?idkey=143c23a4ffbd0ba9137d2bce3ee86c83532c05259a0542a69527e36615e64dba" class="pear-btn layui-btn-fluid" target="_blank">加入 QQ群</a>
|
||||
<button class="pear-btn layui-btn-fluid" onclick="checkUpdate()">检查版本更新</button>
|
||||
</div>
|
||||
<div style="margin-bottom: 5px;">
|
||||
<button class="pear-btn layui-btn-fluid" onclick="checkUpdate()">检查版本更新</button>
|
||||
<img src="{% static 'mrdoc/20220331121926_20220331122015390193.png' %}" width="100%" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -149,10 +149,6 @@
|
||||
{% trans "链接" %}
|
||||
</div>
|
||||
<div class="layui-card-body">
|
||||
<a target="_blank" href="http://mrdoc.zmister.com/project-7/doc-434/" class="pear-btn pear-btn-primary layui-btn-fluid" style="height: 50px;line-height: 50px;">
|
||||
<i class="layui-icon layui-icon-praise"></i> {% trans "支持项目发展" %}
|
||||
</a>
|
||||
<br/>
|
||||
<a target="_blank" href="https://mrdoc.pro" class="pear-btn pear-btn-success layui-btn-fluid" style="margin-top: 8px;height: 50px;line-height: 50px;">
|
||||
<i class="layui-icon layui-icon-website"></i> {% trans "觅 思 文 档 官 网" %}
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user