| 
									
										
										
										
											2018-11-02 14:42:15 -04:00
										 |  |  | {% load static %} | 
					
						
							| 
									
										
										
										
											2016-06-21 14:25:49 -04:00
										 |  |  | {% load helpers %} | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | <!DOCTYPE html> | 
					
						
							|  |  |  | <html lang="en"> | 
					
						
							|  |  |  | <head> | 
					
						
							| 
									
										
										
										
											2017-10-12 12:39:28 -05:00
										 |  |  |     <title>{% block title %}Home{% endblock %} - NetBox</title> | 
					
						
							| 
									
										
										
										
											2020-03-09 15:33:57 -04:00
										 |  |  |     <link rel="stylesheet" | 
					
						
							|  |  |  |           href="{% static 'bootstrap-3.4.1-dist/css/bootstrap.min.css' %}" | 
					
						
							|  |  |  |           onerror="window.location='{% url 'media_failure' %}?filename=bootstrap-3.4.1-dist/css/bootstrap.min.css'"> | 
					
						
							| 
									
										
										
										
											2020-11-06 12:13:00 -05:00
										 |  |  |     <link rel="stylesheet" | 
					
						
							|  |  |  |           href="{% static 'materialdesignicons-5.4.55/css/materialdesignicons.min.css' %}" | 
					
						
							|  |  |  |           onerror="window.location='{% url 'media_failure' %}?filename=materialdesignicons-5.4.55/css/materialdesignicons.min.css'"> | 
					
						
							| 
									
										
										
										
											2020-03-09 15:33:57 -04:00
										 |  |  |     <link rel="stylesheet" | 
					
						
							|  |  |  |           href="{% static 'jquery-ui-1.12.1/jquery-ui.css' %}" | 
					
						
							|  |  |  |           onerror="window.location='{% url 'media_failure' %}?filename=jquery-ui-1.12.1/jquery-ui.css'"> | 
					
						
							|  |  |  |     <link rel="stylesheet" | 
					
						
							| 
									
										
										
										
											2020-07-16 15:22:31 -04:00
										 |  |  |           href="{% static 'select2-4.0.13/dist/css/select2.min.css' %}" | 
					
						
							|  |  |  |           onerror="window.location='{% url 'media_failure' %}?filename=select2-4.0.13/dist/css/select2.min.css'"> | 
					
						
							| 
									
										
										
										
											2020-03-09 15:33:57 -04:00
										 |  |  |     <link rel="stylesheet" | 
					
						
							|  |  |  |           href="{% static 'select2-bootstrap-0.1.0-beta.10/select2-bootstrap.min.css' %}" | 
					
						
							|  |  |  |           onerror="window.location='{% url 'media_failure' %}?filename=select2-bootstrap-0.1.0-beta.10/select2-bootstrap.min.css'"> | 
					
						
							|  |  |  |     <link rel="stylesheet" | 
					
						
							|  |  |  |           href="{% static 'flatpickr-4.6.3/themes/light.css' %}" | 
					
						
							|  |  |  |           onerror="window.location='{% url 'media_failure' %}?filename=flatpickr-4.6.3/themes/light.css'"> | 
					
						
							|  |  |  |     <link rel="stylesheet" | 
					
						
							|  |  |  |           href="{% static 'css/base.css' %}?v{{ settings.VERSION }}" | 
					
						
							|  |  |  |           onerror="window.location='{% url 'media_failure' %}?filename=css/base.css'"> | 
					
						
							| 
									
										
										
										
											2016-08-09 14:57:14 -04:00
										 |  |  |     <link rel="icon" type="image/png" href="{% static 'img/netbox.ico' %}" /> | 
					
						
							| 
									
										
										
										
											2017-10-12 12:39:28 -05:00
										 |  |  |     <meta charset="UTF-8"> | 
					
						
							| 
									
										
										
										
											2016-09-26 23:43:05 -04:00
										 |  |  |     <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | </head> | 
					
						
							|  |  |  | <body> | 
					
						
							| 
									
										
										
										
											2017-09-29 14:27:42 -04:00
										 |  |  |     {% include 'inc/nav_menu.html' %} | 
					
						
							| 
									
										
										
										
											2017-04-10 10:55:05 -04:00
										 |  |  |     <div class="container wrapper"> | 
					
						
							| 
									
										
										
										
											2016-06-28 11:12:36 -04:00
										 |  |  |         {% if settings.BANNER_TOP %} | 
					
						
							|  |  |  |             <div class="alert alert-info text-center" role="alert"> | 
					
						
							| 
									
										
										
										
											2017-04-10 10:55:05 -04:00
										 |  |  |                 {{ settings.BANNER_TOP|safe }} | 
					
						
							| 
									
										
										
										
											2016-07-11 13:29:58 -04:00
										 |  |  |             </div> | 
					
						
							|  |  |  |         {% endif %} | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |         {% if settings.MAINTENANCE_MODE %} | 
					
						
							|  |  |  |             <div class="alert alert-warning text-center" role="alert"> | 
					
						
							| 
									
										
										
										
											2020-11-06 14:33:20 -05:00
										 |  |  |                 <h4><i class="mdi mdi-alert"></i> Maintenance Mode</h4> | 
					
						
							| 
									
										
										
										
											2016-06-27 11:22:36 -04:00
										 |  |  |                 <p>NetBox is currently in maintenance mode. Functionality may be limited.</p> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |             </div> | 
					
						
							|  |  |  |         {% endif %} | 
					
						
							| 
									
										
										
										
											2017-04-10 10:55:05 -04:00
										 |  |  |         {% for message in messages %} | 
					
						
							|  |  |  |             <div class="alert alert-{{ message.tags }} alert-dismissable" role="alert"> | 
					
						
							|  |  |  |                 <button type="button" class="close" data-dismiss="alert" aria-label="Close"> | 
					
						
							| 
									
										
										
										
											2017-08-03 17:49:22 -04:00
										 |  |  |                     <span>×</span> | 
					
						
							| 
									
										
										
										
											2017-04-10 10:55:05 -04:00
										 |  |  |                 </button> | 
					
						
							|  |  |  |                 {{ message }} | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |         {% endfor %} | 
					
						
							| 
									
										
										
										
											2018-06-14 13:14:35 -04:00
										 |  |  |         {% block header %}{% endblock %} | 
					
						
							| 
									
										
										
										
											2017-04-10 10:55:05 -04:00
										 |  |  |         {% block content %}{% endblock %} | 
					
						
							| 
									
										
										
										
											2016-07-11 15:04:39 -04:00
										 |  |  |         <div class="push"></div> | 
					
						
							| 
									
										
										
										
											2017-04-10 10:55:05 -04:00
										 |  |  |          {% if settings.BANNER_BOTTOM %} | 
					
						
							|  |  |  |             <div class="alert alert-info text-center banner-bottom" role="alert"> | 
					
						
							| 
									
										
										
										
											2016-06-28 11:12:36 -04:00
										 |  |  |                  {{ settings.BANNER_BOTTOM|safe }} | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |         {% endif %} | 
					
						
							| 
									
										
										
										
											2017-04-10 10:55:05 -04:00
										 |  |  |     </div> | 
					
						
							|  |  |  |     <footer class="footer"> | 
					
						
							|  |  |  |         <div class="container"> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |             <div class="row"> | 
					
						
							| 
									
										
										
										
											2016-07-08 20:45:27 -04:00
										 |  |  |                 <div class="col-xs-4"> | 
					
						
							| 
									
										
										
										
											2016-06-29 14:05:01 -04:00
										 |  |  |                     <p class="text-muted">{{ settings.HOSTNAME }} (v{{ settings.VERSION }})</p> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |                 </div> | 
					
						
							| 
									
										
										
										
											2016-07-08 20:45:27 -04:00
										 |  |  |                 <div class="col-xs-4 text-center"> | 
					
						
							| 
									
										
										
										
											2016-06-22 12:04:13 -04:00
										 |  |  |                     <p class="text-muted">{% now 'Y-m-d H:i:s T' %}</p> | 
					
						
							|  |  |  |                 </div> | 
					
						
							| 
									
										
										
										
											2019-03-05 15:42:47 -06:00
										 |  |  |                 <div class="col-xs-4 text-right noprint"> | 
					
						
							| 
									
										
										
										
											2016-06-22 12:04:13 -04:00
										 |  |  |                     <p class="text-muted"> | 
					
						
							| 
									
										
										
										
											2020-11-06 14:33:20 -05:00
										 |  |  |                         <i class="mdi mdi-book-open-page-variant text-primary"></i> <a href="http://netbox.readthedocs.io/">Docs</a> · | 
					
						
							|  |  |  |                         <i class="mdi mdi-cloud-braces text-primary"></i> <a href="{% url 'api_docs' %}">API</a> · | 
					
						
							|  |  |  |                         <i class="mdi mdi-xml text-primary"></i> <a href="https://github.com/netbox-community/netbox">Code</a> · | 
					
						
							|  |  |  |                         <i class="mdi mdi-lifebuoy text-primary"></i> <a href="https://github.com/netbox-community/netbox/wiki">Help</a> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  |                     </p> | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  |             </div> | 
					
						
							| 
									
										
										
										
											2017-04-10 10:55:05 -04:00
										 |  |  |         </div> | 
					
						
							|  |  |  |     </footer> | 
					
						
							| 
									
										
										
										
											2020-07-16 15:22:31 -04:00
										 |  |  | <script src="{% static 'jquery/jquery-3.5.1.min.js' %}" | 
					
						
							|  |  |  |         onerror="window.location='{% url 'media_failure' %}?filename=jquery/jquery-3.5.1.min.js'"></script> | 
					
						
							| 
									
										
										
										
											2020-03-09 15:33:57 -04:00
										 |  |  | <script src="{% static 'jquery-ui-1.12.1/jquery-ui.min.js' %}" | 
					
						
							|  |  |  |         onerror="window.location='{% url 'media_failure' %}?filename=jquery-ui-1.12.1/jquery-ui.min.js'"></script> | 
					
						
							|  |  |  | <script src="{% static 'bootstrap-3.4.1-dist/js/bootstrap.min.js' %}" | 
					
						
							|  |  |  |         onerror="window.location='{% url 'media_failure' %}?filename=bootstrap-3.4.1-dist/js/bootstrap.min.js'"></script> | 
					
						
							| 
									
										
										
										
											2020-07-16 15:22:31 -04:00
										 |  |  | <script src="{% static 'select2-4.0.13/dist/js/select2.min.js' %}" | 
					
						
							|  |  |  |         onerror="window.location='{% url 'media_failure' %}?filename=select2-4.0.13/dist/js/select2.min.js'"></script> | 
					
						
							|  |  |  | <script src="{% static 'clipboard.js/clipboard-2.0.6.min.js' %}" | 
					
						
							|  |  |  |         onerror="window.location='{% url 'media_failure' %}?filename=clipboard.js/clipboard-2.0.6.min.js'"></script> | 
					
						
							| 
									
										
										
										
											2020-03-09 15:33:57 -04:00
										 |  |  | <script src="{% static 'flatpickr-4.6.3/flatpickr.min.js' %}" | 
					
						
							|  |  |  |         onerror="window.location='{% url 'media_failure' %}?filename=flatpickr-4.6.3/flatpickr.min.js'"></script> | 
					
						
							|  |  |  | <script src="{% static 'js/forms.js' %}?v{{ settings.VERSION }}" | 
					
						
							|  |  |  |         onerror="window.location='{% url 'media_failure' %}?filename=js/forms.js'"></script> | 
					
						
							| 
									
										
										
										
											2017-07-17 11:41:39 -04:00
										 |  |  | <script type="text/javascript"> | 
					
						
							|  |  |  |     var netbox_api_path = "/{{ settings.BASE_PATH }}api/"; | 
					
						
							| 
									
										
										
										
											2020-10-21 14:52:50 -04:00
										 |  |  |     var netbox_csrf_token = "{{ csrf_token }}"; | 
					
						
							| 
									
										
										
										
											2017-07-17 11:41:39 -04:00
										 |  |  |     var loading = $(".loading"); | 
					
						
							|  |  |  |     $(document).ajaxStart(function() { | 
					
						
							|  |  |  |         loading.show(); | 
					
						
							|  |  |  |     }).ajaxStop(function() { | 
					
						
							|  |  |  |         loading.hide(); | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | </script> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | {% block javascript %}{% endblock %} | 
					
						
							|  |  |  | </body> | 
					
						
							|  |  |  | </html> |