| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  | {% extends 'ipam/iprange/base.html' %} | 
					
						
							|  |  |  | {% load helpers %} | 
					
						
							|  |  |  | {% load plugins %} | 
					
						
							| 
									
										
										
										
											2023-07-29 03:30:25 +07:00
										 |  |  | {% load i18n %} | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | {% block content %} | 
					
						
							|  |  |  | <div class="row"> | 
					
						
							|  |  |  |     <div class="col col-md-6"> | 
					
						
							|  |  |  |         <div class="card"> | 
					
						
							|  |  |  |             <h5 class="card-header"> | 
					
						
							| 
									
										
										
										
											2023-07-29 03:30:25 +07:00
										 |  |  |               {% trans "IP Range" %} | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  |             </h5> | 
					
						
							|  |  |  |             <div class="card-body"> | 
					
						
							|  |  |  |               <table class="table table-hover attr-table"> | 
					
						
							|  |  |  |                 <tr> | 
					
						
							| 
									
										
										
										
											2023-07-29 03:30:25 +07:00
										 |  |  |                     <th scope="row">{% trans "Family" %}</th> | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  |                     <td>IPv{{ object.family }}</td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							|  |  |  |                 <tr> | 
					
						
							| 
									
										
										
										
											2023-07-29 03:30:25 +07:00
										 |  |  |                     <th scope="row">{% trans "Starting Address" %}</th> | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  |                     <td>{{ object.start_address }}</td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							|  |  |  |                 <tr> | 
					
						
							| 
									
										
										
										
											2023-07-29 03:30:25 +07:00
										 |  |  |                     <th scope="row">{% trans "Ending Address" %}</th> | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  |                     <td>{{ object.end_address }}</td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							|  |  |  |                 <tr> | 
					
						
							| 
									
										
										
										
											2023-07-29 03:30:25 +07:00
										 |  |  |                     <th scope="row">{% trans "Size" %}</th> | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  |                     <td>{{ object.size }}</td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							|  |  |  |                 <tr> | 
					
						
							| 
									
										
										
										
											2023-07-29 03:30:25 +07:00
										 |  |  |                     <th scope="row">{% trans "Utilization" %}</th> | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  |                     <td> | 
					
						
							| 
									
										
										
										
											2023-02-28 10:09:09 -05:00
										 |  |  |                       {% if object.mark_utilized %} | 
					
						
							|  |  |  |                         {% utilization_graph 100 warning_threshold=0 danger_threshold=0 %} | 
					
						
							| 
									
										
										
										
											2023-07-29 03:30:25 +07:00
										 |  |  |                         <small>({% trans "Marked fully utilized" %})</small> | 
					
						
							| 
									
										
										
										
											2023-02-28 10:09:09 -05:00
										 |  |  |                       {% else %} | 
					
						
							|  |  |  |                         {% utilization_graph object.utilization %} | 
					
						
							|  |  |  |                       {% endif %} | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  |                     </td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							|  |  |  |                 <tr> | 
					
						
							| 
									
										
										
										
											2023-07-29 03:30:25 +07:00
										 |  |  |                     <th scope="row">{% trans "VRF" %}</th> | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  |                     <td> | 
					
						
							|  |  |  |                         {% if object.vrf %} | 
					
						
							| 
									
										
										
										
											2022-03-22 14:51:20 -04:00
										 |  |  |                             {{ object.vrf|linkify }} ({{ object.vrf.rd }}) | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  |                         {% else %} | 
					
						
							| 
									
										
										
										
											2023-07-29 03:30:25 +07:00
										 |  |  |                             <span>{% trans "Global" %}</span> | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  |                         {% endif %} | 
					
						
							|  |  |  |                     </td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							|  |  |  |                 <tr> | 
					
						
							| 
									
										
										
										
											2023-07-29 03:30:25 +07:00
										 |  |  |                     <th scope="row">{% trans "Role" %}</th> | 
					
						
							| 
									
										
										
										
											2022-03-22 14:51:20 -04:00
										 |  |  |                     <td>{{ object.role|linkify|placeholder }}</td> | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  |                 </tr> | 
					
						
							|  |  |  |                 <tr> | 
					
						
							| 
									
										
										
										
											2023-07-29 03:30:25 +07:00
										 |  |  |                     <th scope="row">{% trans "Status" %}</th> | 
					
						
							| 
									
										
										
										
											2022-02-11 14:25:13 -05:00
										 |  |  |                     <td>{% badge object.get_status_display bg_color=object.get_status_color %}</td> | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  |                 </tr> | 
					
						
							|  |  |  |                 <tr> | 
					
						
							| 
									
										
										
										
											2023-07-29 03:30:25 +07:00
										 |  |  |                     <th scope="row">{% trans "Tenant" %}</th> | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  |                     <td> | 
					
						
							| 
									
										
										
										
											2022-03-22 15:29:05 -04:00
										 |  |  |                         {% if object.tenant.group %} | 
					
						
							|  |  |  |                             {{ object.tenant.group|linkify }} / | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  |                         {% endif %} | 
					
						
							| 
									
										
										
										
											2022-03-22 15:29:05 -04:00
										 |  |  |                         {{ object.tenant|linkify|placeholder }} | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  |                     </td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							|  |  |  |                 <tr> | 
					
						
							| 
									
										
										
										
											2023-07-29 03:30:25 +07:00
										 |  |  |                     <th scope="row">{% trans "Description" %}</th> | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  |                     <td>{{ object.description|placeholder }}</td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							|  |  |  |               </table> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |         {% plugin_left_page object %} | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  |     <div class="col col-md-6"> | 
					
						
							| 
									
										
										
										
											2022-11-04 08:28:09 -04:00
										 |  |  |       {% include 'inc/panels/tags.html' %} | 
					
						
							|  |  |  |       {% include 'inc/panels/custom_fields.html' %} | 
					
						
							|  |  |  |       {% include 'inc/panels/comments.html' %} | 
					
						
							|  |  |  |       {% plugin_right_page object %} | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  |     </div> | 
					
						
							|  |  |  | </div> | 
					
						
							| 
									
										
										
										
											2023-12-27 11:49:13 -05:00
										 |  |  | <div class="row"> | 
					
						
							|  |  |  |   <div class="col col-md-12"> | 
					
						
							|  |  |  |     {% include 'inc/panel_table.html' with table=parent_prefixes_table heading='Parent Prefixes' %} | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  | </div> | 
					
						
							| 
									
										
										
										
											2021-07-16 09:15:19 -04:00
										 |  |  | <div class="row"> | 
					
						
							|  |  |  |     <div class="col col-md-12"> | 
					
						
							|  |  |  |         {% plugin_full_width_page object %} | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  | {% endblock %} |