Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added different colors for different levels #174

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

ShouryaMishra2006
Copy link
Contributor

changed the home/templates/dashboard/index.html file

        <td>
            <a class="btn btn-rounded 
                {% if issue.get_level_display == 'Hard' %}
                    btn-danger
                {% elif issue.get_level_display == 'Medium' %}
                    btn-warning
                {% elif issue.get_level_display == 'Easy' %}
                    btn-success
                {% else %}
                    btn-info
                {% endif %}
                mt-0" data-mdb-toggle="tooltip" title="Level">{{ issue.get_level_display }}
            </a>
        </td>

Screenshot 2024-10-11 113122
added screenshot for clearance please let me know if there will be any issues

Copy link
Contributor

@meisabhishekpatel meisabhishekpatel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems fine

@meisabhishekpatel meisabhishekpatel merged commit 92f7689 into ContriHUB:main Oct 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants