forked from mirror/MrDoc
55 lines
1.9 KiB
HTML
55 lines
1.9 KiB
HTML
{% load staticfiles %}
|
||
<!DOCTYPE html>
|
||
<html lang="zh-cn">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<title>{% block title %}{% endblock %} - 后台管理 - MrDoc</title>
|
||
<link href="{% static 'layui/css/layui.css' %}" rel="stylesheet">
|
||
</head>
|
||
<body class="layui-layout-body">
|
||
<div class="layui-layout layui-layout-admin">
|
||
<div class="layui-header">
|
||
<div class="layui-logo"><strong>MrDoc</strong></div>
|
||
<ul class="layui-nav layui-layout-right">
|
||
<li class="layui-nav-item">
|
||
<a href="javascript:;">
|
||
<i class="layui-icon layui-icon-username"></i> {{request.user.username}}
|
||
</a>
|
||
<dl class="layui-nav-child">
|
||
<!-- <dd><a href="">基本资料</a></dd> -->
|
||
<dd><a href="{% url 'logout' %}">退出登录</a></dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div class="layui-side layui-bg-black">
|
||
<div class="layui-side-scroll">
|
||
<!-- 左侧导航区域(可配合layui已有的垂直导航) -->
|
||
<ul class="layui-nav layui-nav-tree" lay-filter="test">
|
||
<li class="layui-nav-item layui-nav-itemed">
|
||
<a href=""><i class="layui-icon layui-icon-user"></i> 用户管理</a>
|
||
</li>
|
||
<li class="layui-nav-item layui-nav-itemed">
|
||
<a href=""><i class="layui-icon layui-icon-file-b"></i> 文档管理</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="layui-body">
|
||
<!-- 内容主体区域 -->
|
||
<div style="padding: 15px;">{% block content %}{% endblock %}</div>
|
||
</div>
|
||
|
||
<div class="layui-footer" style="text-align:center;">
|
||
<!-- 底部固定区域 -->
|
||
© <a href="">MrDoc</a>
|
||
</div>
|
||
</div>
|
||
|
||
<script src="https://cdn.bootcss.com/jquery/3.1.1/jquery.min.js"></script>
|
||
<script src="{% static 'layui/layui.all.js' %}"></script>
|
||
{% block custom_script %}
|
||
{% endblock %}
|
||
</body>
|
||
</html> |