Skip to content

Commit

Permalink
navbar home id changes for logo
Browse files Browse the repository at this point in the history
  • Loading branch information
DurgaSwetha committed Oct 11, 2021
1 parent 49daa6e commit 6b3d64a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
</div>
</div>
-->

<div class="collapse" id="collapseExample">

<span class="float-right"> <button class="btn text-white showhide right" type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
Expand Down Expand Up @@ -119,14 +120,14 @@
</div>
<nav class="navbar navbar-expand-lg sticky-top navbar-light bg-light justify-content-center" id="navbar">
{% if title == 'COOL' %}
<a class="navbar-brand float-left" href="{% url 'e-library' group_id %}" tabindex="1"><img src="/static/ndf/images/COOLLOGO.png" class="img-fluid" alt="CLIX COOL LOGO FOR TISS COOL PAGE" width="125px"></a>
<a class="navbar-brand float-left" href="{% url 'e-library' groupid %}" tabindex="1"><img src="/static/ndf/images/COOLLOGO.png" class="img-fluid" alt="CLIX COOL LOGO FOR TISS COOL PAGE" width="125px"></a>

{% elif title == 'COOL-OER' %}
<a class="navbar-brand float-left" href="{% url 'e-library' group_id %}" tabindex="1"><img src="/static/ndf/images/COOLLOGO.png" class="im\
<a class="navbar-brand float-left" href="{% url 'e-library' groupid %}" tabindex="1"><img src="/static/ndf/images/COOLLOGO.png" class="im\
g-fluid" alt="CLIX COOL LOGO FOR TISS COOL PAGE" width="125px"></a>

{% else %}
<a class="navbar-brand float-left" href="{% url 'e-library' group_id %}" tabindex="1"><img src="/static/ndf/images/Clix_logo.png" class="img-fluid" alt="CLix Logo Elibrary" width="200px"></a>
<a class="navbar-brand float-left" href="{% url 'e-library' groupid %}" tabindex="1"><img src="/static/ndf/images/Clix_logo.png" class="img-fluid" alt="CLix Logo Elibrary" width="200px"></a>
{% endif %}
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample04" aria-controls="navbarsExample04" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
Expand All @@ -142,7 +143,7 @@
</li>
-->
<li class="nav-item first-fliter-search active">
<a class=" py-3 nav-link home fun-name " tabindex="2" href="{% url 'e-library' group_id %}" data-toggle="tooltip"
<a class=" py-3 nav-link home fun-name " tabindex="2" href="{% url 'e-library' groupid %}" data-toggle="tooltip"
title="{% trans "E-library for open educational resources"%}" > <i class="fas fa-home solid"></i>{% trans 'E-library' %} <span class="sr-only">(current)</span></a>
</li>
<!--
Expand Down Expand Up @@ -216,12 +217,12 @@

<!-- <a href="{% url 'domain_page' group_id 'Mathematics' %}" id="maths" class="dropdown-item domain_name" >Math</a>
-->
<a href="{% url 'domain_page' group_id 'English' %}" id="english" class="dropdown-item domain_name " ><i class="fas fa-font" > </i>{% trans 'English' %} </a>
<a href="{% url 'domain_page' groupid 'English' %}" id="english" class="dropdown-item domain_name " ><i class="fas fa-font" > </i>{% trans 'English' %} </a>

<a href="{% url 'domain_page' group_id 'Mathematics' %}" id="maths" class="dropdown-item domain_name " ><i class="fas fa-calculator" >
<a href="{% url 'domain_page' groupid 'Mathematics' %}" id="maths" class="dropdown-item domain_name " ><i class="fas fa-calculator" >
</i>{% trans 'Math' %} </a>

<a href="{% url 'domain_page' group_id 'Science' %}" id="science" class="dropdown-item domain_name " > <i class="fas fa-flask"> </i>{% trans 'Science' %} </a>
<a href="{% url 'domain_page' groupid 'Science' %}" id="science" class="dropdown-item domain_name " > <i class="fas fa-flask"> </i>{% trans 'Science' %} </a>
</div>
</li>
<li class="nav-item ">
Expand Down

0 comments on commit 6b3d64a

Please sign in to comment.