12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- {template 'common/header'}
- <div class="we7-page-search">
- <form method="get" class="form-inline">
- <input type="hidden" name="a" value="manage-account">
- <input type="hidden" name="c" value="module">
- <div class="input-group we7-margin-bottom col-sm-4">
- <input class="form-control " name="keyword" value="{$_GPC['keyword']}" type="text" placeholder="名称" >
- <span class="input-group-btn"><button class="btn btn-default"><i class="fa fa-search"></i></button></span>
- </div>
- </form>
- </div>
- <div class="js-module-display" ng-controller="ModuleMoreCtrl" ng-cloak>
- <div we7-initial-searchbar we7-search-callback="searchModule(letter)"></div>
- <div class="ext-apply-list clearfix">
- {loop $modules $module}
- <div class="ext-apply-item {if $module['shortcut']}apply-show{/if}" >
- <img src="{$module['logo']}" class="apply-img {if !$module['enabled']}gray{/if}" />
- <h2 class="apply-title">{$module['title']}</h2>
- <div class="mask">
- <a href="{url 'home/welcome/ext' array('m' => $module['name'])}" class="entry" target="_blank">
- 进入应用 <i class="wi wi-angle-right"></i>
- </a>
- {if $module['shortcut']}
- <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="移出菜单">
- <i class="wi wi-remove"></i>
- </a>
- {else}
- <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="显示到菜单">
- <i class="wi wi-eye"></i>
- </a>
- {/if}
- <a href="{php echo url('module/manage-account/top', array('modulename' => $module['name']))}" class="stick">
- <i class="wi wi-stick-sign" title="置顶"></i>
- </a>
- </div>
- </div>
- {/loop}
- </div>
- <div class="text-right">{$pager}</div>
- </div>
- <script type="text/javascript">
- angular.module('moduleApp').value('config', {
- searchurl : "{php echo url('module/manage-account')}"
- });
- angular.bootstrap($('.js-module-display'), ['moduleApp']);
- </script>
- {template 'common/footer'}
|