mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Style adjustments
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user