They should instead attached to the proper objects in the common_utils.py file.
Link to code to improve:
|
{% if loop.index0 == 0 %}bg-cyan-50 hover:bg-cyan-100{% endif %} |
|
{% if loop.index0 == 1 %}bg-indigo-50 hover:bg-indigo-100{% endif %} |
|
{% if loop.index0 == 2 %}bg-yellow-50 hover:bg-yellow-100{% endif %} |
They should instead attached to the proper objects in the common_utils.py file.
Link to code to improve:
edgi-cloud/templates/index.html
Lines 230 to 232 in 109b207