level.html 625 B

1234567891011121314151617
  1. <div class="mdui-chip">
  2. {% if level == 0 %}
  3. <span class="mdui-chip-title mdui-color-grey">LV0</span>
  4. {% elif level == 1 %}
  5. <span class="mdui-chip-title mdui-color-cyan">LV1</span>
  6. {% elif level == 2 %}
  7. <span class="mdui-chip-title mdui-color-teal">LV2</span>
  8. {% elif level == 3 %}
  9. <span class="mdui-chip-title mdui-color-light-green">LV3</span>
  10. {% elif level == 4 %}
  11. <span class="mdui-chip-title mdui-color-green">LV4</span>
  12. {% elif level == 5 %}
  13. <span class="mdui-chip-title mdui-color-yellow">LV5</span>
  14. {% elif level == 6 %}
  15. <span class="mdui-chip-title mdui-color-deep-orange">LV6</span>
  16. {% endif %}
  17. </div>