You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
2.7 KiB

1 year ago
  1. {extend name="admin/layout" /}
  2. {block name="title"}宝塔第三方云端管理中心{/block}
  3. {block name="main"}
  4. <style>
  5. .table>tbody>tr>td{white-space: normal;}
  6. .query-title {
  7. background-color:#f5fafe;
  8. word-break: keep-all;
  9. }
  10. .query-result{
  11. word-break: break-all;
  12. }
  13. </style>
  14. <div class="container" style="padding-top:70px;">
  15. <div class="col-xs-12 col-sm-10 col-md-8 center-block" style="float: none;">
  16. <div class="panel panel-primary">
  17. <div class="panel-heading"><h3 class="panel-title">后台管理首页</h3></div>
  18. <div class="list-group">
  19. <div class="list-group-item"><span class="glyphicon glyphicon-stats"></span> <b>宝塔插件统计:</b>共有 {$stat.total} 个,其中免费插件 {$stat.free} 个,专业版插件 {$stat.pro} 个,企业版插件 {$stat.ltd} 个,第三方插件 {$stat.third} 个</div>
  20. <div class="list-group-item"><span class="glyphicon glyphicon-tint"></span> <b>使用记录统计:</b>历史总共数量:{$stat.record_total},正在使用数量:{$stat.record_isuse}</div>
  21. <div class="list-group-item"><span class="glyphicon glyphicon-time"></span> <b>任务运行情况:</b>上次运行时间:{$stat.runtime|raw}&nbsp;&nbsp;<a href="/admin/set/mod/task" class="btn btn-xs btn-info">查看详情</a></div>
  22. <div class="list-group-item"><span class="glyphicon glyphicon-cog"></span> <b>常用功能入口:</b><a href="/admin/plugins" class="btn btn-xs btn-default">插件列表</a>&nbsp;<a href="/admin/record" class="btn btn-xs btn-default">使用记录</a>&nbsp;<a href="/admin/list" class="btn btn-xs btn-default">黑白名单</a>&nbsp;<a href="/download" class="btn btn-xs btn-default" target="_blank">安装脚本</a></div>
  23. </div>
  24. </div>
  25. <div class="panel panel-info">
  26. <div class="panel-heading">
  27. <h3 class="panel-title">服务器信息</h3>
  28. </div>
  29. <table class="table table-bordered">
  30. <tbody>
  31. <tr>
  32. <td class="query-title">框架版本</td>
  33. <td class="query-result">{$info.framework_version}</td>
  34. </tr>
  35. <tr>
  36. <td class="query-title">PHP版本</td>
  37. <td class="query-result">{$info.php_version}</td>
  38. </tr>
  39. <tr>
  40. <td class="query-title">MySQL版本</td>
  41. <td class="query-result">{$info.mysql_version}</td>
  42. </tr>
  43. <tr>
  44. <td class="query-title">WEB软件</td>
  45. <td class="query-result">{$info.software}</td>
  46. </tr>
  47. <tr>
  48. <td class="query-title">操作系统</td>
  49. <td class="query-result">{$info.os}</td>
  50. </tr>
  51. <tr>
  52. <td class="query-title">服务器时间</td>
  53. <td class="query-result">{$info.date}</td>
  54. </tr>
  55. </tbody>
  56. </table>
  57. </div>
  58. </div>
  59. </div>
  60. {/block}