<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
		<title>Empigraf</title>
		<link href="{url mode="root"}theme/empigraf/bootstrap-4/dist/css/bootstrap.min.css" rel="stylesheet">
		<link href="{url mode="root"}theme/empigraf/style/starter-template.css" rel="stylesheet">
		<link href="{url mode="root"}theme/empigraf/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet">
		<link href="{url mode="root"}theme/empigraf/scripts/jquery-ui-1.12.1/jquery-ui.min.css" rel="stylesheet">
		<style>
			body { overflow-y: scroll; }
			.card.active { border: 1px solid blue; }
			.card.activee { border: 1px solid blue; }
		</style>
	</head>
	<body>
		<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
			<a class="navbar-brand" href="{url mode="root"}">Empigraf</a>
			<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault" aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
			<div class="collapse navbar-collapse" id="navbarsExampleDefault">
				<ul class="navbar-nav mr-auto">
					<li class="nav-item"><a class="nav-link" href="{url controller="index"}">Strona główna</a></li>
					<li class="nav-item"><a class="nav-link" href="{url controller="prezentacje"}">Prezentacje</a></li>
					<li class="nav-item"><a class="nav-link" href="{url controller="wyloguj"}">Wyloguj się</a></li>
				</ul>
			</div>
		</nav>
		<div class="container-fluid">
			{if count($_FLASH_MESSAGES)>0}
				<div class="row">
					<div class="col-12">
						{foreach from=$_FLASH_MESSAGES item=message}
							{assign var="type_class" value="alert-success"}
							{if $message.type == 2}
								{assign var="type_class" value="alert-warning"}
							{else if $message.type == 3}
								{assign var="type_class" value="alert-danger"}
							{/if}
							<div class="alert {$type_class}" role="alert">
								<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
								{$message.message}
							</div>
						{/foreach}
					</div>
				</div>
			{/if}
			{block name=body}{/block}
		</div>
		<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
		<script>window.jQuery || document.write('<script src="{url mode="root"}theme/empigraf/bootstrap-4/assets/js/vendor/jquery.min.js"><\/script>')</script>
		<script src="{url mode="root"}theme/empigraf/bootstrap-4/assets/js/vendor/popper.min.js"></script>
		<script src="{url mode="root"}theme/empigraf/bootstrap-4/dist/js/bootstrap.min.js"></script>
		<script src="{url mode="root"}theme/empigraf/bootstrap-4/assets/js/ie10-viewport-bug-workaround.js"></script>
		<script src="{url mode="root"}public/scripts/jquery-ui-1.12.1/jquery-ui.min.js"></script>
		<script src="{url mode="root"}public/scripts/html2canvas.min.js"></script>
		{block name=scripts}{/block}
	</body>
</html>