{% extends 'base.html' %} {% block link %} {% comment %} {% endcomment %} {% endblock %} {% block title %}Admin Panel{% endblock %} {% block content %} {% if user.username is not '' %} Go project page. {% comment %}

Content's background color is the same for the tab

We use the class nav-pills instead of nav-tabs which automatically creates a background color for the tab

We applied clearfix to the tab-content to rid of the gap between the tab and the content

We use css to change the background color of the content to be equal to the tab

{% endcomment %} {% else %} Your Need To login {% endif %} {% endblock %} {% block script %} {% comment %} {% endcomment %} {% endblock %}