device.html 715 B

123456789
  1. <input type="hidden" name="id" id="id" value="{% if 'set' in data and data['set'] and 'id' in data['set'] and data['set']['id'] %}{{data['set']['id']}}{% end %}" />
  2. {% if data['type']['unit'] %}
  3. <span style="color:#bababa;">单位:{{data['type']['unit']}}</span>
  4. <br />
  5. {% end %}
  6. <input type="text" name="update_max" id="update_max" value="{% if 'set' in data and data['set'] and 'max' in data['set'] and data['set']['max'] %}{{data['set']['max']}}{% end %}" placeholder="最大上限" />
  7. <br />
  8. <input type="text" name="update_min" id="update_min" value="{% if 'set' in data and data['set'] and 'min' in data['set'] and data['set']['min'] %}{{data['set']['min']}}{% end %}" placeholder="最小下限" />