xiaoz 6 years ago
parent
commit
a3b7501b8f
  1. 12
      application/controllers/Home.php
  2. 1
      application/views/user/header.php
  3. 102
      application/views/user/log.php
  4. 2
      data/version.txt
  5. 14
      static/style.css

12
application/controllers/Home.php

@ -46,5 +46,17 @@
$this->load->view('user/multiple.php'); $this->load->view('user/multiple.php');
$this->load->view('user/footer.php'); $this->load->view('user/footer.php');
} }
//更新日志
public function log(){
//加载数据库模型
$this->load->model('query','',TRUE);
$siteinfo = $this->query->site_setting();
$siteinfo = json_decode($siteinfo->values);
//echo $siteinfo->title;
//$data['title'] = '图片上传';
$this->load->view('user/header.php',$siteinfo);
$this->load->view('user/log.php');
$this->load->view('user/footer.php');
}
} }
?> ?>

1
application/views/user/header.php

@ -42,6 +42,7 @@
<ul class="layui-nav" lay-filter=""> <ul class="layui-nav" lay-filter="">
<li class="layui-nav-item"><a href="/home/multiple"><i class="layui-icon layui-icon-upload"></i> 多图上传</a></li> <li class="layui-nav-item"><a href="/home/multiple"><i class="layui-icon layui-icon-upload"></i> 多图上传</a></li>
<li class="layui-nav-item"><a href="/found"><i class="layui-icon layui-icon-search"></i> 探索发现</a></li> <li class="layui-nav-item"><a href="/found"><i class="layui-icon layui-icon-search"></i> 探索发现</a></li>
<li class="layui-nav-item"><a href="/home/log"><i class="layui-icon layui-icon-notice"></i> 更新日志</a></li>
<li class="layui-nav-item"><a href="https://doc.xiaoz.me/#/imgurl2/api" target = "_blank"><i class="layui-icon layui-icon-template-1"></i> API</a></li> <li class="layui-nav-item"><a href="https://doc.xiaoz.me/#/imgurl2/api" target = "_blank"><i class="layui-icon layui-icon-template-1"></i> API</a></li>
<li class="layui-nav-item"><a href="https://doc.xiaoz.me/#/imgurl2/" target = "_blank" rel = "nofollow"><i class="layui-icon">&#xe705;</i> 帮助文档</a></li> <li class="layui-nav-item"><a href="https://doc.xiaoz.me/#/imgurl2/" target = "_blank" rel = "nofollow"><i class="layui-icon">&#xe705;</i> 帮助文档</a></li>
<li class="layui-nav-item"><a href="https://github.com/helloxz/imgurl" target = "_blank" rel = "nofollow"><i class="layui-icon">&#xe635;</i> 源码</a></li> <li class="layui-nav-item"><a href="https://github.com/helloxz/imgurl" target = "_blank" rel = "nofollow"><i class="layui-icon">&#xe635;</i> 源码</a></li>

102
application/views/user/log.php

@ -0,0 +1,102 @@
<div class="layui-container">
<div class="layui-row">
<div class="layui-col-lg12 timeline">
<div id="timeline">
<!-- <h2 sytle = "line-height:1em;">ImgURL更新日志</h2> -->
<ul class="layui-timeline">
<li class="layui-timeline-item">
<i class="layui-icon layui-timeline-axis">&#xe63f;</i>
<div class="layui-timeline-content layui-text">
<h3 class="layui-timeline-title">2019年4月</h3>
<p>ImgURL v2.2发布</p>
<ul>
<li>增加API支持</li>
<li>优化探索发现,支持筛选,分页</li>
<li>优化提示说明</li>
<li>修复部分BUG</li>
</ul>
</div>
</li>
<li class="layui-timeline-item">
<i class="layui-icon layui-timeline-axis">&#xe63f;</i>
<div class="layui-timeline-content layui-text">
<h3 class="layui-timeline-title">2019年3月</h3>
<p>ImgURL v2.1发布,环境要求降低。</p>
<ul>
<li>增加GD2裁剪图片(不再强制要求ImageMagick)</li>
<li>增加图片批量压缩</li>
<li>增加图片懒加载</li>
<li>增加图片评论代码支持</li>
<li>增加重置密码功能</li>
</ul>
</div>
</li>
<li class="layui-timeline-item">
<i class="layui-icon layui-timeline-axis">&#xe63f;</i>
<div class="layui-timeline-content layui-text">
<h3 class="layui-timeline-title">2018年12月</h3>
<p>ImgURL v2.0发布,使用CodeIgniter完全重构,继承v1.x所有功能。</p>
<ul>
<li>支持拽拖上传、多图上传、Ctrl + V粘贴上传、URL上传</li>
<li>支持图片裁剪,自动生成缩略图</li>
<li>限制访客上传数量</li>
<li>图片压缩</li>
<li>图片鉴黄</li>
<li>油猴脚本上传</li>
<li>后台管理更加人性化</li>
</ul>
</div>
</li>
<li class="layui-timeline-item">
<i class="layui-icon layui-timeline-axis">&#xe63f;</i>
<div class="layui-timeline-content layui-text">
<h3 class="layui-timeline-title">2018年9月</h3>
<p>ImgURL v1.3发布</p>
<ul>
<li>新增油猴脚本上传(任意网页上传)</li>
<li>新增粘贴上传(Ctrl + V)</li>
<li>后台新增按时间筛选图片</li>
</ul>
</div>
</li>
<li class="layui-timeline-item">
<i class="layui-icon layui-timeline-axis">&#xe63f;</i>
<div class="layui-timeline-content layui-text">
<h3 class="layui-timeline-title">2018年8月</h3>
<p>ImgURL v1.2发布</p>
<ul>
<li>新增URL批量上传功能</li>
<li>优化图片查看器</li>
<li>去掉不必要的菜单</li>
<li>优化CSS样式修复部分BUG</li>
</ul>
</div>
</li>
<li class="layui-timeline-item">
<i class="layui-icon layui-timeline-axis">&#xe63f;</i>
<div class="layui-timeline-content layui-text">
<h3 class="layui-timeline-title">2018年5月</h3>
<p>
ImgURL v1.0发布
<ul>
<li>支持拽拖上传,一键生成链接、一键复制</li>
<li>友好的图片管理功能</li>
<li>可限制访客上传数量</li>
<li>图片压缩</li>
<li>图片鉴黄</li>
</ul>
</p>
</div>
</li>
<li class="layui-timeline-item">
<i class="layui-icon layui-timeline-axis">&#xe63f;</i>
<div class="layui-timeline-content layui-text">
<h3 class="layui-timeline-title">2017年12月</h3>
<p>ImgURL雏形诞生</p>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>

2
data/version.txt

@ -1 +1 @@
v2.2-20190411 v2.2-20190412

14
static/style.css

@ -550,4 +550,18 @@ body{
background: #5FB878; background: #5FB878;
margin-right: 0.5em; margin-right: 0.5em;
color:#FFFFFF; color:#FFFFFF;
}
.timeline h1, h2, h3, h4, h5, h6 ,p,li{
color:#FFFFFF;
}
.layui-text h3 {
font-weight: 500;
color: #FFFFFF;
}
#timeline{
margin-top:1.5em;
margin-bottom: 3.5em;
padding-left:1em;
padding-top:1em;
background-color:rgba(0,0,0,0.5);
} }
Loading…
Cancel
Save