mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Fix horizontal-ness on some forms
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
}
|
||||
checkIfCableHidden();
|
||||
</script>
|
||||
<form class="" method="POST" id="asset_audit_form" action="{{ form.action|default:request.path }}">
|
||||
<form method="POST" id="asset_audit_form" action="{{ form.action|default:request.path }}">
|
||||
{% include 'form_errors.html' %}
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="id" value="{{ object.id|default:0 }}" hidden=true>
|
||||
|
||||
@@ -49,14 +49,16 @@
|
||||
<span>Asset with that ID does not exist!</span>
|
||||
</div>
|
||||
|
||||
<h3>Audit Asset:</h3>
|
||||
<form id="asset-search-form" class=" mb-3" method="POST">
|
||||
<div class="input-group input-group-lg" style="width=auto;">
|
||||
{% render_field form.q|add_class:'form-control' placeholder='Enter Asset ID' autofocus="true" %}
|
||||
<div class="input-group-append">
|
||||
<label for="q" class="sr-only">Asset ID:</label>
|
||||
<a id="searchButton" class="btn btn-primary" class="submit" type="submit">Search</a>
|
||||
</div>
|
||||
<form id="asset-search-form" class="mb-3" method="POST">
|
||||
<div class="form-group form-row">
|
||||
<h3>Audit Asset:</h3>
|
||||
<div class="input-group input-group-lg">
|
||||
{% render_field form.q|add_class:'form-control' placeholder='Enter Asset ID' autofocus="true" %}
|
||||
<div class="input-group-append">
|
||||
<label for="q" class="sr-only">Asset ID:</label>
|
||||
<a id="searchButton" class="btn btn-primary" class="submit" type="submit">Search</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row my-2">
|
||||
<div class="col bg-dark rounded pt-3">
|
||||
<div class="col bg-dark text-white rounded pt-3">
|
||||
{# TODO Gotta be a cleaner way to do this... #}
|
||||
<p><span class="ml-2">Active Filters: </span> {% for filter in category_filters %}<span class="badge badge-info mx-1 ">{{filter}}<button type="button" class="btn btn-link p-0 ml-1 align-baseline">
|
||||
<span aria-hidden="true" class="fas fa-times" onclick="removeQString('category', '{{filter.id}}')"></span>
|
||||
|
||||
Reference in New Issue
Block a user