menu.html 613 B

123456789101112
  1. <div class="crumbs">
  2. {% if data['work_cur'] == 'index' %}
  3. <h2><i class="icons ico-dt"></i>农事管理 <a style="margin-left:10px;" href="javascript:;" onclick="Farm.Page('添加农事', '/work/update')" class="btn">添加</a></h2>
  4. {% else %}
  5. <h2><i class="icons ico-dt"></i>农事设置</h2>
  6. {% end %}
  7. <ul>
  8. <li {% if data['work_cur'] == 'index' %}class="cur"{% end %}><a href="{{data['url']['index']}}">农事清单</a></li>
  9. <li><span>/</span></li>
  10. <li {% if data['work_cur'] == 'set' %}class="cur"{% end %}><a href="{{data['url']['set']}}">农事设置</a></li>
  11. </ul>
  12. </div>