mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-18 14:02:15 +00:00
45 lines
1.1 KiB
HTML
45 lines
1.1 KiB
HTML
{% extends 'base_assets.html' %}
|
|
{% block title %}List{% endblock %}
|
|
{% load paginator from filters %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="page-header">
|
|
<h1 class="text-center">Asset List</h1>
|
|
</div>
|
|
|
|
<form id="asset-filter-form" onsubmit=>
|
|
{% csrf_token %}
|
|
<div class="input-group">
|
|
<input type="q" name="q" placeholder="Search" class="form-control" value="{{searchName}}">
|
|
<label for="asset_id" class="sr-only">Asset ID</label>
|
|
<span class="input-group-btn"><button type="submit" class="btn">Search</button></span>
|
|
</div>
|
|
</form>
|
|
|
|
<table class="table table-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>
|
|
|
|
{% if is_paginated %}
|
|
<div class="text-center">
|
|
{% paginator %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block js %}
|
|
{% endblock %}
|