Commit 2d0bddb8d808c2be355abaed4294d9776b39c497

Authored by Gustavo Bernardo
1 parent 90cb0003

Search bar included in all templates with navbar [Issue:#233]

Showing 1 changed file with 13 additions and 0 deletions   Show diff stats
core/templates/base.html
... ... @@ -72,6 +72,19 @@
72 72 <a class="navbar-brand" href="{% url 'app:index' %}"><img class="logo" src="{% static 'img/topo-amadeus-white.png' %}" alt="Logo"/></a>
73 73 </div>
74 74 <div class="navbar-collapse collapse navbar-responsive-collapse">
  75 + <div class="col-md-5 cards-content" id= 'NavBarSearch'>
  76 + <form id="SearchForm" action="#" method="get" accept-charset="utf-8">
  77 + <div class="input-group">
  78 + <div class="form-group is-empty" >
  79 + <input type="text" class="form-control" placeholder="{% trans 'Search Files (.pdf, others) and/or activities' %}" name="search"></div>
  80 + <span class="input-group-btn input-group-sm">
  81 + <button type="submit" class="btn btn-fab btn-fab-mini">
  82 + <i class="fa fa-search" aria-hidden="true"></i>
  83 + </button>
  84 + </span>
  85 + </div>
  86 + </form>
  87 + </div>
75 88 <ul class="nav navbar-nav navbar-right notifications">
76 89 <li class="" data-toggle="tooltip" data-placement="bottom" title data-original-title="notifications">
77 90 <a class="dropdown-toggle" data-toggle="dropdown"> <span id="notification-count" class="badge notification-count">{{notifications.count}}</span><i class="fa fa-bell" aria-hidden="true"></i></a>
... ...