{% load i18n static octicons %}
<!doctype html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
		<meta name="description" content="">
		<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
		<meta name="generator" content="Jekyll v3.8.5">
		<title>{% block title %}Local Cosmos Server{% endblock %}</title>

		<link rel="icon" type="image/png" href="{% static 'images/lclogo32.png' %}" sizes="32x32">


		<link href="{% static 'fonts/fonts.css' %}" rel="stylesheet">

		<!-- Bootstrap core CSS -->
		<link href="{% static 'localcosmos_server/bootstrap-4.3.1-dist/css/bootstrap.min.css' %}" rel="stylesheet">

		<link href="{% static 'localcosmos_server/css/localcosmos_server.css' %}" rel="stylesheet">

		<!-- konva -->
		<script type="text/javascript" src="{% static 'localcosmos_server/konva/konva.min.js' %}"></script>
		<script type="text/javascript" src="{% static 'localcosmos_server/interactive-image-field/InteractiveImageField.js' %}"></script>
		<link href="{% static 'localcosmos_server/interactive-image-field/InteractiveImageField.css' %}" rel="stylesheet">

		{% block extrahead %}{% endblock extrahead %}

	</head>
	<body>
		{% block nav %}
			<nav class="navbar fixed-top navbar-expand-lg navbar-light bg-light">
				<a class="navbar-brand" href="{% url 'scp:home' %}"><img src="{% static 'images/lclogo32.png' %}" alt="LocalCosmos Logo small" height="30" width="auto"/> LocalCosmos Server</a>
				<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
					<span class="navbar-toggler-icon"></span>
				</button>

				<div class="collapse navbar-collapse" id="navbarSupportedContent">
					<ul class="navbar-nav mr-auto">
						
						<li class="nav-item">
							<a class="nav-link" href="{% url 'scp:home' %}">{% trans 'Server Control Panel' %}</a>
						</li>

					</ul>

					
				</div>
			</nav>
		{% endblock %}

		<div class="mt-5">&nbsp;</div>
		<div class="container mt-5">
			<div class="row justify-content-center">
				<div class="col-4 col-md-6 col-lg-12 text-center">
					<img src="{% static 'localcosmos_server/images/Local-Cosmos-Logo.png' %}" class="img-fluid" alt="Local Cosmos Logo" />
				</div>
			</div>
		</div>

		<div id="main-content" class="mb-5">
			{% block content %}{% endblock %}
		</div>

		<script type="text/javascript" src="{% static 'localcosmos_server/js/django-ajax.js' %}"></script>
		<script src="{% static 'localcosmos_server/jquery-3.3.1.min.js' %}" type="text/javascript"></script>
		<script src="{% static 'localcosmos_server/bootstrap-4.3.1-dist/js/bootstrap.bundle.js' %}" type="text/javascript"></script>
		<script type="text/javascript" src="{% static 'localcosmos_server/js/django-ajax-csrf.js' %}"></script>
		<script type="text/javascript">
			
			$('form').submit(function(event) {
				$(this).find('button[type="submit"]').attr('disabled', true);
			});

			ajaxify('main-content');
		</script>
		{% block extra_script %}{% endblock %}
		{% block extra_js %}{% endblock %}
	</body>
</html>

