nav.html 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. {template 'common/header'}
  2. {if $do == 'home' || $do == 'profile'}
  3. {if $do == 'home'}
  4. <div class="panel panel-warning">
  5. <div class="panel-body">
  6. 当前使用的风格为:{$style['name']},模板文件为:{$template['title']}(/app/themes/{$template['name']})。{if !empty($template['sections'])}此模板提供 <span class="label label-warning">{$template['sections']}</span> 个导航位置,您可以指定导航在特定的位置显示,未指位置的导航将无法显示{else}此模板未提供导航位置功能{/if}
  7. </div>
  8. </div>
  9. {/if}
  10. <table class="table we7-table table-hover">
  11. <col width="130px" />
  12. <col width="150px" />
  13. <col width="350px" />
  14. <col width="" />
  15. <tr>
  16. <th>标题</th>
  17. <th>图标</th>
  18. <th>链接</th>
  19. <th>操作</th>
  20. </tr>
  21. {loop $entries $menu}
  22. <tr ng-repeat="menu in homeMenu">
  23. <td class="title">{$menu['title']}</td>
  24. <td><i class="{$menu['icon']}"></i></td>
  25. <td><a href="javascript:;" class="js-clip" data-url="{$menu['url']}">{$menu['url']}</a></td>
  26. <td class="edit">
  27. <a href="{php echo url('site/multi')}">跳转至“微官网”设置</a>
  28. </td>
  29. </tr>
  30. {/loop}
  31. </table>
  32. {/if}
  33. {template 'common/footer'}