Browse Source

過度layui

layui
mail_yanpeng@163.com 6 years ago
parent
commit
8d78969223
  1. 1
      static/css/blogs.css
  2. 3
      static/css/common.css
  3. 2
      static/css/login.css
  4. 7
      views/note.html
  5. 13
      views/ublogs.html
  6. 15
      views/uinfo.html
  7. 15
      views/unote.html

1
static/css/blogs.css

@ -61,3 +61,4 @@
text-align: center
}

3
static/css/common.css

@ -122,3 +122,6 @@ a{
.pagination ul .active a{
color: #fff;
}
.breadcrumb-container{
padding: 20px;
}

2
static/css/login.css

@ -1,5 +1,5 @@
.login-root {
background: url("/static/img/login.png") no-repeat;
background: #f0e7db url("/static/img/login.png") no-repeat;
position: absolute;
min-height: 100%;
width: 100%;

7
views/note.html

@ -11,11 +11,14 @@
<link type="text/css" rel="styleSheet" href="/static/css/menu-reset.css"/>
<link type="text/css" rel="styleSheet" href="/static/css/notemenu.css"/>
<link type="text/css" rel="styleSheet" href="/static/css/menunav.css"/>
<link rel="stylesheet" href="/static/layui/css/layui.css">
<script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.4.0/jquery.min.js"></script>
<script type="text/javascript" src="/static/js/layer.js"></script>
<link rel="stylesheet" href="/static/layui/css/layui.css">
<script type="text/javascript" src="/static/layui/layui.js"></script>
<script src="/static/js/menu.js"></script> <!-- Modernizr -->
<script src="/static/js/wangEditor.min.js"></script>
<script type="text/javascript" src="/static/layui/layui.js"></script>
<style>
.w-e-toolbar {
height: 40px;

13
views/ublogs.html

@ -9,11 +9,14 @@
<div class="me-blog-root">
<div class="me-blog-list">
<ol class="breadcrumb">
<li>个人中心</li>
<li>我的博客</li>
<li class="active">博客列表</li>
</ol>
<div class="breadcrumb-container">
<span class="layui-breadcrumb">
<a href="/">首页</a>
<a href="">个人中心</a>
<a href="/me/blog">我的博客</a>
<a><cite>博客列表</cite></a>
</span>
</div>
{{range .Page.List}}
<div>
<p><a href="/blog/{{.Id}}">{{.Title}}</a></p>

15
views/uinfo.html

@ -9,13 +9,16 @@
{{template "memenu" .}}
<div class="me-blog-root">
<div class="me-blog-list">
<ol class="breadcrumb">
<li>个人中心</li>
<li>我的资料</li>
<li class="active">个人信息</li>
</ol>
<div class="breadcrumb-container">
<span class="layui-breadcrumb">
<a href="/">首页</a>
<a href="">个人中心</a>
<a href="/me/info">我的资料</a>
<a><cite>个人信息</cite></a>
</span>
</div>
<div style="display: flex">
<div style="width: 128px">
<div style="width: 160px">
<img src="{{.HeadImg}}" alt="头像" class="img-circle img-circle-large">
<div id="drop_area" style="margin-top: 15px"></div>
</div>

15
views/unote.html

@ -9,12 +9,15 @@
<div class="me-blog-root">
<div class="me-blog-list">
<ol class="breadcrumb">
<li>个人中心</li>
<li>笔记文件夹</li>
<li class="active">管理文件夹</li>
<button type="button" class="btn btn-primary" style="margin-left: 30px" id="newBtn">新增</button>
</ol>
<div class="breadcrumb-container">
<span class="layui-breadcrumb">
<a href="/">首页</a>
<a href="">个人中心</a>
<a href="/me/note">我的收藏</a>
<a><cite>管理文件夹</cite></a>
<button type="button" class="layui-btn layui-btn-normal layui-btn-sm" style="margin-left: 30px" id="newBtn">新增</button>
</span>
</div>
</div>
{{range .Note}}

Loading…
Cancel
Save