2014-07-20 12:26:15 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width">
|
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
2014-10-22 19:59:09 +02:00
|
|
|
<meta name="robots" content="noindex,nofollow">
|
2015-08-16 17:04:56 +02:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2014-10-22 19:59:09 +02:00
|
|
|
|
2014-11-23 20:13:38 +01:00
|
|
|
<?php if (isset($board_public_refresh_interval)): ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
<meta http-equiv="refresh" content="<?= $board_public_refresh_interval ?>">
|
2014-10-22 19:59:09 +02:00
|
|
|
<?php endif ?>
|
2014-07-20 12:26:15 +02:00
|
|
|
|
2014-10-22 19:59:09 +02:00
|
|
|
<?php if (! isset($not_editable)): ?>
|
2015-08-16 17:04:56 +02:00
|
|
|
<?= $this->asset->js('assets/js/app.js', true) ?>
|
2014-10-22 19:59:09 +02:00
|
|
|
<?php endif ?>
|
2014-07-20 12:26:15 +02:00
|
|
|
|
2015-08-16 17:04:56 +02:00
|
|
|
<?= $this->asset->colorCss() ?>
|
|
|
|
<?= $this->asset->css('assets/css/app.css') ?>
|
|
|
|
<?= $this->asset->css('assets/css/print.css', true, 'print') ?>
|
|
|
|
<?= $this->asset->customCss() ?>
|
2014-07-20 12:26:15 +02:00
|
|
|
|
2015-08-16 17:04:56 +02:00
|
|
|
<link rel="icon" type="image/png" href="<?= $this->url->dir() ?>assets/img/favicon.png">
|
|
|
|
<link rel="apple-touch-icon" href="<?= $this->url->dir() ?>assets/img/touch-icon-iphone.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="72x72" href="<?= $this->url->dir() ?>assets/img/touch-icon-ipad.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="114x114" href="<?= $this->url->dir() ?>assets/img/touch-icon-iphone-retina.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="144x144" href="<?= $this->url->dir() ?>assets/img/touch-icon-ipad-retina.png">
|
2014-07-20 12:26:15 +02:00
|
|
|
|
2015-01-16 14:23:05 +01:00
|
|
|
<title><?= isset($title) ? $this->e($title) : 'Kanboard' ?></title>
|
2014-07-20 12:26:15 +02:00
|
|
|
</head>
|
2015-08-16 17:04:56 +02:00
|
|
|
<body data-status-url="<?= $this->url->href('app', 'status') ?>"
|
|
|
|
data-login-url="<?= $this->url->href('auth', 'login') ?>"
|
|
|
|
data-timezone="<?= $this->app->getTimezone() ?>"
|
|
|
|
data-js-lang="<?= $this->app->jsLang() ?>">
|
2015-02-25 17:29:06 +01:00
|
|
|
|
2014-10-22 19:59:09 +02:00
|
|
|
<?php if (isset($no_layout) && $no_layout): ?>
|
2014-07-20 12:26:15 +02:00
|
|
|
<?= $content_for_layout ?>
|
|
|
|
<?php else: ?>
|
|
|
|
<header>
|
|
|
|
<nav>
|
2015-08-16 17:04:56 +02:00
|
|
|
<h1><?= $this->url->link('K<span>B</span>', 'app', 'index', array(), false, 'logo', t('Dashboard')).' '.$this->e($title) ?>
|
2015-04-21 17:56:16 +02:00
|
|
|
<?php if (! empty($description)): ?>
|
2015-08-16 17:04:56 +02:00
|
|
|
<span class="tooltip" title='<?= $this->e($this->text->markdown($description)) ?>'>
|
2015-04-21 17:56:16 +02:00
|
|
|
<i class="fa fa-info-circle"></i>
|
|
|
|
</span>
|
|
|
|
<?php endif ?>
|
|
|
|
</h1>
|
2014-07-20 12:26:15 +02:00
|
|
|
<ul>
|
2014-10-22 19:59:09 +02:00
|
|
|
<?php if (isset($board_selector) && ! empty($board_selector)): ?>
|
2014-07-20 12:26:15 +02:00
|
|
|
<li>
|
2015-08-16 17:04:56 +02:00
|
|
|
<select id="board-selector" tabindex="-1" data-notfound="<?= t('No results match:') ?>" data-placeholder="<?= t('Display another project') ?>" data-board-url="<?= $this->url->href('board', 'show', array('project_id' => 'PROJECT_ID')) ?>">
|
2014-07-20 12:26:15 +02:00
|
|
|
<option value=""></option>
|
|
|
|
<?php foreach($board_selector as $board_id => $board_name): ?>
|
2015-01-16 14:23:05 +01:00
|
|
|
<option value="<?= $board_id ?>"><?= $this->e($board_name) ?></option>
|
2014-07-20 12:26:15 +02:00
|
|
|
<?php endforeach ?>
|
|
|
|
</select>
|
|
|
|
</li>
|
|
|
|
<?php endif ?>
|
|
|
|
<li>
|
2015-08-16 17:04:56 +02:00
|
|
|
<?= $this->url->link(t('Logout'), 'auth', 'logout') ?>
|
|
|
|
<span class="username hide-tablet">(<?= $this->user->getProfileLink() ?>)</span>
|
2014-07-20 12:26:15 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
<section class="page">
|
2015-08-16 17:04:56 +02:00
|
|
|
<?= $this->app->flashMessage() ?>
|
2014-07-20 12:26:15 +02:00
|
|
|
<?= $content_for_layout ?>
|
2015-08-16 17:04:56 +02:00
|
|
|
</section>
|
2014-07-20 12:26:15 +02:00
|
|
|
<?php endif ?>
|
|
|
|
</body>
|
|
|
|
</html>
|