Template source: base.html

{% load social_auth_widget %} <!DOCTYPE html> <html> <head> <title>{{ title }}</title> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> <link type="text/css" href="/static/css/bootstrap.css" rel="stylesheet"> <link type="text/css" href="/static/css/dashboard.css" rel="stylesheet"> <link type="text/css" href="/static/css/styles.css" rel="stylesheet"> <script type="application/javascript" src="/static/js/jquery-2.1.0.min.js"></script> <script type="application/javascript" src="/static/js/jquery.validate.js"></script> <script type="application/javascript" src="/static/js/bootstrap.js"></script> <script type="application/javascript" src="/static/js/scripts.js"></script> {% block head %}{% endblock %} </head> <body> {% block navbar %} <nav class="navbar navbar-default navbar-fixed-top" role="navigation"> <div class="container-fluid"> <div id="navbar" class="navbar-collapse collapse"> <nav class="menu"> <input type="checkbox" href="#" class="menu-open" name="menu-open" id="menu-open"/> <label class="menu-open-button" for="menu-open"> <span class="hamburger hamburger-1"></span> <span class="hamburger hamburger-2"></span> <span class="hamburger hamburger-3"></span> </label> <a href="/" class="menu-item"> <i class="fa fa-home"></i> </a> <a href="/blog/" class="menu-item"> <i class="fa fa-comment"></i> </a> <a href="/user/" class="menu-item"> <i class="fa fa-user"></i> </a> <a href="#" class="menu-item"> <i class="fa fa-envelope"></i> </a> </nav> <form class="navbar-form navbar-right"> <input type="text" class="form-control" placeholder="Search..."> </form> <div class="nav navbar-nav navbar-right"> {% block login %} <div class="large-offset-5 large-6 columns"> {% if not user.is_authenticated %} <form action="/user/login/?next={% if request.GET.next %}{{ request.GET.next }}{% else %}{{ request.path }}{% endif %}" method="post"> {% csrf_token %} <label for="username">Name</label> <input type="text" name="username" id="username"> <label for="password">Password</label> <input type="password" name="password" id="password"> {% if login_error %} <label class="error">{{ login_error }}</label> {% endif %} <input class="button" type="submit" value="Login"> {% social_auth_widget %} <div class="label round secondary"><a href="/user/sighin/">Registration</a></div> </form> {% else %} <li><a href="/user/">{{ user.username }}</a></li> <a href="/user/logout/">Log Out</a> {% endif %} </div> {% endblock %} </div> </div> </div> </nav> {% endblock %} {% block container %} <div class="container-fluid"> <div class="row"> <div class="col-sm-3 col-md-2 sidebar"> {% block left %} {% endblock %} </div> <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main"> {% block content %} {% endblock %} </div> </div> </div> {% endblock %} </body> </html>