miniflux-legacy/app/templates/database.php
Frederic Guillot 82df35a59b Change the database structure to have a single database
This is a major change for the next release of Miniflux.

- There is now only one database that can supports multiple users
- There is no automated schema migration for this release
- A migration procedure is available in the ChangeLog file
2016-12-26 09:51:38 -05:00

23 lines
1.1 KiB
PHP

<div class="page-header">
<h2><?php echo $title ?></h2>
<nav>
<ul>
<li><a href="?action=config"><?php echo t('general') ?></a></li>
<li><a href="?action=services"><?php echo t('external services') ?></a></li>
<li><a href="?action=api"><?php echo t('api') ?></a></li>
<li class="active"><a href="?action=database"><?php echo t('database') ?></a></li>
<li><a href="?action=help"><?php echo t('help') ?></a></li>
<li><a href="?action=about"><?php echo t('about') ?></a></li>
</ul>
</nav>
</div>
<section>
<div class="panel panel-default">
<ul>
<li><?php echo t('Database size:') ?> <strong><?php echo Miniflux\Helper\format_bytes($db_size) ?></strong></li>
<li><a href="?action=optimize-db&amp;csrf=<?php echo $csrf ?>"><?php echo t('Optimize the database') ?></a> <?php echo t('(VACUUM command)') ?></li>
<li><a href="?action=download-db&amp;csrf=<?php echo $csrf ?>"><?php echo t('Download the entire database') ?></a> <?php echo t('(Gzip compressed Sqlite file)') ?></li>
</ul>
</div>
</section>