Commit bd0a659d authored by Okhin's avatar Okhin
Browse files

Patching the navbar

parent d05a38ed
...@@ -58,7 +58,9 @@ ...@@ -58,7 +58,9 @@
<li role="presentation" {% block active_tab_about %}{% endblock %}><a href="{%root_url%}/about">{% trans "What is Net Neutrality?" %}</a></li> <li role="presentation" {% block active_tab_about %}{% endblock %}><a href="{%root_url%}/about">{% trans "What is Net Neutrality?" %}</a></li>
<li role="presentation" {% block active_tab_start %}{% endblock %}><a href="{%root_url%}/start">{% trans "Start Monitoring" %}</a></li> <li role="presentation" {% block active_tab_start %}{% endblock %}><a href="{%root_url%}/start">{% trans "Start Monitoring" %}</a></li>
{% if user.is_authenticated %} {% if user.is_authenticated %}
<li>
<p class="navbar-text">{{ user.username }}</p> <p class="navbar-text">{{ user.username }}</p>
</li>
<li role="presentation" class="dropdown"> <li role="presentation" class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="#">{% trans "Admin Action" %} <span class="caret"></span></a> <a class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="#">{% trans "Admin Action" %} <span class="caret"></span></a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
...@@ -71,7 +73,7 @@ ...@@ -71,7 +73,7 @@
{% else %} {% else %}
<li role="presentation"><a href="{%root_url%}/admin/" id="login">{% trans "Login" %}</a></li> <li role="presentation"><a href="{%root_url%}/admin/" id="login">{% trans "Login" %}</a></li>
{% endif %} {% endif %}
</ul> <li>
<form action="{% url 'set_language' %}" method="post" class="navbar-form">{% csrf_token %} <form action="{% url 'set_language' %}" method="post" class="navbar-form">{% csrf_token %}
<div class="input-group"> <div class="input-group">
<select class="form-control" name="language"> <select class="form-control" name="language">
...@@ -89,7 +91,9 @@ ...@@ -89,7 +91,9 @@
</span> </span>
</div> </div>
</form> </form>
<form action="/search/" method="get" class="navbar-form navbar-right"> </li>
<li>
<form action="/search/" method="get" class="navbar-form">
<div class="input-group"> <div class="input-group">
<input type="text" class="form-control" placeholder="Quick Search..."> <input type="text" class="form-control" placeholder="Quick Search...">
<span class="input-group-btn"> <span class="input-group-btn">
...@@ -97,7 +101,8 @@ ...@@ -97,7 +101,8 @@
</span> </span>
</div> </div>
</form> </form>
</li>
</ul>
</div> </div>
</div> </div>
</nav> </nav>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment