File diff b092ea4cdde0 → d3db3c085912
conntrackt/templates/conntrackt/search.html
Show inline comments
 
@@ -12,12 +12,12 @@
 
  </div>
 

	
 
  <div class="span12">
 
    <hr>
 
    <hr />
 
    <form action="{% url "search" %}" class="form-search" method="GET">
 
      <input class="search-query" type="text" name="q"  placeholder="Search" value="{{ search_term }}"/>
 
      <button type="submit" class="btn"><span class="icon-search"></span> Search</button>
 
    </form>
 
    <hr>
 
    <hr />
 

	
 
    {% if projects %}
 
      <h2><small>Matched projects</small></h2>
 
@@ -26,10 +26,10 @@
 
          <li><a href="{{ project.get_absolute_url }}">{{ project.name }}</a></li>
 
        {% endfor %}
 
      </ul>
 
      <hr>
 
      <hr />
 
    {% elif search_term %}
 
      <p>There are no projects matching your query.</p>
 
      <hr>
 
      <hr />
 
    {% endif %}
 

	
 
    {% if entities %}
 
@@ -39,10 +39,10 @@
 
          <li><a href="{{ entity.get_absolute_url }}">{{ entity.name }}</a> (from {{ entity.project.name }})</li>
 
        {% endfor %}
 
      </ul>
 
      <hr>
 
      <hr />
 
    {% elif search_term %}
 
      <p>There are no entities matching your query.</p>
 
      <hr>
 
      <hr />
 
    {% endif %}
 

	
 
  </div>