2014-11-19 01:16:14 +01:00
|
|
|
<div class="page-header">
|
2016-10-02 04:24:33 +02:00
|
|
|
<h2><?php echo $title ?></h2>
|
2015-01-13 22:03:24 +01:00
|
|
|
<nav>
|
|
|
|
<ul>
|
2016-10-02 04:24:33 +02:00
|
|
|
<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>
|
2015-01-13 22:03:24 +01:00
|
|
|
</ul>
|
|
|
|
</nav>
|
2014-11-19 01:16:14 +01:00
|
|
|
</div>
|
|
|
|
<section>
|
2015-01-17 23:15:47 +01:00
|
|
|
<div class="panel panel-default">
|
2014-11-19 01:16:14 +01:00
|
|
|
<ul>
|
2016-10-02 04:24:33 +02:00
|
|
|
<li><?php echo t('Database size:') ?> <strong><?php echo Miniflux\Helper\format_bytes($db_size) ?></strong></li>
|
|
|
|
<li><a href="?action=optimize-db&csrf=<?php echo $csrf ?>"><?php echo t('Optimize the database') ?></a> <?php echo t('(VACUUM command)') ?></li>
|
|
|
|
<li><a href="?action=download-db&csrf=<?php echo $csrf ?>"><?php echo t('Download the entire database') ?></a> <?php echo t('(Gzip compressed Sqlite file)') ?></li>
|
2014-11-19 01:16:14 +01:00
|
|
|
</ul>
|
|
|
|
</div>
|
2016-08-25 03:17:58 +02:00
|
|
|
</section>
|