diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-10-04 23:31:03 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-10-04 23:31:03 -0400 |
commit | 8e5673e3d289e4d28b4fc9f20721bda9f1c858c7 (patch) | |
tree | a5dc3eff7408e8709d20ea92b926c5424d70c5f9 /app/Templates/config_about.php | |
parent | f531d57dc27b9d1568de0a10b19f69e8c2b2f156 (diff) |
Improve settings page and move some config parameters to the database
Diffstat (limited to 'app/Templates/config_about.php')
-rw-r--r-- | app/Templates/config_about.php | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app/Templates/config_about.php b/app/Templates/config_about.php new file mode 100644 index 00000000..3f34f802 --- /dev/null +++ b/app/Templates/config_about.php @@ -0,0 +1,41 @@ +<div class="page-header"> + <h2><?= t('About') ?></h2> +</div> +<section class="listing"> + <ul> + <li> + <?= t('Official website:') ?> + <a href="http://kanboard.net/" target="_blank" rel="noreferer">http://kanboard.net/</a> + </li> + <li> + <?= t('Application version:') ?> + <strong><?= APP_VERSION ?></strong> + </li> + </ul> +</section> + +<div class="page-header"> + <h2><?= t('Database') ?></h2> +</div> +<section class="listing"> + <ul> + <li> + <?= t('Database driver:') ?> + <strong><?= Helper\escape(DB_DRIVER) ?></strong> + </li> + <?php if (DB_DRIVER === 'sqlite'): ?> + <li> + <?= t('Database size:') ?> + <strong><?= Helper\format_bytes($db_size) ?></strong> + </li> + <li> + <?= Helper\a(t('Download the database'), 'config', 'downloadDb', array(), true) ?> + <?= t('(Gzip compressed Sqlite file)') ?> + </li> + <li> + <?= Helper\a(t('Optimize the database'), 'config', 'optimizeDb', array(), true) ?> + <?= t('(VACUUM command)') ?> + </li> + <?php endif ?> + </ul> +</section>
\ No newline at end of file |