2013-02-18 03:48:21 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2014-02-28 12:17:09 +01:00
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
2014-11-08 02:53:50 +01:00
|
|
|
<link rel="icon" type="image/png" href="assets/img/favicon.png">
|
2013-04-23 04:42:12 +02:00
|
|
|
<link rel="shortcut icon" href="favicon.ico">
|
2014-11-08 02:53:50 +01: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">
|
2013-10-15 04:38:07 +02:00
|
|
|
<title>Miniflux</title>
|
2013-07-20 02:55:09 +02:00
|
|
|
<link href="<?= Helper\css() ?>" rel="stylesheet" media="screen">
|
2013-02-18 03:48:21 +01:00
|
|
|
</head>
|
2013-07-21 16:16:51 +02:00
|
|
|
<body id="login-page">
|
2014-11-08 18:55:30 +01:00
|
|
|
<section class="page" id="login">
|
2013-07-21 17:11:41 +02:00
|
|
|
<?php if (isset($errors['login'])): ?>
|
|
|
|
<p class="alert alert-error"><?= Helper\escape($errors['login']) ?></p>
|
|
|
|
<?php endif ?>
|
2013-02-18 03:48:21 +01:00
|
|
|
|
2014-11-08 18:55:30 +01:00
|
|
|
<form method="post" action="?action=login">
|
2013-02-18 03:48:21 +01:00
|
|
|
|
2014-11-08 03:44:20 +01:00
|
|
|
<?= Helper\form_hidden('csrf', $values) ?>
|
|
|
|
|
2013-07-21 17:11:41 +02:00
|
|
|
<?= Helper\form_label(t('Username'), 'username') ?>
|
|
|
|
<?= Helper\form_text('username', $values, $errors, array('autofocus', 'required')) ?><br/>
|
2013-02-18 03:48:21 +01:00
|
|
|
|
2013-07-21 17:11:41 +02:00
|
|
|
<?= Helper\form_label(t('Password'), 'password') ?>
|
|
|
|
<?= Helper\form_password('password', $values, $errors, array('required')) ?>
|
2013-02-18 03:48:21 +01:00
|
|
|
|
2014-05-27 02:47:40 +02:00
|
|
|
<?= Helper\form_checkbox('remember_me', t('Remember Me'), 1) ?><br/>
|
|
|
|
|
2015-01-18 00:53:40 +01:00
|
|
|
<?php if (ENABLE_MULTIPLE_DB && count($databases) > 1): ?>
|
|
|
|
<div id="database-selector">
|
|
|
|
<h4><?= t('Select another database') ?></h4>
|
2015-01-18 01:53:54 +01:00
|
|
|
<?php foreach ($databases as $filename => $dbname): ?>
|
|
|
|
<?= Helper\form_radio('database', $dbname, $filename, ($current_database === $filename)) ?>
|
|
|
|
<?php endforeach ?>
|
2015-01-18 00:53:40 +01:00
|
|
|
</div>
|
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
|
2013-07-21 17:11:41 +02:00
|
|
|
<div class="form-actions">
|
|
|
|
<input type="submit" value="<?= t('Sign in') ?>" class="btn btn-blue"/>
|
|
|
|
</div>
|
|
|
|
</form>
|
2014-04-06 02:24:13 +02:00
|
|
|
|
2013-07-21 17:11:41 +02:00
|
|
|
</section>
|
2013-02-18 03:48:21 +01:00
|
|
|
</body>
|
2014-02-28 12:17:09 +01:00
|
|
|
</html>
|