mirror of
				https://github.com/netbox-community/netbox.git
				synced 2024-05-10 07:54:54 +00:00 
			
		
		
		
	Initial push to public repo
This commit is contained in:
		
							
								
								
									
										31
									
								
								netbox/templates/dcim/power_connections_list.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								netbox/templates/dcim/power_connections_list.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,31 @@
 | 
			
		||||
{% extends '_base.html' %}
 | 
			
		||||
{% load render_table from django_tables2 %}
 | 
			
		||||
 | 
			
		||||
{% block title %}Power Connections{% endblock %}
 | 
			
		||||
 | 
			
		||||
{% block content %}
 | 
			
		||||
<div class="pull-right">
 | 
			
		||||
    {% if export_templates %}
 | 
			
		||||
        <div class="btn-group">
 | 
			
		||||
            <button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
 | 
			
		||||
                <span class="glyphicon glyphicon-export" aria-hidden="true"></span>
 | 
			
		||||
                Export connections <span class="caret"></span>
 | 
			
		||||
            </button>
 | 
			
		||||
            <ul class="dropdown-menu">
 | 
			
		||||
                {% for et in export_templates %}
 | 
			
		||||
                    <li><a href="{% url 'dcim:power_connections_list' %}?{% if request.GET %}{{ request.GET.urlencode }}&{% endif %}export={{ et.name }}">{{ et.name }}</a></li>
 | 
			
		||||
                {% endfor %}
 | 
			
		||||
            </ul>
 | 
			
		||||
        </div>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
</div>
 | 
			
		||||
<h1>Power Connections</h1>
 | 
			
		||||
<div class="row">
 | 
			
		||||
	<div class="col-md-9">
 | 
			
		||||
        {% render_table table 'table.html' %}
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="col-md-3">
 | 
			
		||||
		{% include 'inc/filter_panel.html' %}
 | 
			
		||||
    </div>
 | 
			
		||||
</div>
 | 
			
		||||
{% endblock %}
 | 
			
		||||
		Reference in New Issue
	
	Block a user