page.html 1.3 KB

12345678910111213141516
  1. <input type="hidden" name="id" id="id" value="{% if 'info' in data and data['info'] and 'id' in data['info'] and data['info']['id'] > 0 %}{{data['info']['id']}}{% end %}" />
  2. <div class="form">
  3. <label><span>页面名称:</span><input type="text" name="update_name" id="update_name" value="{% if 'info' in data and data['info'] and 'name' in data['info'] and data['info']['name'] %}{{data['info']['name']}}{% end %}" placeholder="页面名称" /></label>
  4. <label><span>页面排序:</span><input type="text" name="update_inorder" id="update_inorder" value="{% if 'info' in data and data['info'] and 'inorder' in data['info'] and data['info']['inorder'] %}{{data['info']['inorder']}}{% end %}" placeholder="排序,数字越小越靠前" /></label>
  5. <label><span>页面图标:</span>
  6. {% for v in data['ico'] %}
  7. <input type="radio" name="update_ico" id="update_ico" value="{{v}}" {% if 'info' in data and data['info'] and 'ico' in data['info'] and data['info']['ico'] == v %}checked{% end %} style="width:20px;" /><i class="icons ico-{{v}}" style="width:38px;"></i>
  8. {% end %}
  9. </label>
  10. <label>
  11. <input type="checkbox" name="update_stat" id="update_stat" value="1" {% if 'info' in data and data['info'] and 'stat' in data['info'] and data['info']['stat'] == True %}checked{% end %} style="width:20px;" />显示趋势图
  12. </label>
  13. </div>