miniflux-legacy/miniflux/templates/config.php

33 lines
1.1 KiB
PHP
Raw Normal View History

2013-02-18 03:48:21 +01:00
<div class="page-header">
2013-03-27 02:54:26 +01:00
<h2>Username and password</h2>
2013-02-18 03:48:21 +01:00
</div>
2013-03-27 02:54:26 +01:00
<section>
<form method="post" action="?action=config" autocomplete="off">
2013-02-18 03:48:21 +01:00
2013-03-20 05:21:20 +01:00
<?= Helper\form_label('Username', 'username') ?>
2013-02-18 03:48:21 +01:00
<?= Helper\form_text('username', $values, $errors, array('required')) ?><br/>
2013-03-20 05:21:20 +01:00
<?= Helper\form_label('Password', 'password') ?>
2013-03-27 02:54:26 +01:00
<?= Helper\form_password('password', $values, $errors) ?><br/>
2013-02-18 03:48:21 +01:00
2013-03-20 05:21:20 +01:00
<?= Helper\form_label('Confirmation', 'confirmation') ?>
2013-02-18 03:48:21 +01:00
<?= Helper\form_password('confirmation', $values, $errors) ?><br/>
2013-03-27 02:54:26 +01:00
<span class="form-help">Don't use the same password everywhere!</span><br/>
2013-02-18 03:48:21 +01:00
<div class="form-actions">
<input type="submit" value="Update" class="btn btn-blue"/>
</div>
</form>
2013-03-27 02:54:26 +01:00
</section>
<div class="page-section">
<h2>My data</h2>
</div>
2013-03-27 02:54:26 +01:00
<section>
<ul>
<li>Database size: <?= Helper\format_bytes($db_size) ?></li>
<li><a href="?action=optimize-db">Optimize the database</a> (VACUUM command)</li>
<li><a href="?action=download-db">Download the entire database</a> (Gzip compressed Sqlite file).</li>
</ul>
</section>