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.
 
 
 
 
 
 

356 lines
16 KiB

  1. <?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:63:"D:\php\weiwei\public/../application/admin\view\addon\index.html";i:1588765311;s:56:"D:\php\weiwei\application\admin\view\layout\default.html";i:1588765311;s:53:"D:\php\weiwei\application\admin\view\common\meta.html";i:1588765311;s:55:"D:\php\weiwei\application\admin\view\common\script.html";i:1588765311;}*/ ?>
  2. <!DOCTYPE html>
  3. <html lang="<?php echo $config['language']; ?>">
  4. <head>
  5. <meta charset="utf-8">
  6. <title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
  8. <meta name="renderer" content="webkit">
  9. <link rel="shortcut icon" href="/assets/img/favicon.ico" />
  10. <!-- Loading Bootstrap -->
  11. <link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
  12. <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
  13. <!--[if lt IE 9]>
  14. <script src="/assets/js/html5shiv.js"></script>
  15. <script src="/assets/js/respond.min.js"></script>
  16. <![endif]-->
  17. <script type="text/javascript">
  18. var require = {
  19. config: <?php echo json_encode($config); ?>
  20. };
  21. </script>
  22. </head>
  23. <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
  24. <div id="main" role="main">
  25. <div class="tab-content tab-addtabs">
  26. <div id="content">
  27. <div class="row">
  28. <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
  29. <section class="content-header hide">
  30. <h1>
  31. <?php echo __('Dashboard'); ?>
  32. <small><?php echo __('Control panel'); ?></small>
  33. </h1>
  34. </section>
  35. <?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav')): ?>
  36. <!-- RIBBON -->
  37. <div id="ribbon">
  38. <ol class="breadcrumb pull-left">
  39. <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
  40. </ol>
  41. <ol class="breadcrumb pull-right">
  42. <?php foreach($breadcrumb as $vo): ?>
  43. <li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
  44. <?php endforeach; ?>
  45. </ol>
  46. </div>
  47. <!-- END RIBBON -->
  48. <?php endif; ?>
  49. <div class="content">
  50. <style type="text/css">
  51. .layui-layer-pay .layui-layer-content {
  52. padding: 0;
  53. height: 600px !important;
  54. }
  55. .layui-layer-pay {
  56. border: none;
  57. }
  58. .payimg {
  59. position: relative;
  60. width: 800px;
  61. height: 600px;
  62. }
  63. .payimg .alipaycode {
  64. position: absolute;
  65. left: 265px;
  66. top: 442px;
  67. }
  68. .payimg .wechatcode {
  69. position: absolute;
  70. left: 660px;
  71. top: 442px;
  72. }
  73. .thumbnail img {
  74. width: 100%;
  75. }
  76. .fixed-table-toolbar .pull-right.search {
  77. min-width: 300px;
  78. }
  79. a.title {
  80. color: #444;
  81. }
  82. .releasetips {
  83. position: relative;
  84. }
  85. .releasetips i {
  86. display: block;
  87. background: #f00;
  88. border-radius: 50%;
  89. width: 0.3em;
  90. height: 0.3em;
  91. top: 0px;
  92. right: -8px;
  93. position: absolute;
  94. box-shadow: 0px 0px 2px #f11414;
  95. }
  96. .form-userinfo .breadcrumb {
  97. margin-bottom:10px;
  98. }
  99. .btn-toggle {
  100. padding:0;
  101. }
  102. </style>
  103. <div class="panel panel-default panel-intro">
  104. <div class="panel-heading">
  105. <?php echo build_heading(null,FALSE); if(\think\Config::get('fastadmin.api_url')): ?>
  106. <ul class="nav nav-tabs nav-category">
  107. <li class="active"><a href="javascript:;" data-id=""><?php echo __('All'); ?></a></li>
  108. <li><a href="javascript:;" data-id="0"><?php echo __('Uncategoried'); ?></a></li>
  109. </ul>
  110. <?php endif; ?>
  111. </div>
  112. <div class="panel-body">
  113. <div id="myTabContent" class="tab-content">
  114. <div class="tab-pane fade active in" id="one">
  115. <div class="widget-body no-padding">
  116. <div id="toolbar" class="toolbar">
  117. <?php echo build_toolbar('refresh'); ?>
  118. <button type="button" id="plupload-addon" class="btn btn-danger plupload" data-url="addon/local" data-mimetype="application/zip" data-multiple="false"><i class="fa fa-upload"></i>
  119. <?php echo __('Offline install'); ?>
  120. </button>
  121. <?php if(\think\Config::get('fastadmin.api_url')): ?>
  122. <div class="btn-group">
  123. <a href="#" class="btn btn-info btn-switch active" data-type="all"><i class="fa fa-list"></i> <?php echo __('All'); ?></a>
  124. <a href="#" class="btn btn-info btn-switch" data-type="free"><i class="fa fa-gift"></i> <?php echo __('Free'); ?></a>
  125. <a href="#" class="btn btn-info btn-switch" data-type="price"><i class="fa fa-rmb"></i> <?php echo __('Paying'); ?></a>
  126. <a href="#" class="btn btn-info btn-switch" data-type="local" data-url="addon/downloaded"><i class="fa fa-laptop"></i> <?php echo __('Local addon'); ?></a>
  127. </div>
  128. <a class="btn btn-primary btn-userinfo" href="javascript:;"><i class="fa fa-user"></i> <?php echo __('Userinfo'); ?></a>
  129. <?php endif; ?>
  130. </div>
  131. <table id="table" class="table table-striped table-bordered table-hover" width="100%">
  132. </table>
  133. </div>
  134. </div>
  135. </div>
  136. </div>
  137. </div>
  138. <script id="searchformtpl" type="text/html">
  139. <form action="" class="form-commonsearch hide">
  140. <div class="well" style="box-shadow:none;border-radius:2px;margin-bottom:10px;">
  141. <div class="row">
  142. <div class="col-xs-12 col-sm-6 col-md-3">
  143. <div class="form-group">
  144. <label class="control-label"><?php echo __('Title'); ?></label>
  145. <input class="operate" type="hidden" data-name="title" value="like"/>
  146. <input class="form-control" type="text" name="title" placeholder="" value=""/>
  147. </div>
  148. </div>
  149. <div class="col-xs-12 col-sm-6 col-md-3">
  150. <div class="form-group">
  151. <label class="control-label"><?php echo __('Type'); ?></label>
  152. <input class="operate" type="hidden" data-name="type" value="="/>
  153. <input class="form-control" type="text" name="type" placeholder="all" value=""/>
  154. </div>
  155. </div>
  156. <div class="col-xs-12 col-sm-6 col-md-3">
  157. <div class="form-group">
  158. <label class="control-label"><?php echo __('Category'); ?></label>
  159. <input type="hidden" class="operate" data-name="category_id" value="="/>
  160. <input class="form-control" name="category_id" type="text" value="">
  161. </div>
  162. </div>
  163. <div class="col-xs-12 col-sm-6 col-md-3">
  164. <div class="form-group">
  165. <label class="control-label"><?php echo __('Version'); ?></label>
  166. <input type="hidden" class="operate" data-name="faversion" value="="/>
  167. <input class="form-control" name="faversion" type="text" value="<?php echo \think\Config::get('fastadmin.version'); ?>">
  168. </div>
  169. </div>
  170. <div class="col-xs-12 col-sm-6 col-md-3">
  171. <div class="form-group">
  172. <label class="control-label"></label>
  173. <div class="row">
  174. <div class="col-xs-6">
  175. <input type="submit" class="btn btn-success btn-block" value="<?php echo __('Submit'); ?>"/>
  176. </div>
  177. <div class="col-xs-6">
  178. <input type="reset" class="btn btn-primary btn-block" value="<?php echo __('Reset'); ?>"/>
  179. </div>
  180. </div>
  181. </div>
  182. </div>
  183. </div>
  184. </div>
  185. </form>
  186. </script>
  187. <script id="logintpl" type="text/html">
  188. <div>
  189. <form class="form-horizontal">
  190. <fieldset>
  191. <div class="alert alert-dismissable alert-danger">
  192. <button type="button" class="close" data-dismiss="alert">×</button>
  193. <strong><?php echo __('Warning'); ?></strong><br/><?php echo __('Login tips'); ?>
  194. </div>
  195. <div class="form-group">
  196. <div class="col-lg-12">
  197. <div class="input-group">
  198. <span class="input-group-addon"><i class="fa fa-user"></i></span>
  199. <input type="text" class="form-control" id="inputAccount" value=""
  200. placeholder="<?php echo __('Your username or email'); ?>">
  201. </div>
  202. </div>
  203. </div>
  204. <div class="form-group">
  205. <div class="col-lg-12">
  206. <div class="input-group">
  207. <span class="input-group-addon"><i class="fa fa-lock"></i></span>
  208. <input type="password" class="form-control" id="inputPassword" value=""
  209. placeholder="<?php echo __('Your password'); ?>">
  210. </div>
  211. </div>
  212. </div>
  213. </fieldset>
  214. </form>
  215. </div>
  216. </script>
  217. <script id="userinfotpl" type="text/html">
  218. <div>
  219. <form class="form-horizontal form-userinfo">
  220. <fieldset>
  221. <div class="alert alert-dismissable alert-success">
  222. <button type="button" class="close" data-dismiss="alert">×</button>
  223. <strong><?php echo __('Warning'); ?></strong><br/><?php echo __('Logined tips', '<%=username%>'); ?>
  224. </div>
  225. </fieldset>
  226. <div class="breadcrumb"><a href="https://www.fastadmin.net/user/myaddon.html" target="_blank"><i class="fa fa-money"></i> <?php echo __('My addons'); ?></a></div>
  227. <div class="breadcrumb"><a href="https://www.fastadmin.net/user/addon.html" target="_blank"><i class="fa fa-upload"></i> <?php echo __('My posts'); ?></a></div>
  228. </form>
  229. </div>
  230. </script>
  231. <script id="paytpl" type="text/html">
  232. <div class="payimg" style="background:url('<%=payimg%>') 0 0 no-repeat;background-size:cover;">
  233. <%if(paycode){%>
  234. <div class="alipaycode">
  235. <%=paycode%>
  236. </div>
  237. <div class="wechatcode">
  238. <%=paycode%>
  239. </div>
  240. <%}%>
  241. </div>
  242. </script>
  243. <script id="conflicttpl" type="text/html">
  244. <div class="alert alert-dismissable alert-danger">
  245. <button type="button" class="close" data-dismiss="alert">×</button>
  246. <strong><?php echo __('Warning'); ?></strong> <?php echo __('Conflict tips'); ?>
  247. </div>
  248. <table class="table table-striped">
  249. <thead>
  250. <tr>
  251. <th>#</th>
  252. <th><?php echo __('File'); ?></th>
  253. </tr>
  254. </thead>
  255. <tbody>
  256. <%for(var i=0;i < conflictlist.length;i++){%>
  257. <tr>
  258. <th scope="row"><%=i+1%></th>
  259. <td><%=conflictlist[i]%></td>
  260. </tr>
  261. <%}%>
  262. </tbody>
  263. </table>
  264. </script>
  265. <!--@formatter:off-->
  266. <script id="operatetpl" type="text/html">
  267. <% var labelarr = ['primary', 'success', 'info', 'danger', 'warning']; %>
  268. <% var label = labelarr[item.id % 5]; %>
  269. <% var addon = item.addon; %>
  270. <div class="operate" data-id="<%=item.id%>" data-name="<%=item.name%>">
  271. <% if(!addon){ %>
  272. <% if(typeof item.releaselist !="undefined" && item.releaselist.length>1){%>
  273. <span class="btn-group">
  274. <a href="javascript:;" class="btn btn-xs btn-primary btn-success btn-install"
  275. data-type="<%=item.price<=0?'free':'price';%>" data-donateimage="<%=item.donateimage%>"
  276. data-version="<%=item.version%>"><i class="fa fa-cloud-download"></i> <?php echo __('Install'); ?></a>
  277. <a class="btn btn-xs btn-success dropdown-toggle" data-toggle="dropdown" href="javascript:;">
  278. <span class="fa fa-caret-down"></span>
  279. </a>
  280. <ul class="dropdown-menu">
  281. <% for(var j=0;j< item.releaselist.length;j++){ %>
  282. <li><a href="javascript:;" class="btn-install" data-type="<%=item.price<=0?'free':'price';%>"
  283. data-donateimage="<%=item.donateimage%>"
  284. data-version="<%=item.releaselist[j].version%>"><%=item.releaselist[j].version%></a></li>
  285. <% } %>
  286. </ul>
  287. </span>
  288. <% }else{%>
  289. <a href="javascript:;" class="btn btn-xs btn-primary btn-success btn-install"
  290. data-type="<%=item.price<=0?'free':'price';%>" data-donateimage="<%=item.donateimage%>"
  291. data-version="<%=item.version%>"><i class="fa fa-cloud-download"></i> <?php echo __('Install'); ?></a>
  292. <% } %>
  293. <% if(item.demourl){ %>
  294. <a href="<%=item.demourl%>" class="btn btn-xs btn-primary btn-info btn-demo" target="_blank">
  295. <i class="fa fa-flash"></i> <?php echo __('Demo'); ?>
  296. </a>
  297. <% } %>
  298. <% } else {%>
  299. <% if(addon.version!=item.version){%>
  300. <% if(typeof item.releaselist !="undefined" && item.releaselist.length>1){%>
  301. <span class="btn-group">
  302. <a href="javascript:;" class="btn btn-xs btn-info btn-success btn-upgrade"
  303. data-version="<%=item.version%>"><i class="fa fa-cloud"></i> <?php echo __('Upgrade'); ?></a>
  304. <a class="btn btn-xs btn-info dropdown-toggle" data-toggle="dropdown"
  305. href="javascript:;">
  306. <span class="fa fa-caret-down"></span>
  307. </a>
  308. <ul class="dropdown-menu">
  309. <% for(var j=0;j< item.releaselist.length;j++){ %>
  310. <li><a href="javascript:;" class="btn-upgrade"
  311. data-version="<%=item.releaselist[j].version%>"><%=item.releaselist[j].version%></a></li>
  312. <% } %>
  313. </ul>
  314. </span>
  315. <% }else{%>
  316. <a href="javascript:;" class="btn btn-xs btn-info btn-upgrade" title="<?php echo __('Upgrade'); ?>" data-version="<%=item.version%>"><i
  317. class="fa fa-cloud"></i> <?php echo __('Upgrade'); ?></a>
  318. <% }%>
  319. <% }%>
  320. <% if(addon.config){ %>
  321. <a href="javascript:;" class="btn btn-xs btn-primary btn-config" title="<?php echo __('Setting'); ?>"><i class="fa fa-pencil"></i>
  322. <?php echo __('Setting'); ?></a>
  323. <% } %>
  324. <a href="javascript:;" class="btn btn-xs btn-danger btn-uninstall" title="<?php echo __('Uninstall'); ?>"><i class="fa fa-times"></i>
  325. <?php echo __('Uninstall'); ?></a>
  326. <% } %>
  327. </div>
  328. </script>
  329. <!--@formatter:on-->
  330. </div>
  331. </div>
  332. </div>
  333. </div>
  334. </div>
  335. </div>
  336. <script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version']); ?>"></script>
  337. </body>
  338. </html>