mirror of
				https://github.com/netbox-community/netbox.git
				synced 2024-05-10 07:54:54 +00:00 
			
		
		
		
	* Enable HTMX rendering for embedded tables * Start converting embedded tables to use HTMX (WIP) * Additional table conversions (WIP) * Standardize HTMX usage for nested group models * Enable HTMX for additional emebedded tables * Fix HTMX table rendering for ObjectChildrenView * Standardize usage of inc/panel_table.html * Hide selection boxes in embedded tables
		
			
				
	
	
		
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% extends 'base/layout.html' %}
 | |
| {% load helpers %}
 | |
| {% load form_helpers %}
 | |
| {% load render_table from django_tables2 %}
 | |
| 
 | |
| {% block title %}Search{% endblock %}
 | |
| 
 | |
| {% block tabs %}
 | |
|   <ul class="nav nav-tabs px-3">
 | |
|     <li class="nav-item" role="presentation">
 | |
|       <button class="nav-link active" type="button" role="tab">
 | |
|         Results
 | |
|       </button>
 | |
|     </li>
 | |
|   </ul>
 | |
| {% endblock tabs %}
 | |
| 
 | |
| {% block content %}
 | |
|   <div class="row px-3">
 | |
|     <div class="col col-6 offset-3 py-3">
 | |
|       <form action="{% url 'search' %}" method="get" class="form form-horizontal">
 | |
|         {% render_form form %}
 | |
|         <div class="text-end">
 | |
|           <button type="submit" class="btn btn-primary">
 | |
|             <span class="mdi mdi-magnify" aria-hidden="true"></span> Search
 | |
|           </button>
 | |
|         </div>
 | |
|       </form>
 | |
|     </div>
 | |
|   </div>
 | |
|   <div class="row px-3">
 | |
|     <div class="card">
 | |
|       <div class="card-body htmx-container table-responsive" id="object_list">
 | |
|         {% include 'htmx/table.html' %}
 | |
|       </div>
 | |
|     </div>
 | |
|   </div>
 | |
| {% endblock content %}
 |