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; opacity: 0;
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: -64px;
z-index: 9999; // TODO: Check if this doesn't break other things z-index: 9999; // TODO: Check if this doesn't break other things
transform-origin: 0 0; transform-origin: 0 0;

View File

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