diff options
Diffstat (limited to 'static/website/templates/navbar.html')
-rw-r--r-- | static/website/templates/navbar.html | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/static/website/templates/navbar.html b/static/website/templates/navbar.html new file mode 100644 index 0000000..e1377ad --- /dev/null +++ b/static/website/templates/navbar.html @@ -0,0 +1,65 @@ + +{% load static %} +<!-- Navigation --> +{% block nav %} + <nav id="site-nav" class="navbar navbar-fixed-top navbar-custom"> + <div class="container"> + <div class="navbar-header"> + + <!-- logo --> + <div class="site-branding"> + <a class="logo" href="{{SITE_URL}}"> + + <!-- logo image --> + <img src="{% static 'website/bootstrap-css/assets/images/backgrounds/SciPy_logo.png' %}" class="img-fluid" style="max-width: 10%;" alt="Logo"> + + SciPy India 2019 + </a> + </div> + + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-items" aria-expanded="false"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + + </div><!-- /.navbar-header --> + + <div class="collapse navbar-collapse" id="navbar-items"> + <ul class="nav navbar-nav navbar-right"> + + <!-- navigation menu --> + <li class="active"><a data-scroll href="{{SITE_URL}}/#about">About</a></li> + <li><a data-scroll href="{{SITE_URL}}/#speakers">Speakers</a></li> + <li><a data-scroll href="{{SITE_URL}}/#registration">Register</a></li> + <li><a data-scroll href="{{SITE_URL}}/#contribution">CFP</a></li> + <li><a data-scroll href="{{SITE_URL}}/#schedule">Schedule</a></li> + <li><a data-scroll href="{{SITE_URL}}/#instructions">Instructions</a></li> + <!-- <li><a data-scroll href="{{SITE_URL}}/#sponsor">Sponsor</a></li> --> + <!-- <li><a data-scroll href="{{SITE_URL}}/#faq">FAQ</a></li> --> + <li><a data-scroll href="{{SITE_URL}}/#photos">Photos</a></li> + <li><a data-scroll href="{{SITE_URL}}/#contact-us">Contact Us</a></li> + <!-- <li><a data-scroll href="{{SITE_URL}}/#team">Team</a></li> --> + {% if user.is_authenticated %} + <li class="dropdown"> + <a class="dropdown-toggle" data-toggle="dropdown" href="{% url 'auth:login' %}" > + <i class="fa fa-user" aria-hidden="true"></i> + {{ user.username }}!<span class="caret"></span> + </a> + <ul class="dropdown-menu"> + <!-- <li><a href="{% url 'website:cfp' %}">Submit your Paper</a></li> --> + <!-- <li><a href="{{SITE_URL}}/#registration">Book your Ticket</a></li> --> + <li><a href="{% url 'auth:logout' %}?next=/2019"><i class="fa fa-sign-out"></i> Logout</a></li> + </ul> + </li> + {% else %} + <li><a href="{% url 'auth:login' %}">login</a></li> + {% endif %} + </ul> + + </div> + </div><!-- /.container --> + </nav> + +{% endblock %} |