33 lines
1.1 KiB
PHP
33 lines
1.1 KiB
PHP
<div class="page-header">
|
|
<h2>Username and password</h2>
|
|
</div>
|
|
<section>
|
|
<form method="post" action="?action=config" autocomplete="off">
|
|
|
|
<?= Helper\form_label('Username', 'username') ?>
|
|
<?= Helper\form_text('username', $values, $errors, array('required')) ?><br/>
|
|
|
|
<?= Helper\form_label('Password', 'password') ?>
|
|
<?= Helper\form_password('password', $values, $errors) ?><br/>
|
|
|
|
<?= Helper\form_label('Confirmation', 'confirmation') ?>
|
|
<?= Helper\form_password('confirmation', $values, $errors) ?><br/>
|
|
<span class="form-help">Don't use the same password everywhere!</span><br/>
|
|
|
|
<div class="form-actions">
|
|
<input type="submit" value="Update" class="btn btn-blue"/>
|
|
</div>
|
|
</form>
|
|
</section>
|
|
|
|
<div class="page-section">
|
|
<h2>My data</h2>
|
|
</div>
|
|
<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>
|