console.cmp.php 15 KB

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