miniflux-legacy/miniflux/templates/login.php

40 lines
1.6 KiB
PHP
Raw Normal View History

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">
2013-04-23 04:42:12 +02:00
<link rel="icon" type="image/png" href="./assets/img/favicon.png">
<link rel="shortcut icon" href="favicon.ico">
<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-02-18 03:48:21 +01:00
<title>miniflux</title>
2013-04-23 04:42:12 +02:00
<link href="./assets/css/app.css?v<?= filemtime('assets/css/app.css') ?>" rel="stylesheet" media="screen">
2013-02-18 03:48:21 +01:00
</head>
<body>
<div class="page-header">
2013-04-13 03:08:55 +02:00
<h1><?= t('Sign in') ?></h1>
2013-02-18 03:48:21 +01:00
</div>
<?php if (isset($errors['login'])): ?>
<p class="alert alert-error"><?= Helper\escape($errors['login']) ?></p>
<?php endif ?>
<form method="post" action="?action=login">
2013-04-13 03:08:55 +02:00
<?= Helper\form_label(t('Username'), 'username') ?>
2013-02-18 03:48:21 +01:00
<?= Helper\form_text('username', $values, $errors, array('autofocus', 'required')) ?><br/>
2013-04-13 03:08:55 +02:00
<?= Helper\form_label(t('Password'), 'password') ?>
2013-02-18 03:48:21 +01:00
<?= Helper\form_password('password', $values, $errors, array('required')) ?>
<div class="form-actions">
2013-04-13 03:08:55 +02:00
<input type="submit" value="<?= t('Sign in') ?>" class="btn btn-blue"/>
2013-02-18 03:48:21 +01:00
</div>
</form>
</body>
</html>