{% load static %} <!DOCTYPE html> <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width" /> <title>Scipy India 2013 | IIT Bombay</title> <link rel="stylesheet" href="{% static 'css/base.css' %}" type="text/css" /> <link rel ="stylesheet" href="{% static 'css/responsive.css' %}" type="text/css"/> </head> <body> <div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="brand" href="/">Python Texbook Companion</a> <div class="nav-collapse collapse"> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="/internshipforms">Internship Forms</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">About<b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="/aboutpytbc">Python TBC</a></li> <li><a href="http://fossee.in" target="_blank">FOSSEE</a></li> </ul> </li> </ul> {% if not user %} <form action="" method="post" class="navbar-form pull-right"> <button type="button" class="btn" onclick='location.replace("{% url 'tbc:UserLogin' %}");'>Login</button> <button type="button" class="btn" onclick='location.replace("{{URL_ROOT}}/register");'>Sign Up</button> </form> {% else %} <div class="btn-group pull-right"> <button class="btn">{{ user.first_name }} {{ user.last_name }}</button> <button class="btn dropdown-toggle" data-toggle="dropdown"> <span class="caret"></span> </button> <ul class="dropdown-menu"> <li><a href="/submitproposal">Submit Book</a></li> <li><a href="/logout">Edit Profile</a></li> <li><a href="#">Python Team</a></li> <li><a href="/logout">Logout</a></li> </ul> </div> {% endif %} </div><!--/.nav-collapse --> </div> </div> </div> <div class="container"> <div class="hero-unit"> {% block content %} {% for book in books %} <a href="{% url 'tbc:BookDetails' book.id %}">{{ book.name }}</a> {% endfor %} {% endblock %} </div> <hr> <footer> <p>© FOSSEE - IIT Bombay 2013</p> </footer> </div> <!-- /container --> </body> </html>