console.cmp.php 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. <?php $data['manage/auth.notice']=Dever::load('manage/auth.notice') ?>
  2. <!DOCTYPE html>
  3. <!--power by dever--><html>
  4. <head>
  5. <?php require Dever::config("base")->data . 'compile/content/manage/layadmin/inc/head.cmp.php' ?>
  6. </head>
  7. <body>
  8. <div class="layui-fluid">
  9. <div class="layui-row layui-col-space15">
  10. <div class="layui-col-md8">
  11. <div class="layui-row layui-col-space15">
  12. <div class="layui-col-md6">
  13. <div class="layui-card">
  14. <div class="layui-card-header">快捷方式</div>
  15. <div class="layui-card-body">
  16. <div class="layui-carousel layadmin-carousel layadmin-shortcut">
  17. <div carousel-item>
  18. <ul class="layui-row layui-col-space10">
  19. <li class="layui-col-xs3">
  20. <a lay-href="home/homepage1.html">
  21. <i class="layui-icon layui-icon-console"></i>
  22. <cite>主页一</cite>
  23. </a>
  24. </li>
  25. <li class="layui-col-xs3">
  26. <a lay-href="home/homepage2.html">
  27. <i class="layui-icon layui-icon-chart"></i>
  28. <cite>主页二</cite>
  29. </a>
  30. </li>
  31. <li class="layui-col-xs3">
  32. <a lay-href="component/layer/list.html">
  33. <i class="layui-icon layui-icon-template-1"></i>
  34. <cite>弹层</cite>
  35. </a>
  36. </li>
  37. <li class="layui-col-xs3">
  38. <a layadmin-event="im">
  39. <i class="layui-icon layui-icon-chat"></i>
  40. <cite>聊天</cite>
  41. </a>
  42. </li>
  43. <li class="layui-col-xs3">
  44. <a lay-href="component/progress/index.html">
  45. <i class="layui-icon layui-icon-find-fill"></i>
  46. <cite>进度条</cite>
  47. </a>
  48. </li>
  49. <li class="layui-col-xs3">
  50. <a lay-href="app/workorder/list.html">
  51. <i class="layui-icon layui-icon-survey"></i>
  52. <cite>工单</cite>
  53. </a>
  54. </li>
  55. <li class="layui-col-xs3">
  56. <a lay-href="user/user/list.html">
  57. <i class="layui-icon layui-icon-user"></i>
  58. <cite>用户</cite>
  59. </a>
  60. </li>
  61. <li class="layui-col-xs3">
  62. <a lay-href="set/system/website.html">
  63. <i class="layui-icon layui-icon-set"></i>
  64. <cite>设置</cite>
  65. </a>
  66. </li>
  67. </ul>
  68. <ul class="layui-row layui-col-space10">
  69. <li class="layui-col-xs3">
  70. <a lay-href="set/user/info.html">
  71. <i class="layui-icon layui-icon-set"></i>
  72. <cite>我的资料</cite>
  73. </a>
  74. </li>
  75. <li class="layui-col-xs3">
  76. <a lay-href="set/user/info.html">
  77. <i class="layui-icon layui-icon-set"></i>
  78. <cite>我的资料</cite>
  79. </a>
  80. </li>
  81. <li class="layui-col-xs3">
  82. <a lay-href="set/user/info.html">
  83. <i class="layui-icon layui-icon-set"></i>
  84. <cite>我的资料</cite>
  85. </a>
  86. </li>
  87. <li class="layui-col-xs3">
  88. <a lay-href="set/user/info.html">
  89. <i class="layui-icon layui-icon-set"></i>
  90. <cite>我的资料</cite>
  91. </a>
  92. </li>
  93. <li class="layui-col-xs3">
  94. <a lay-href="set/user/info.html">
  95. <i class="layui-icon layui-icon-set"></i>
  96. <cite>我的资料</cite>
  97. </a>
  98. </li>
  99. <li class="layui-col-xs3">
  100. <a lay-href="set/user/info.html">
  101. <i class="layui-icon layui-icon-set"></i>
  102. <cite>我的资料</cite>
  103. </a>
  104. </li>
  105. <li class="layui-col-xs3">
  106. <a lay-href="set/user/info.html">
  107. <i class="layui-icon layui-icon-set"></i>
  108. <cite>我的资料</cite>
  109. </a>
  110. </li>
  111. <li class="layui-col-xs3">
  112. <a lay-href="set/user/info.html">
  113. <i class="layui-icon layui-icon-set"></i>
  114. <cite>我的资料</cite>
  115. </a>
  116. </li>
  117. </ul>
  118. </div>
  119. </div>
  120. </div>
  121. </div>
  122. </div>
  123. <div class="layui-col-md6">
  124. <div class="layui-card">
  125. <div class="layui-card-header">待办事项</div>
  126. <div class="layui-card-body">
  127. <div class="layui-carousel layadmin-carousel layadmin-backlog">
  128. <div carousel-item>
  129. <ul class="layui-row layui-col-space10">
  130. <li class="layui-col-xs6">
  131. <a lay-href="app/content/comment.html" class="layadmin-backlog-body">
  132. <h3>待审评论</h3>
  133. <p><cite>66</cite></p>
  134. </a>
  135. </li>
  136. <li class="layui-col-xs6">
  137. <a lay-href="app/forum/list.html" class="layadmin-backlog-body">
  138. <h3>待审帖子</h3>
  139. <p><cite>12</cite></p>
  140. </a>
  141. </li>
  142. <li class="layui-col-xs6">
  143. <a lay-href="template/goodslist.html" class="layadmin-backlog-body">
  144. <h3>待审商品</h3>
  145. <p><cite>99</cite></p>
  146. </a>
  147. </li>
  148. <li class="layui-col-xs6">
  149. <a href="javascript:;" onclick="layer.tips('不跳转', this, {tips: 3});" class="layadmin-backlog-body">
  150. <h3>待发货</h3>
  151. <p><cite>20</cite></p>
  152. </a>
  153. </li>
  154. </ul>
  155. <ul class="layui-row layui-col-space10">
  156. <li class="layui-col-xs6">
  157. <a href="javascript:;" class="layadmin-backlog-body">
  158. <h3>待审友情链接</h3>
  159. <p><cite style="color: #FF5722;">5</cite></p>
  160. </a>
  161. </li>
  162. </ul>
  163. </div>
  164. </div>
  165. </div>
  166. </div>
  167. </div>
  168. <div class="layui-col-md12">
  169. <div class="layui-card">
  170. <div class="layui-card-header">数据概览</div>
  171. <div class="layui-card-body">
  172. <div class="layui-carousel layadmin-carousel layadmin-dataview" data-anim="fade" lay-filter="LAY-index-dataview">
  173. <div carousel-item id="LAY-index-dataview">
  174. <div><i class="layui-icon layui-icon-loading1 layadmin-loading"></i></div>
  175. <div></div>
  176. <div></div>
  177. </div>
  178. </div>
  179. </div>
  180. </div>
  181. <div class="layui-card">
  182. <div class="layui-tab layui-tab-brief layadmin-latestData">
  183. <ul class="layui-tab-title">
  184. <li class="layui-this">今日热搜</li>
  185. <li>今日热帖</li>
  186. </ul>
  187. <div class="layui-tab-content">
  188. <div class="layui-tab-item layui-show">
  189. <table id="LAY-index-topSearch"></table>
  190. </div>
  191. <div class="layui-tab-item">
  192. <table id="LAY-index-topCard"></table>
  193. </div>
  194. </div>
  195. </div>
  196. </div>
  197. </div>
  198. </div>
  199. </div>
  200. <div class="layui-col-md4">
  201. <div class="layui-card dever-notice" style="<?php if(!(Dever::load('manage/auth.notice'))): ?>display:none;<?php endif; ?>">
  202. <div class="layui-card-header">系统公告</div>
  203. <div class="layui-card-body">
  204. <div class="layui-carousel layadmin-carousel layadmin-news" data-autoplay="true" data-anim="fade" lay-filter="news">
  205. <div carousel-item id="dever-notice">
  206. <?php if(isset($data['manage/auth.notice']) && is_array($data['manage/auth.notice'])): ?><?php $t=count($data['manage/auth.notice'])-1 ?><?php $i=0 ?><?php foreach($data['manage/auth.notice'] as $k => $v): ?><div><a href="<?php echo Dever::url("notice?where_id=".$v['id']."&where_config=".$v['config']) ?>" target="_blank" class="layui-bg-red" title="<?php echo $v['name'] ?>" style="background-color: #FF5722!important;"><?php echo $v['name'] ?></a></div><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['manage/auth.notice'] ?><?php endif; ?>
  207. </div>
  208. </div>
  209. </div>
  210. </div>
  211. <div class="layui-card">
  212. <div class="layui-card-header">版本信息</div>
  213. <div class="layui-card-body layui-text">
  214. <table class="layui-table">
  215. <colgroup>
  216. <col width="100">
  217. <col>
  218. </colgroup>
  219. <tbody>
  220. <tr>
  221. <td>当前版本</td>
  222. <td>
  223. <script type="text/html" template>
  224. v{{ layui.admin.v }}
  225. </script>
  226. </td>
  227. </tr>
  228. <tr>
  229. <td>基于框架</td>
  230. <td>
  231. <script type="text/html" template>
  232. layui-v{{ layui.v }}
  233. </script>
  234. </td>
  235. </tr>
  236. <tr>
  237. <td>主要特色</td>
  238. <td>零门槛 / 响应式 / 清爽 / 极简</td>
  239. </tr>
  240. <tr>
  241. <td>获取渠道</td>
  242. <td style="padding-bottom: 0;">
  243. <div class="layui-btn-container">
  244. <a href="http://www.layui.com/admin/" target="_blank" class="layui-btn layui-btn-danger">获取授权</a>
  245. <a href="http://fly.layui.com/download/layuiAdmin/" target="_blank" class="layui-btn">立即下载</a>
  246. </div>
  247. </td>
  248. </tr>
  249. </tbody>
  250. </table>
  251. </div>
  252. </div>
  253. <div class="layui-card">
  254. <div class="layui-card-header">效果报告</div>
  255. <div class="layui-card-body layadmin-takerates">
  256. <div class="layui-progress" lay-showpercent="yes">
  257. <h3>转化率(日同比 28% <span class="layui-edge layui-edge-top" lay-tips="增长" lay-offset="-15"></span>)</h3>
  258. <div class="layui-progress-bar" lay-percent="65%"></div>
  259. </div>
  260. <div class="layui-progress" lay-showpercent="yes">
  261. <h3>签到率(日同比 11% <span class="layui-edge layui-edge-bottom" lay-tips="下降" lay-offset="-15"></span>)</h3>
  262. <div class="layui-progress-bar" lay-percent="32%"></div>
  263. </div>
  264. </div>
  265. </div>
  266. <div class="layui-card">
  267. <div class="layui-card-header">实时监控</div>
  268. <div class="layui-card-body layadmin-takerates">
  269. <div class="layui-progress" lay-showpercent="yes">
  270. <h3>CPU使用率</h3>
  271. <div class="layui-progress-bar" lay-percent="58%"></div>
  272. </div>
  273. <div class="layui-progress" lay-showpercent="yes">
  274. <h3>内存占用率</h3>
  275. <div class="layui-progress-bar layui-bg-red" lay-percent="90%"></div>
  276. </div>
  277. </div>
  278. </div>
  279. <div class="layui-card">
  280. <div class="layui-card-header">
  281. 作者心语
  282. <i class="layui-icon layui-icon-tips" lay-tips="要支持的噢" lay-offset="5"></i>
  283. </div>
  284. <div class="layui-card-body layui-text layadmin-text">
  285. <p>一直以来,layui 秉承无偿开源的初心,虔诚致力于服务各层次前后端 Web 开发者,在商业横飞的当今时代,这一信念从未动摇。即便身单力薄,仍然重拾决心,埋头造轮,以尽可能地填补产品本身的缺口。</p>
  286. <p>在过去的一段的时间,我一直在寻求持久之道,已维持你眼前所见的一切。而 layuiAdmin 是我们尝试解决的手段之一。我相信真正有爱于 layui 生态的你,定然不会错过这一拥抱吧。</p>
  287. <p>子曰:君子不用防,小人防不住。请务必通过官网正规渠道,获得 <a href="http://www.layui.com/admin/" target="_blank">layuiAdmin</a>!</p>
  288. <p>—— 贤心(<a href="http://www.layui.com/" target="_blank">layui.com</a>)</p>
  289. </div>
  290. </div>
  291. </div>
  292. </div>
  293. </div>
  294. <?php require Dever::config("base")->data . 'compile/content/manage/layadmin/inc/script.cmp.php' ?>
  295. <script>
  296. layui.config({
  297. base: '<?php echo Dever::config("host")->script ?>lib/layui/admin/' //静态资源所在路径
  298. }).extend({
  299. index: 'lib/index' //主入口模块
  300. }).use(['index', 'console']);
  301. </script>
  302. </body>
  303. </html>