manage-account.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {template 'common/header'}
  2. <div class="we7-page-search">
  3. <form method="get" class="form-inline">
  4. <input type="hidden" name="a" value="manage-account">
  5. <input type="hidden" name="c" value="module">
  6. <div class="input-group we7-margin-bottom col-sm-4">
  7. <input class="form-control " name="keyword" value="{$_GPC['keyword']}" type="text" placeholder="名称" >
  8. <span class="input-group-btn"><button class="btn btn-default"><i class="fa fa-search"></i></button></span>
  9. </div>
  10. </form>
  11. </div>
  12. <div class="js-module-display" ng-controller="ModuleMoreCtrl" ng-cloak>
  13. <div we7-initial-searchbar we7-search-callback="searchModule(letter)"></div>
  14. <div class="ext-apply-list clearfix">
  15. {loop $modules $module}
  16. <div class="ext-apply-item {if $module['shortcut']}apply-show{/if}" >
  17. <img src="{$module['logo']}" class="apply-img {if !$module['enabled']}gray{/if}" />
  18. <h2 class="apply-title">{$module['title']}</h2>
  19. <div class="mask">
  20. <a href="{url 'home/welcome/ext' array('m' => $module['name'])}" class="entry" target="_blank">
  21. 进入应用 <i class="wi wi-angle-right"></i>
  22. </a>
  23. {if $module['shortcut']}
  24. <a href="{php echo url('module/manage-account/shortcut', array('modulename' => $module['name'], 'shortcut' => STATUS_OFF))}" onclick="return ajaxopen(this.href);" class="cut-btn" title="移出菜单">
  25. <i class="wi wi-remove"></i>
  26. </a>
  27. {else}
  28. <a href="{php echo url('module/manage-account/shortcut', array('modulename' => $module['name'], 'shortcut' => STATUS_ON))}" onclick="return ajaxopen(this.href);" class="cut-btn" title="显示到菜单">
  29. <i class="wi wi-eye"></i>
  30. </a>
  31. {/if}
  32. <a href="{php echo url('module/manage-account/top', array('modulename' => $module['name']))}" class="stick">
  33. <i class="wi wi-stick-sign" title="置顶"></i>
  34. </a>
  35. </div>
  36. </div>
  37. {/loop}
  38. </div>
  39. <div class="text-right">{$pager}</div>
  40. </div>
  41. <script type="text/javascript">
  42. angular.module('moduleApp').value('config', {
  43. searchurl : "{php echo url('module/manage-account')}"
  44. });
  45. angular.bootstrap($('.js-module-display'), ['moduleApp']);
  46. </script>
  47. {template 'common/footer'}