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.

73 lines
3.9 KiB

1 year ago
1 year ago
  1. <!DOCTYPE html>
  2. <html lang="zh-cn">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="renderer" content="webkit">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  7. <title>{block name="title"}标题{/block}</title>
  8. <link href="//cdn.staticfile.org/twitter-bootstrap/3.4.1/css/bootstrap.min.css" rel="stylesheet" />
  9. <link href="//cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" />
  10. <link href="/static/css/bootstrap-table.css" rel="stylesheet" />
  11. <script src="//cdn.staticfile.org/modernizr/2.8.3/modernizr.min.js"></script>
  12. <script src="//cdn.staticfile.org/jquery/2.1.4/jquery.min.js"></script>
  13. <script src="//cdn.staticfile.org/twitter-bootstrap/3.4.1/js/bootstrap.min.js"></script>
  14. <!--[if lt IE 9]>
  15. <script src="//cdn.staticfile.org/html5shiv/3.7.3/html5shiv.min.js"></script>
  16. <script src="//cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
  17. <![endif]-->
  18. </head>
  19. <body>
  20. <nav class="navbar navbar-fixed-top navbar-default">
  21. <div class="container">
  22. <div class="navbar-header">
  23. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
  24. aria-expanded="false" aria-controls="navbar">
  25. <span class="sr-only">导航按钮</span>
  26. <span class="icon-bar"></span>
  27. <span class="icon-bar"></span>
  28. <span class="icon-bar"></span>
  29. </button>
  30. <a class="navbar-brand" href="./">宝塔第三方云端管理中心</a>
  31. </div><!-- /.navbar-header -->
  32. <div id="navbar" class="collapse navbar-collapse">
  33. <ul class="nav navbar-nav navbar-right">
  34. <li class="{:checkIfActive('index')}">
  35. <a href="/admin"><i class="fa fa-home"></i> 后台首页</a>
  36. </li>
  37. <li class="{:checkIfActive('plugins,pluginswin,deplist')}">
  38. <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cubes"></i> 插件列表<b class="caret"></b></a>
  39. <ul class="dropdown-menu">
  40. <li class="{:checkIfActive('plugins')}"><a href="/admin/plugins">Linux面板</a></li>
  41. <li class="{:checkIfActive('pluginswin')}"><a href="/admin/pluginswin">Windows面板</a></li>
  42. <li class="{:checkIfActive('deplist')}"><a href="/admin/deplist">一键部署列表</a></li>
  43. </ul>
  44. </li>
  45. <li class="{:checkIfActive('record')}">
  46. <a href="/admin/record"><i class="fa fa-list"></i> 使用记录</a>
  47. </li>
  48. <li class="{:checkIfActive('list')}">
  49. <a href="/admin/list"><i class="fa fa-globe"></i> 黑白名单</a>
  50. </li>
  51. <li class="{:checkIfActive('log')}">
  52. <a href="/admin/log"><i class="fa fa-calendar"></i> 操作日志</a>
  53. </li>
  54. <li class="{:checkIfActive('set')}">
  55. <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cog"></i> 系统设置<b
  56. class="caret"></b></a>
  57. <ul class="dropdown-menu">
  58. <li><a href="/admin/set">软件版本设置</a></li>
  59. <li><a href="/admin/set/mod/api">面板接口设置</a></li>
  60. <li><a href="/admin/set/mod/task">自动更新插件设置</a></li>
  61. <li><a href="/admin/set/mod/tools">替换与清理工具</a></li>
  62. <li><a href="/admin/set/mod/account">管理账号设置</a></li>
  63. </ul>
  64. </li>
  65. <li>
  66. <a href="/admin/logout" onclick="return confirm('确定退出登录吗?')"><i class="fa fa-power-off"></i> 退出登录</a>
  67. </li>
  68. </ul>
  69. </div><!-- /.navbar-collapse -->
  70. </div><!-- /.container -->
  71. </nav><!-- /.navbar -->
  72. {block name="main"}主内容{/block}
  73. </body>
  74. </html>