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,12 +7,14 @@
<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>
<div class="input-field col l1 offset-s4">
<button type="submit" class="btn">Search</button>
</div>
</form>
<table class="striped">
@@ -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;