123456789101112131415161718 |
- <div class="crumbs">
- {% if data['farm_cur'] == 'product' %}
- <h2><i class="icons ico-dt"></i>产品管理 <a style="margin-left:10px;" href="javascript:;" onclick="Farm.Page('添加产品', '/main/product_update')" class="btn">添加</a></h2>
- {% elif data['farm_cur'] == 'env' %}
- <h2><i class="icons ico-dt"></i>环境设置 <a style="margin-left:10px;" href="javascript:;" onclick="Farm.Page('添加环境', '/main/env_update')" class="btn">添加</a></h2>
- {% end %}
- <ul>
- <li {% if data['farm_cur'] == 'index' %}class="cur"{% end %}><a href="{{data['url']['info']}}">农场介绍</a></li>
- <li><span>/</span></li>
- <li {% if data['farm_cur'] == 'edit' %}class="cur"{% end %}><a href="{{data['url']['edit']}}">修改农场资料</a></li>
- <li><span>/</span></li>
- <li {% if data['farm_cur'] == 'product' %}class="cur"{% end %}><a href="{{data['url']['product']}}">农场产品管理</a></li>
- <li><span>/</span></li>
- <li {% if data['farm_cur'] == 'env' %}class="cur"{% end %}><a href="{{data['url']['env']}}">环境设置</a></li>
- <li><span>/</span></li>
- <li><a href="{{data['setting']['farmurl']}}{{data['setting']['farm']}}" target="_blank">农场网站</a></li>
- </ul>
- </div>
|