adjust.html 606 B

12345678910111213141516171819202122232425262728293031
  1. <h2>调节系数管理</h2>
  2. <form method="post" action="/admin/adjust/save">
  3. 级别:
  4. <select name="level">
  5. <option value="global">全局</option>
  6. <option value="brand">品牌</option>
  7. <option value="machine">机型</option>
  8. </select><br/>
  9. 关联ID(品牌ID/机型ID):
  10. <input name="ref_id" value="0"><br/>
  11. 系数:
  12. <input name="factor" value="1.0"><br/>
  13. <button>保存</button>
  14. </form>
  15. <hr/>
  16. <table border="1">
  17. <tr><th>级别</th><th>关联ID</th><th>系数</th></tr>
  18. {% for r in rows %}
  19. <tr>
  20. <td>{{ r.level }}</td>
  21. <td>{{ r.ref_id }}</td>
  22. <td>{{ r.factor }}</td>
  23. </tr>
  24. {% endfor %}
  25. </table>