fans.html 620 B

1234567891011121314151617181920
  1. {% if level == 0 %}
  2. <div class="mdui-chip mdui-color-grey">
  3. {% elif level < 4 %}
  4. <div class="mdui-chip mdui-color-cyan">
  5. {% elif level < 6 %}
  6. <div class="mdui-chip mdui-color-teal">
  7. {% elif level < 8 %}
  8. <div class="mdui-chip mdui-color-light-green">
  9. {% elif level < 10 %}
  10. <div class="mdui-chip mdui-color-green">
  11. {% elif level < 12 %}
  12. <div class="mdui-chip mdui-color-yellow">
  13. {% elif level < 14 %}
  14. <div class="mdui-chip mdui-color-deep-orange">
  15. {% else %}
  16. <div class="mdui-chip mdui-color-theme">
  17. {% endif %}
  18. <span class="mdui-chip-title">{{ medal_name }}</span>
  19. <span class="mdui-chip-icon">{{ level }}</span>
  20. </div>