2013-02-18 03:48:21 +01:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
2014-10-20 01:22:22 +02:00
|
|
|
|
<title><?= isset($title) ? Helper\escape($title) : t('Miniflux') ?></title>
|
2014-05-18 16:40:59 +02:00
|
|
|
|
|
2013-05-01 03:52:43 +02:00
|
|
|
|
<meta name="viewport" content="width=device-width">
|
2014-02-28 12:18:43 +01:00
|
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
2014-05-18 16:40:59 +02:00
|
|
|
|
|
2013-10-06 23:33:37 +02:00
|
|
|
|
<link rel="icon" type="image/png" href="assets/img/favicon.png">
|
2013-04-07 05:29:24 +02:00
|
|
|
|
<link rel="shortcut icon" href="favicon.ico">
|
2013-10-06 23:33:37 +02:00
|
|
|
|
<link rel="apple-touch-icon" href="assets/img/touch-icon-iphone.png">
|
|
|
|
|
<link rel="apple-touch-icon" sizes="72x72" href="assets/img/touch-icon-ipad.png">
|
|
|
|
|
<link rel="apple-touch-icon" sizes="114x114" href="assets/img/touch-icon-iphone-retina.png">
|
|
|
|
|
<link rel="apple-touch-icon" sizes="144x144" href="assets/img/touch-icon-ipad-retina.png">
|
2014-05-18 16:40:59 +02:00
|
|
|
|
|
2013-07-17 03:58:11 +02:00
|
|
|
|
<link href="<?= Helper\css() ?>" rel="stylesheet" media="screen">
|
2014-02-08 20:13:14 +01:00
|
|
|
|
<script type="text/javascript" src="assets/js/all.min.js?<?= filemtime('assets/js/all.min.js') ?>" defer></script>
|
2013-02-18 03:48:21 +01:00
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<header>
|
|
|
|
|
<nav>
|
2014-10-20 01:22:22 +02:00
|
|
|
|
<a class="logo" href="?"><?= tne('mini<span>flux</span>') ?></a>
|
2013-02-18 03:48:21 +01:00
|
|
|
|
<ul>
|
2013-06-15 02:37:45 +02:00
|
|
|
|
<li <?= isset($menu) && $menu === 'unread' ? 'class="active"' : '' ?>>
|
2014-11-15 14:32:31 +01:00
|
|
|
|
<a href="?action=unread"><?= t('unread') ?><span id="nav-counter"><?= empty($nb_unread_items) ? '' : $nb_unread_items ?></span></a>
|
2013-06-15 02:37:45 +02:00
|
|
|
|
</li>
|
2014-02-05 03:47:59 +01:00
|
|
|
|
<li class="<?= isset($menu) && $menu === 'bookmarks' ? 'active hide-mobile' : 'hide-mobile' ?>">
|
2013-06-15 05:12:08 +02:00
|
|
|
|
<a href="?action=bookmarks"><?= t('bookmarks') ?></a>
|
|
|
|
|
</li>
|
2014-02-05 03:47:59 +01:00
|
|
|
|
<li class="<?= isset($menu) && $menu === 'history' ? 'active hide-mobile' : 'hide-mobile' ?>">
|
2013-06-15 02:37:45 +02:00
|
|
|
|
<a href="?action=history"><?= t('history') ?></a>
|
|
|
|
|
</li>
|
2014-02-05 03:47:59 +01:00
|
|
|
|
<li class="<?= isset($menu) && $menu === 'feeds' ? 'active hide-mobile' : 'hide-mobile' ?>">
|
2013-06-15 02:37:45 +02:00
|
|
|
|
<a href="?action=feeds"><?= t('subscriptions') ?></a>
|
|
|
|
|
</li>
|
2014-02-05 03:47:59 +01:00
|
|
|
|
<li class="<?= isset($menu) && $menu === 'config' ? 'active hide-mobile' : 'hide-mobile' ?>">
|
2013-06-15 02:37:45 +02:00
|
|
|
|
<a href="?action=config"><?= t('preferences') ?></a>
|
|
|
|
|
</li>
|
2014-02-05 03:47:59 +01:00
|
|
|
|
<li class="hide-mobile">
|
2013-06-15 02:37:45 +02:00
|
|
|
|
<a href="?action=logout"><?= t('logout') ?></a>
|
|
|
|
|
</li>
|
2014-02-05 03:47:59 +01:00
|
|
|
|
<li class="<?= isset($menu) && $menu === 'more' ? 'active hide-desktop' : 'hide-desktop' ?>">
|
2014-11-14 18:48:27 +01:00
|
|
|
|
<a href="?action=more">∨ <?= t('menu') ?></a>
|
2014-02-05 03:47:59 +01:00
|
|
|
|
</li>
|
2013-02-18 03:48:21 +01:00
|
|
|
|
</ul>
|
|
|
|
|
</nav>
|
|
|
|
|
</header>
|
2014-12-04 12:08:17 +01:00
|
|
|
|
<section class="page" data-item-page="<?= $menu ?>">
|
2013-02-18 03:48:21 +01:00
|
|
|
|
<?= Helper\flash('<div class="alert alert-success">%s</div>') ?>
|
2013-10-06 23:33:37 +02:00
|
|
|
|
<?= Helper\flash_error('<div class="alert alert-error">%s</div>') ?>
|
|
|
|
|
<?= $content_for_layout ?>
|
|
|
|
|
</section>
|
|
|
|
|
</body>
|
2014-02-28 12:18:43 +01:00
|
|
|
|
</html>
|