blob: 1f98a10ce5fe4f594e44cb2eabe08bfa8c6768eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
{% 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 %}
|