playlist_watch_message.html 2.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. <div class="py-2 bg-light rounded-3">
  2. <div class="d-flex justify-content-center">
  3. <span class="h3 {% if watching_message.percent_complete == 0 %}w-75{% endif %}" style="color: #70777E">
  4. {% if watching_message.percent_complete == 0 %}
  5. <i class="fas fa-sun fa-spin" style="color: #d0bc0b"></i> Yay, you marked a playlist as watching! This message will keep updating as you mark videos as watched. Good luck! <i class="fas fa-sun fa-spin" style="color: #d0bc0b"></i>
  6. {% else %}
  7. {% if watching_message.percent_complete == 100 %}
  8. <i class="fas fa-flag-checkered" style="color: #2c9c6b"></i>
  9. {% endif %}
  10. <span style="color: #2c9c2c">{{ watching_message.watched_videos }}</span>
  11. /
  12. <span {% if watching_message.percent_complete == 100 %}style="color: #2c9c2c"{% endif %}>{{ watching_message.total_videos }}</span> <span {% if watching_message.percent_complete == 100 %}style="color: #2c9c2c"{% endif %}> watched!</span>
  13. {% if watching_message.percent_complete != 100 %}<span class="text-dark" style="border-bottom: 3px #e760f1 dashed; {% if watching_message.percent_complete >= 70 and watching_message.percent_complete != 100 %}background: linear-gradient(-45deg, #AE876B, #ABA27B, #A7BC8A, #A3D69A);
  14. background-size: 400% 400%; animation: gradient 7s ease infinite;{% endif %}">{{ watching_message.watch_time_left }}</span> left to go!{% endif %}
  15. {% if watching_message.percent_complete == 100 %}
  16. <i class="fas fa-flag-checkered" style="color: #2c9c6b"></i>
  17. {% elif watching_message.percent_complete >= 90 %}
  18. <i class="fas fa-glass-cheers" style="color: #9C2C42FF"></i>
  19. {% elif watching_message.percent_complete >= 75 %}
  20. <i class="fas fa-cocktail" style="color: #9C2C42FF"></i>
  21. {% elif watching_message.percent_complete >= 60 %}
  22. <i class="fas fa-glass-martini" style="color: #9C2C42FF"></i>
  23. {% elif watching_message.percent_complete >= 40 %}
  24. <i class="fas fa-glass-martini-alt" style="color: #9C2C42FF"></i>
  25. {% elif watching_message.percent_complete >= 20 %}
  26. <i class="fas fa-mug-hot" style="color: #9C2C42FF"></i>
  27. {% elif watching_message.percent_complete >= 0 %}
  28. <i class="fas fa-coffee" style="color: #9C2C42FF"></i>
  29. {% endif %}
  30. {% endif %}
  31. </span>
  32. </div>
  33. </div>