Try to do a better preferences page

This commit is contained in:
Frederic Guillot 2013-04-03 21:18:30 -04:00
parent b1bd421272
commit d020b9f2d9

View File

@ -1,5 +1,5 @@
<div class="page-header"> <div class="page-header">
<h2>Username and password</h2> <h2>Change username and password</h2>
</div> </div>
<section> <section>
<form method="post" action="?action=config" autocomplete="off"> <form method="post" action="?action=config" autocomplete="off">
@ -21,24 +21,18 @@
</section> </section>
<div class="page-section"> <div class="page-section">
<h2>My data</h2> <h2>More informations</h2>
</div> </div>
<section> <section>
<div class="alert alert-normal"> <div class="alert alert-normal">
<h3>Database</h3> <h3>Database</h3>
<ul> <ul>
<li>Database size: <?= Helper\format_bytes($db_size) ?></li> <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=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> <li><a href="?action=download-db">Download the entire database</a> (Gzip compressed Sqlite file).</li>
</ul> </ul>
</div> </div>
</section> <div class="alert alert-normal">
<div class="page-section">
<h2>Help</h2>
</div>
<section>
<div class="alert">
<h3>Keyboard shortcuts</h3> <h3>Keyboard shortcuts</h3>
<ul> <ul>
<li>Previous item = <strong>p</strong></li> <li>Previous item = <strong>p</strong></li>
@ -47,11 +41,11 @@
<li>Open original link = <strong>v</strong></li> <li>Open original link = <strong>v</strong></li>
<li>Open item = <strong>o</strong></li> <li>Open item = <strong>o</strong></li>
</ul> </ul>
</div> </div>
<div class="alert alert-info"> <div class="alert alert-normal">
<h3>About</h3> <h3>About</h3>
<ul> <ul>
<li>Miniflux version: <strong><?= APP_VERSION ?></strong></li> <li>Miniflux version: <strong><?= APP_VERSION ?></strong></li>
</ul> </ul>
</div> </div>
</section> </section>