Style adjustments

This commit is contained in:
Johnathan Graydon
2019-01-12 16:25:59 +00:00
parent c03902d76b
commit 2717133d1c
2 changed files with 20 additions and 18 deletions

View File

@@ -13,7 +13,7 @@
opacity: 0;
position: absolute;
left: 0;
top: 0;
top: -64px;
z-index: 9999; // TODO: Check if this doesn't break other things
transform-origin: 0 0;

View File

@@ -7,28 +7,30 @@
<form method="post" id="asset-filter-form" class="row">
{% csrf_token %}
<div class="input-field col s3">
<div class="input-field col l11 s12">
<input type="text" name="asset_id">
<label for="asset_id">Asset ID</label>
</div>
<button type="submit" class="btn">Search</button>
<div class="input-field col l1 offset-s4">
<button type="submit" class="btn">Search</button>
</div>
</form>
<table class="striped">
<thead>
<tr>
<th>Asset ID</th>
<th>Description</th>
<th>Category</th>
<th>Status</th>
<th>Quick Links</th>
</tr>
</thead>
<tbody id="asset_table_body">
{% include 'asset_list_table_body.html' %}
</tbody>
</table>
<table class="striped">
<thead>
<tr>
<th>Asset ID</th>
<th>Description</th>
<th>Category</th>
<th>Status</th>
<th>Quick Links</th>
</tr>
</thead>
<tbody id="asset_table_body">
{% include 'asset_list_table_body.html' %}
</tbody>
</table>
{% include 'helpers/paginator.html' %}
@@ -36,7 +38,7 @@
{% block script %}
<script>
$('#asset-filter-form').on('submit', function(event){
$('#asset-filter-form').on('submit', function (event) {
event.preventDefault();
filterAssetTable();
return false;