添加时间轴示例
parent
71c8e79a21
commit
ba151cca05
@ -0,0 +1,113 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>时间轴</title>
|
||||
<link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
|
||||
<link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
|
||||
<link href="../static/css/main/animate.min.css" th:href="@{/css/main/animate.min.css}" rel="stylesheet"/>
|
||||
<link th:href="@{/css/style.css}" rel="stylesheet"/>
|
||||
</head>
|
||||
<body class="gray-bg">
|
||||
<div class="row animated fadeInRight">
|
||||
<div class="ibox float-e-margins">
|
||||
<div class="text-center float-e-margins p-md">
|
||||
<span>打开/关闭颜色/背景或方向版本: </span>
|
||||
<a href="#" class="btn btn-xs btn-primary" id="lightVersion">轻型版本 </a>
|
||||
<a href="#" class="btn btn-xs btn-primary" id="darkVersion">黑色版本 </a>
|
||||
</div>
|
||||
<div id="ibox-content">
|
||||
<div id="vertical-timeline" class="vertical-container light-timeline">
|
||||
<div class="vertical-timeline-block">
|
||||
<div class="vertical-timeline-icon navy-bg">
|
||||
<i class="fa fa-briefcase"></i>
|
||||
</div>
|
||||
|
||||
<div class="vertical-timeline-content">
|
||||
<h2>会议</h2>
|
||||
<p>上一年的销售业绩发布会。总结产品营销和销售趋势及销售的现状。
|
||||
</p>
|
||||
<a href="#" class="btn btn-sm btn-primary"> 更多信息</a>
|
||||
<span class="vertical-date">
|
||||
今天 <br>
|
||||
<small>2月3日</small>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="vertical-timeline-block">
|
||||
<div class="vertical-timeline-icon blue-bg">
|
||||
<i class="fa fa-file-text"></i>
|
||||
</div>
|
||||
|
||||
<div class="vertical-timeline-content">
|
||||
<h2>给张三发送文档</h2>
|
||||
<p>发送上年度《销售业绩报告》</p>
|
||||
<a href="#" class="btn btn-sm btn-success"> 下载文档 </a>
|
||||
<span class="vertical-date">
|
||||
今天 <br>
|
||||
<small>2月3日</small>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="vertical-timeline-block">
|
||||
<div class="vertical-timeline-icon lazur-bg">
|
||||
<i class="fa fa-coffee"></i>
|
||||
</div>
|
||||
|
||||
<div class="vertical-timeline-content">
|
||||
<h2>喝咖啡休息</h2>
|
||||
<p>喝咖啡啦,啦啦啦~~</p>
|
||||
<a href="#" class="btn btn-sm btn-info">更多</a>
|
||||
<span class="vertical-date"> 昨天 <br><small>2月2日</small></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="vertical-timeline-block">
|
||||
<div class="vertical-timeline-icon yellow-bg">
|
||||
<i class="fa fa-phone"></i>
|
||||
</div>
|
||||
|
||||
<div class="vertical-timeline-content">
|
||||
<h2>给李四打电话</h2>
|
||||
<p>给李四打电话分配本月工作任务</p>
|
||||
<span class="vertical-date">昨天 <br><small>2月2日</small></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="vertical-timeline-block">
|
||||
<div class="vertical-timeline-icon lazur-bg">
|
||||
<i class="fa fa-user-md"></i>
|
||||
</div>
|
||||
|
||||
<div class="vertical-timeline-content">
|
||||
<h2>公司年会</h2>
|
||||
<p>发年终奖啦,啦啦啦~~</p>
|
||||
<span class="vertical-date">前天 <br><small>2月1日</small></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<th:block th:include="include :: footer" />
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('#lightVersion').click(function(event) {
|
||||
event.preventDefault()
|
||||
$('#ibox-content').removeClass('ibox-content');
|
||||
$('#vertical-timeline').removeClass('dark-timeline');
|
||||
$('#vertical-timeline').addClass('light-timeline');
|
||||
});
|
||||
$('#darkVersion').click(function(event) {
|
||||
event.preventDefault()
|
||||
$('#ibox-content').addClass('ibox-content');
|
||||
$('#vertical-timeline').removeClass('light-timeline');
|
||||
$('#vertical-timeline').addClass('dark-timeline');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue