timeline.html 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <!DOCTYPE html>
  2. <html lang="zh">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>时间轴</title>
  7. <link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
  8. <link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
  9. <link href="../static/css/animate.min.css" th:href="@{/css/animate.min.css}" rel="stylesheet"/>
  10. <link href="../static/css/style.min.css" th:href="@{/css/style.min.css}" rel="stylesheet"/>
  11. </head>
  12. <body class="gray-bg">
  13. <div class="row animated fadeInRight">
  14. <div class="ibox float-e-margins">
  15. <div class="text-center float-e-margins p-md">
  16. <span>打开/关闭颜色/背景或方向版本: </span>
  17. <a href="#" class="btn btn-xs btn-primary" id="lightVersion">轻型版本 </a>
  18. <a href="#" class="btn btn-xs btn-primary" id="darkVersion">黑色版本 </a>
  19. </div>
  20. <div id="ibox-content">
  21. <div id="vertical-timeline" class="vertical-container light-timeline">
  22. <div class="vertical-timeline-block">
  23. <div class="vertical-timeline-icon navy-bg">
  24. <i class="fa fa-briefcase"></i>
  25. </div>
  26. <div class="vertical-timeline-content">
  27. <h2>会议</h2>
  28. <p>上一年的销售业绩发布会。总结产品营销和销售趋势及销售的现状。
  29. </p>
  30. <a href="#" class="btn btn-sm btn-primary"> 更多信息</a>
  31. <span class="vertical-date">
  32. 今天 <br>
  33. <small>2月3日</small>
  34. </span>
  35. </div>
  36. </div>
  37. <div class="vertical-timeline-block">
  38. <div class="vertical-timeline-icon blue-bg">
  39. <i class="fa fa-file-text"></i>
  40. </div>
  41. <div class="vertical-timeline-content">
  42. <h2>给张三发送文档</h2>
  43. <p>发送上年度《销售业绩报告》</p>
  44. <a href="#" class="btn btn-sm btn-success"> 下载文档 </a>
  45. <span class="vertical-date">
  46. 今天 <br>
  47. <small>2月3日</small>
  48. </span>
  49. </div>
  50. </div>
  51. <div class="vertical-timeline-block">
  52. <div class="vertical-timeline-icon lazur-bg">
  53. <i class="fa fa-coffee"></i>
  54. </div>
  55. <div class="vertical-timeline-content">
  56. <h2>喝咖啡休息</h2>
  57. <p>喝咖啡啦,啦啦啦~~</p>
  58. <a href="#" class="btn btn-sm btn-info">更多</a>
  59. <span class="vertical-date"> 昨天 <br><small>2月2日</small></span>
  60. </div>
  61. </div>
  62. <div class="vertical-timeline-block">
  63. <div class="vertical-timeline-icon yellow-bg">
  64. <i class="fa fa-phone"></i>
  65. </div>
  66. <div class="vertical-timeline-content">
  67. <h2>给李四打电话</h2>
  68. <p>给李四打电话分配本月工作任务</p>
  69. <span class="vertical-date">昨天 <br><small>2月2日</small></span>
  70. </div>
  71. </div>
  72. <div class="vertical-timeline-block">
  73. <div class="vertical-timeline-icon lazur-bg">
  74. <i class="fa fa-user-md"></i>
  75. </div>
  76. <div class="vertical-timeline-content">
  77. <h2>公司年会</h2>
  78. <p>发年终奖啦,啦啦啦~~</p>
  79. <span class="vertical-date">前天 <br><small>2月1日</small></span>
  80. </div>
  81. </div>
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. <th:block th:include="include :: footer" />
  87. <script>
  88. $(document).ready(function(){
  89. $('#lightVersion').click(function(event) {
  90. event.preventDefault()
  91. $('#ibox-content').removeClass('ibox-content');
  92. $('#vertical-timeline').removeClass('dark-timeline');
  93. $('#vertical-timeline').addClass('light-timeline');
  94. });
  95. $('#darkVersion').click(function(event) {
  96. event.preventDefault()
  97. $('#ibox-content').addClass('ibox-content');
  98. $('#vertical-timeline').removeClass('light-timeline');
  99. $('#vertical-timeline').addClass('dark-timeline');
  100. });
  101. });
  102. </script>
  103. </body>
  104. </html>