Index.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!-- header start -->
  2. <include file="Public/Header" />
  3. <!-- header end -->
  4. <!-- right content start -->
  5. <div class="content-right">
  6. <div class="content">
  7. <!-- nav start -->
  8. <include file="Nav" />
  9. <!-- nav end -->
  10. <!-- list start -->
  11. <notempty name="data">
  12. <ul data-am-widget="gallery" class="am-gallery am-avg-sm-2 am-avg-md-3 am-avg-lg-4 am-gallery-bordered data-list" data-am-gallery="{}" data-select-url="{{:U('Admin/Theme/Save')}}">
  13. <foreach name="data" item="v">
  14. <li id="data-list-{{$v.theme}}">
  15. <div class="am-gallery-item am-radius <if condition="$v['theme'] eq $theme">theme-active</if>">
  16. <a href="javascript:;" class="select-theme" data-theme="{{$v.theme}}">
  17. <img src="{{$v.preview}}" alt="{{$v.name}}" />
  18. </a>
  19. <div class="am-gallery-item-bottom">
  20. <h3 class="am-gallery-title">
  21. {{$v.name}}
  22. <a href="javascript:;" class="am-icon-trash-o fr submit-delete" data-url="{{:U('Admin/Theme/Delete')}}" data-id="{{$v.theme}}"></a>
  23. </h3>
  24. <div class="am-gallery-desc">{{:L('theme_author_text')}}
  25. <if condition="empty($v['home'])">
  26. {{$v.author}}
  27. <else />
  28. <a href="{{$v.home}}" target="_blank">{{$v.author}}</a>
  29. </if>
  30. </div>
  31. <div class="am-gallery-desc">{{:L('theme_ver_text')}}{{$v.ver}}</div>
  32. </div>
  33. </div>
  34. </li>
  35. </foreach>
  36. <ul>
  37. <else />
  38. null---
  39. </notempty>
  40. <!-- lis end -->
  41. </div>
  42. </div>
  43. <!-- right content end -->
  44. <!-- footer start -->
  45. <include file="Public/Footer" />
  46. <!-- footer end -->