2014-11-09 22:49:07 +01:00
|
|
|
<!doctype html>
|
|
|
|
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
|
|
|
|
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
|
|
|
|
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
|
|
|
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="<?= $locale ?>"> <!--<![endif]-->
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
2014-11-09 23:49:06 +01:00
|
|
|
<title>Wifi Hotspot <? echo (isset($title)) ? "| ".$title : "" ?></title>
|
2014-11-09 22:49:07 +01:00
|
|
|
<meta name="viewport" content="width=device-width">
|
|
|
|
<link media="all" type="text/css" href="<?= PUBLIC_DIR ?>/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<link media="all" type="text/css" href="<?= PUBLIC_DIR ?>/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet">
|
2014-11-09 23:49:06 +01:00
|
|
|
<link media="all" type="text/css" href="<?= PUBLIC_DIR ?>/css/bootstrap-toggle.min.css" rel="stylesheet">
|
2014-11-09 22:49:07 +01:00
|
|
|
<link media="all" type="text/css" href="<?= PUBLIC_DIR ?>/css/style.css" rel="stylesheet">
|
|
|
|
<script src="<?= PUBLIC_DIR ?>/jquery/jquery-2.1.1.min.js"></script>
|
|
|
|
<script src="<?= PUBLIC_DIR ?>/bootstrap/js/bootstrap.min.js"></script>
|
2014-11-09 23:49:06 +01:00
|
|
|
<script src="<?= PUBLIC_DIR ?>/js/bootstrap-toggle.min.js"></script>
|
2014-11-09 22:49:07 +01:00
|
|
|
<script src="<?= PUBLIC_DIR ?>/js/custom.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="container">
|
2014-11-18 21:26:05 +01:00
|
|
|
<? if(isset($flash['error'])): ?>
|
2014-11-09 22:49:07 +01:00
|
|
|
<div class="alert alert-dismissible alert-danger fade in" style="margin-top: 20px" role="alert">
|
|
|
|
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
|
|
|
<strong><?= T_('Error') ?>:</strong> <?= $flash['error'] ?>
|
|
|
|
</div>
|
2014-11-18 21:26:05 +01:00
|
|
|
<? elseif(isset($flash['notice'])): ?>
|
2014-11-09 22:49:07 +01:00
|
|
|
<div class="alert alert-dismissible alert-info fade in" style="margin-top: 20px" role="alert">
|
|
|
|
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
|
|
|
<strong><?= T_('Notice') ?>:</strong> <?= $flash['notice'] ?>
|
|
|
|
</div>
|
2014-11-18 21:26:05 +01:00
|
|
|
<? elseif(isset($flash['success'])): ?>
|
2014-11-09 22:49:07 +01:00
|
|
|
<div class="alert alert-dismissible alert-success fade in" style="margin-top: 20px" role="alert">
|
|
|
|
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
|
|
|
<?= $flash['success'] ?>
|
|
|
|
</div>
|
2014-11-18 21:26:05 +01:00
|
|
|
<? endif; ?>
|
2014-11-09 22:49:07 +01:00
|
|
|
|
|
|
|
<?= $content?>
|
2014-11-18 21:26:05 +01:00
|
|
|
|
|
|
|
<hr />
|
|
|
|
<div id="github"><a href="https://github.com/jvaubourg/hotspot_ynh"><?= T_('Any problem? Contribute!') ?></a> - AGPL 3.0</div>
|
|
|
|
</div>
|
2014-11-09 22:49:07 +01:00
|
|
|
</body>
|
|
|
|
</html>
|