| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | {% extends '_base.html' %} | 
					
						
							|  |  |  | {% load helpers %} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-22 17:12:12 -04:00
										 |  |  | {% block title %}{{ rack.site }} - Rack {{ rack.name }}{% endblock %} | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | {% block content %} | 
					
						
							|  |  |  | <div class="row"> | 
					
						
							| 
									
										
										
										
											2016-12-09 16:23:11 -05:00
										 |  |  |     <div class="col-sm-8 col-md-9"> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |         <ol class="breadcrumb"> | 
					
						
							| 
									
										
										
										
											2016-07-29 11:20:47 -04:00
										 |  |  |             <li><a href="{% url 'dcim:rack_list' %}">Racks</a></li> | 
					
						
							|  |  |  |             <li><a href="{% url 'dcim:rack_list' %}?site={{ rack.site.slug }}">{{ rack.site }}</a></li> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |             <li>{{ rack }}</li> | 
					
						
							|  |  |  |         </ol> | 
					
						
							|  |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2016-12-09 16:23:11 -05:00
										 |  |  |     <div class="col-sm-4 col-md-3"> | 
					
						
							| 
									
										
										
										
											2016-03-10 11:10:21 -05:00
										 |  |  |         <form action="{% url 'dcim:rack_list' %}" method="get"> | 
					
						
							|  |  |  |             <div class="input-group"> | 
					
						
							| 
									
										
										
										
											2016-07-29 12:51:23 -04:00
										 |  |  |                 <input type="text" name="q" class="form-control" placeholder="Search racks" /> | 
					
						
							| 
									
										
										
										
											2016-03-10 11:10:21 -05:00
										 |  |  |                 <span class="input-group-btn"> | 
					
						
							|  |  |  |                     <button type="submit" class="btn btn-primary"> | 
					
						
							| 
									
										
										
										
											2016-08-01 13:29:45 -04:00
										 |  |  |                         <span class="fa fa-search" aria-hidden="true"></span> | 
					
						
							| 
									
										
										
										
											2016-03-10 11:10:21 -05:00
										 |  |  |                     </button> | 
					
						
							|  |  |  |                 </span> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |         </form> | 
					
						
							|  |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | </div> | 
					
						
							|  |  |  | <div class="pull-right"> | 
					
						
							|  |  |  |     {% if prev_rack %} | 
					
						
							|  |  |  |         <a href="{% url 'dcim:rack' pk=prev_rack.pk %}" class="btn btn-primary"> | 
					
						
							| 
									
										
										
										
											2016-08-01 13:29:45 -04:00
										 |  |  |             <span class="fa fa-chevron-left" aria-hidden="true"></span> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |             Previous Rack | 
					
						
							|  |  |  |         </a> | 
					
						
							|  |  |  |     {% endif %} | 
					
						
							|  |  |  |     {% if next_rack %} | 
					
						
							|  |  |  |         <a href="{% url 'dcim:rack' pk=next_rack.pk %}" class="btn btn-primary"> | 
					
						
							| 
									
										
										
										
											2016-08-01 13:29:45 -04:00
										 |  |  |             <span class="fa fa-chevron-right" aria-hidden="true"></span> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |             Next Rack | 
					
						
							|  |  |  |         </a> | 
					
						
							|  |  |  |     {% endif %} | 
					
						
							|  |  |  |     {% if perms.dcim.change_rack %} | 
					
						
							|  |  |  | 		<a href="{% url 'dcim:rack_edit' pk=rack.pk %}" class="btn btn-warning"> | 
					
						
							| 
									
										
										
										
											2016-08-01 13:29:45 -04:00
										 |  |  | 			<span class="fa fa-pencil" aria-hidden="true"></span> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | 			Edit this rack | 
					
						
							|  |  |  | 		</a> | 
					
						
							|  |  |  |     {% endif %} | 
					
						
							|  |  |  |     {% if perms.dcim.delete_rack %} | 
					
						
							|  |  |  | 		<a href="{% url 'dcim:rack_delete' pk=rack.pk %}" class="btn btn-danger"> | 
					
						
							| 
									
										
										
										
											2016-08-01 13:29:45 -04:00
										 |  |  | 			<span class="fa fa-trash" aria-hidden="true"></span> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | 			Delete this rack | 
					
						
							|  |  |  | 		</a> | 
					
						
							|  |  |  |     {% endif %} | 
					
						
							|  |  |  | </div> | 
					
						
							| 
									
										
										
										
											2016-06-22 17:12:12 -04:00
										 |  |  | <h1>Rack {{ rack.name }}</h1> | 
					
						
							| 
									
										
										
										
											2016-12-09 16:23:11 -05:00
										 |  |  | {% include 'inc/created_updated.html' with obj=rack %} | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | <div class="row"> | 
					
						
							|  |  |  | 	<div class="col-md-6"> | 
					
						
							|  |  |  |         <div class="panel panel-default"> | 
					
						
							|  |  |  |             <div class="panel-heading"> | 
					
						
							| 
									
										
										
										
											2016-06-22 10:57:32 -04:00
										 |  |  |                 <strong>Rack</strong> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |             </div> | 
					
						
							| 
									
										
										
										
											2016-12-14 17:09:33 -05:00
										 |  |  |             <table class="table table-hover panel-body attr-table"> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |                 <tr> | 
					
						
							|  |  |  |                     <td>Site</td> | 
					
						
							|  |  |  |                     <td> | 
					
						
							| 
									
										
										
										
											2017-02-28 16:10:53 -05:00
										 |  |  |                         {% if rack.site.region %} | 
					
						
							|  |  |  |                             <a href="{{ rack.site.region.get_absolute_url }}">{{ rack.site.region }}</a> | 
					
						
							|  |  |  |                             <i class="fa fa-angle-right"></i> | 
					
						
							|  |  |  |                         {% endif %} | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |                         <a href="{% url 'dcim:site' slug=rack.site.slug %}">{{ rack.site }}</a> | 
					
						
							|  |  |  |                     </td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							|  |  |  |                 <tr> | 
					
						
							|  |  |  |                     <td>Group</td> | 
					
						
							|  |  |  |                     <td> | 
					
						
							| 
									
										
										
										
											2016-03-01 15:13:45 -05:00
										 |  |  |                         {% if rack.group %} | 
					
						
							| 
									
										
										
										
											2016-05-11 15:28:46 -04:00
										 |  |  |                             <a href="{% url 'dcim:rack_list' %}?site={{ rack.site.slug }}&group={{ rack.group.slug }}">{{ rack.group.name }}</a> | 
					
						
							| 
									
										
										
										
											2016-03-01 15:13:45 -05:00
										 |  |  |                         {% else %} | 
					
						
							|  |  |  |                             <span class="text-muted">None</span> | 
					
						
							|  |  |  |                         {% endif %} | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |                     </td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							|  |  |  |                 <tr> | 
					
						
							|  |  |  |                     <td>Facility ID</td> | 
					
						
							|  |  |  |                     <td> | 
					
						
							|  |  |  |                         {% if rack.facility_id %} | 
					
						
							|  |  |  |                             <span>{{ rack.facility_id }}</span> | 
					
						
							|  |  |  |                         {% else %} | 
					
						
							| 
									
										
										
										
											2016-07-29 15:31:35 -04:00
										 |  |  |                             <span class="text-muted">N/A</span> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |                         {% endif %} | 
					
						
							|  |  |  |                     </td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							| 
									
										
										
										
											2016-07-26 16:46:22 -04:00
										 |  |  |                 <tr> | 
					
						
							|  |  |  |                     <td>Tenant</td> | 
					
						
							|  |  |  |                     <td> | 
					
						
							|  |  |  |                         {% if rack.tenant %} | 
					
						
							| 
									
										
										
										
											2017-02-28 16:10:53 -05:00
										 |  |  |                             {% if rack.tenant.group %} | 
					
						
							|  |  |  |                                 <a href="{{ rack.tenant.group.get_absolute_url }}">{{ rack.tenant.group.name }}</a> | 
					
						
							|  |  |  |                                 <i class="fa fa-angle-right"></i> | 
					
						
							|  |  |  |                             {% endif %} | 
					
						
							| 
									
										
										
										
											2016-07-26 16:46:22 -04:00
										 |  |  |                             <a href="{{ rack.tenant.get_absolute_url }}">{{ rack.tenant }}</a> | 
					
						
							|  |  |  |                         {% else %} | 
					
						
							|  |  |  |                             <span class="text-muted">None</span> | 
					
						
							|  |  |  |                         {% endif %} | 
					
						
							| 
									
										
										
										
											2016-08-10 22:20:09 -04:00
										 |  |  |                     </td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							|  |  |  |                 <tr> | 
					
						
							|  |  |  |                     <td>Role</td> | 
					
						
							|  |  |  |                     <td> | 
					
						
							|  |  |  |                         {% if rack.role %} | 
					
						
							|  |  |  |                             <a href="{{ rack.role.get_absolute_url }}">{{ rack.role }}</a> | 
					
						
							|  |  |  |                         {% else %} | 
					
						
							|  |  |  |                             <span class="text-muted">None</span> | 
					
						
							|  |  |  |                         {% endif %} | 
					
						
							| 
									
										
										
										
											2016-07-26 16:46:22 -04:00
										 |  |  |                     </td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							| 
									
										
										
										
											2016-08-08 18:01:15 -04:00
										 |  |  |                 <tr> | 
					
						
							|  |  |  |                     <td>Type</td> | 
					
						
							|  |  |  |                     <td> | 
					
						
							|  |  |  |                         {% if rack.type %} | 
					
						
							|  |  |  |                             {{ rack.get_type_display }} | 
					
						
							|  |  |  |                         {% else %} | 
					
						
							|  |  |  |                             <span class="text-muted">None</span> | 
					
						
							|  |  |  |                         {% endif %} | 
					
						
							|  |  |  |                     </td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							|  |  |  |                 <tr> | 
					
						
							|  |  |  |                     <td>Width</td> | 
					
						
							|  |  |  |                     <td>{{ rack.get_width_display }}</td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |                 <tr> | 
					
						
							|  |  |  |                     <td>Height</td> | 
					
						
							| 
									
										
										
										
											2016-10-28 11:30:40 -04:00
										 |  |  |                     <td>{{ rack.u_height }}U ({% if rack.desc_units %}descending{% else %}ascending{% endif %})</td> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |                 </tr> | 
					
						
							|  |  |  |                 <tr> | 
					
						
							|  |  |  |                     <td>Devices</td> | 
					
						
							|  |  |  |                     <td> | 
					
						
							|  |  |  |                         <a href="{% url 'dcim:device_list' %}?rack_id={{ rack.id }}">{{ rack.devices.count }}</a> | 
					
						
							|  |  |  |                     </td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							|  |  |  |             </table> | 
					
						
							|  |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2016-09-19 16:11:37 -04:00
										 |  |  |         {% with rack.get_custom_fields as custom_fields %} | 
					
						
							| 
									
										
										
										
											2016-08-15 15:24:23 -04:00
										 |  |  |             {% include 'inc/custom_fields_panel.html' %} | 
					
						
							|  |  |  |         {% endwith %} | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |         <div class="panel panel-default"> | 
					
						
							|  |  |  |             <div class="panel-heading"> | 
					
						
							|  |  |  |                 <strong>Non-Racked Devices</strong> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |             {% if nonracked_devices %} | 
					
						
							|  |  |  |                 <table class="table table-hover panel-body"> | 
					
						
							| 
									
										
										
										
											2016-07-01 17:12:43 -04:00
										 |  |  |                     <tr> | 
					
						
							|  |  |  |                         <th>Name</th> | 
					
						
							|  |  |  |                         <th>Role</th> | 
					
						
							|  |  |  |                         <th>Type</th> | 
					
						
							|  |  |  |                         <th>Parent</th> | 
					
						
							|  |  |  |                     </tr> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |                     {% for device in nonracked_devices %} | 
					
						
							|  |  |  |                         <tr{% if device.device_type.u_height %} class="warning"{% endif %}> | 
					
						
							|  |  |  |                             <td> | 
					
						
							|  |  |  |                                 <a href="{% url 'dcim:device' pk=device.pk %}">{{ device.name }}</a> | 
					
						
							|  |  |  |                             </td> | 
					
						
							|  |  |  |                             <td>{{ device.device_role }}</td> | 
					
						
							| 
									
										
										
										
											2016-12-08 09:59:21 -05:00
										 |  |  |                             <td>{{ device.device_type.full_name }}</td> | 
					
						
							|  |  |  |                             <td> | 
					
						
							|  |  |  |                                 {% if device.parent_bay %} | 
					
						
							|  |  |  |                                     <a href="{{ device.parent_bay.device.get_absolute_url }}">{{ device.parent_bay }}</a> | 
					
						
							|  |  |  |                                 {% else %} | 
					
						
							|  |  |  |                                     <span class="text-muted">N/A</span> | 
					
						
							|  |  |  |                                 {% endif %} | 
					
						
							|  |  |  |                             </td> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |                         </tr> | 
					
						
							|  |  |  |                     {% endfor %} | 
					
						
							|  |  |  |                 </table> | 
					
						
							|  |  |  |             {% else %} | 
					
						
							|  |  |  |                 <div class="panel-body text-muted">None</div> | 
					
						
							|  |  |  |             {% endif %} | 
					
						
							|  |  |  |             {% if perms.dcim.add_device %} | 
					
						
							|  |  |  |                 <div class="panel-footer text-right"> | 
					
						
							|  |  |  |                     <a href="{% url 'dcim:device_add' %}?site={{ rack.site.pk }}&rack={{ rack.pk }}" class="btn btn-primary btn-xs"> | 
					
						
							|  |  |  |                         <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> | 
					
						
							|  |  |  |                         Add a non-racked device | 
					
						
							|  |  |  |                     </a> | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  |             {% endif %} | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |         <div class="panel panel-default"> | 
					
						
							|  |  |  |             <div class="panel-heading"> | 
					
						
							|  |  |  |                 <strong>Comments</strong> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |             <div class="panel-body"> | 
					
						
							| 
									
										
										
										
											2016-07-29 15:31:35 -04:00
										 |  |  |                 {% if rack.comments %} | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |                     {{ rack.comments|gfm }} | 
					
						
							|  |  |  |                 {% else %} | 
					
						
							|  |  |  |                     <span class="text-muted">None</span> | 
					
						
							|  |  |  |                 {% endif %} | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2017-03-30 21:55:57 -04:00
										 |  |  |         <div class="panel panel-default"> | 
					
						
							|  |  |  |             <div class="panel-heading"> | 
					
						
							|  |  |  |                 <strong>Images</strong> | 
					
						
							|  |  |  |             </div> | 
					
						
							| 
									
										
										
										
											2017-03-31 15:19:44 -04:00
										 |  |  |             {% include 'inc/image_attachments.html' with images=rack.images.all %} | 
					
						
							| 
									
										
										
										
											2017-03-30 21:55:57 -04:00
										 |  |  |             {% if perms.extras.add_imageattachment %} | 
					
						
							|  |  |  |                 <div class="panel-footer text-right"> | 
					
						
							|  |  |  |                     <a href="{% url 'dcim:rack_add_image' object_id=rack.pk %}" class="btn btn-primary btn-xs"> | 
					
						
							|  |  |  |                         <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> | 
					
						
							|  |  |  |                         Attach an image | 
					
						
							|  |  |  |                     </a> | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  |             {% endif %} | 
					
						
							|  |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2017-02-16 13:46:58 -05:00
										 |  |  |         <div class="panel panel-default"> | 
					
						
							|  |  |  |             <div class="panel-heading"> | 
					
						
							|  |  |  |                 <strong>Reservations</strong> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |             {% if reservations %} | 
					
						
							|  |  |  |                 <table class="table table-hover panel-body"> | 
					
						
							|  |  |  |                     <tr> | 
					
						
							|  |  |  |                         <th>Units</th> | 
					
						
							|  |  |  |                         <th>Description</th> | 
					
						
							|  |  |  |                         <th></th> | 
					
						
							|  |  |  |                     </tr> | 
					
						
							|  |  |  |                     {% for resv in reservations %} | 
					
						
							|  |  |  |                         <tr> | 
					
						
							| 
									
										
										
										
											2017-04-06 16:26:48 -04:00
										 |  |  |                             <td>{{ resv.unit_list }}</td> | 
					
						
							| 
									
										
										
										
											2017-02-16 13:46:58 -05:00
										 |  |  |                             <td> | 
					
						
							|  |  |  |                                 {{ resv.description }}<br /> | 
					
						
							|  |  |  |                                 <small>{{ resv.user }} · {{ resv.created }}</small> | 
					
						
							|  |  |  |                             </td> | 
					
						
							|  |  |  |                             <td class="text-right"> | 
					
						
							| 
									
										
										
										
											2017-03-29 12:15:14 -04:00
										 |  |  |                                 {% if perms.dcim.change_rackreservation %} | 
					
						
							| 
									
										
										
										
											2017-02-16 13:46:58 -05:00
										 |  |  |                                     <a href="{% url 'dcim:rackreservation_edit' pk=resv.pk %}" class="btn btn-warning btn-xs" title="Edit reservation"> | 
					
						
							|  |  |  |                                         <i class="glyphicon glyphicon-pencil" aria-hidden="true"></i> | 
					
						
							|  |  |  |                                     </a> | 
					
						
							|  |  |  |                                 {% endif %} | 
					
						
							| 
									
										
										
										
											2017-03-29 12:15:14 -04:00
										 |  |  |                                 {% if perms.dcim.delete_rackreservation %} | 
					
						
							| 
									
										
										
										
											2017-02-16 13:46:58 -05:00
										 |  |  |                                     <a href="{% url 'dcim:rackreservation_delete' pk=resv.pk %}" class="btn btn-danger btn-xs" title="Delete reservation"> | 
					
						
							|  |  |  |                                         <i class="glyphicon glyphicon-trash" aria-hidden="true"></i> | 
					
						
							|  |  |  |                                     </a> | 
					
						
							|  |  |  |                                 {% endif %} | 
					
						
							|  |  |  |                             </td> | 
					
						
							|  |  |  |                         </tr> | 
					
						
							|  |  |  |                     {% endfor %} | 
					
						
							|  |  |  |                 </table> | 
					
						
							|  |  |  |             {% else %} | 
					
						
							|  |  |  |                 <div class="panel-body text-muted">None</div> | 
					
						
							|  |  |  |             {% endif %} | 
					
						
							|  |  |  |             {% if perms.dcim.add_rackreservation %} | 
					
						
							|  |  |  |                 <div class="panel-footer text-right"> | 
					
						
							|  |  |  |                     <a href="{% url 'dcim:rack_add_reservation' rack=rack.pk %}" class="btn btn-primary btn-xs"> | 
					
						
							|  |  |  |                         <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> | 
					
						
							|  |  |  |                         Add a reservation | 
					
						
							|  |  |  |                     </a> | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  |             {% endif %} | 
					
						
							|  |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | 	</div> | 
					
						
							| 
									
										
										
										
											2016-07-08 06:17:08 -07:00
										 |  |  |     <div class="row col-md-6"> | 
					
						
							|  |  |  |        <div class="col-md-6 col-sm-6 col-xs-12"> | 
					
						
							|  |  |  |           <div class="rack_header"> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |             <h4>Front</h4> | 
					
						
							| 
									
										
										
										
											2016-07-08 06:17:08 -07:00
										 |  |  |           </div> | 
					
						
							| 
									
										
										
										
											2017-01-05 15:31:41 -05:00
										 |  |  |           {% include 'dcim/inc/rack_elevation.html' with primary_face=front_elevation secondary_face=rear_elevation face_id=0 %} | 
					
						
							| 
									
										
										
										
											2016-07-08 06:17:08 -07:00
										 |  |  |       </div> | 
					
						
							|  |  |  |       <div class="col-md-6 col-sm-6 col-xs-12"> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |         <div class="rack_header"> | 
					
						
							|  |  |  |             <h4>Rear</h4> | 
					
						
							|  |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2017-01-05 15:31:41 -05:00
										 |  |  |         {% include 'dcim/inc/rack_elevation.html' with primary_face=rear_elevation secondary_face=front_elevation face_id=1 %} | 
					
						
							| 
									
										
										
										
											2016-07-08 06:17:08 -07:00
										 |  |  |       </div> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |     </div> | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  | {% endblock %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block javascript %} | 
					
						
							|  |  |  | <script type="text/javascript"> | 
					
						
							|  |  |  | $(function() { | 
					
						
							|  |  |  |   $('[data-toggle="popover"]').popover() | 
					
						
							|  |  |  | }) | 
					
						
							|  |  |  | </script> | 
					
						
							|  |  |  | {% endblock %} |