Fix navbar on mobile

This commit is contained in:
2022-07-21 13:47:31 +01:00
parent 25e0879a10
commit 8ebaaaaa05
2 changed files with 48 additions and 41 deletions

View File

@@ -5,7 +5,7 @@
<div class="container">
<div class="row">
<div class="col-lg-4">
<div class="col-lg-4 col-md-4 col-xs-12">
<form method="POST">
{% csrf_token %}
<div class="input-group search-bar">
@@ -21,31 +21,33 @@
</div>
{% if results is not None %}
<div class="row">
<div class="col-lg-12">
<div class="col-lg-12 col-md-12 col-xs-12">
<div class="panel panel-default">
<div class="panel-heading">Results for {{ query }}</div>
<table class="table table-bordered table-light">
<thead>
<tr>
<th>TS</th>
<th>msg</th>
<th>host</th>
<th>nick</th>
<th>channel</th>
<th>net</th>
</tr>
</thead>
{% for item in results %}
<tr>
<td>{{ item.ts }}</td>
<td>{{ item.msg }}</td>
<td>{{ item.host }}</td>
<td>{{ item.nick }}</td>
<td>{{ item.channel }}</td>
<td>{{ item.net }}</td>
</tr>
{% endfor %}
</table>
<div class="table-responsive">
<table class="table table-bordered table-light">
<thead>
<tr>
<th>TS</th>
<th>msg</th>
<th>host</th>
<th>nick</th>
<th>channel</th>
<th>net</th>
</tr>
</thead>
{% for item in results %}
<tr>
<td>{{ item.ts }}</td>
<td>{{ item.msg }}</td>
<td>{{ item.host }}</td>
<td>{{ item.nick }}</td>
<td>{{ item.channel }}</td>
<td>{{ item.net }}</td>
</tr>
{% endfor %}
</table>
</div>
</div>
</div>