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,37 +21,31 @@
</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">
<h3>Keyboard shortcuts</h3>
<div class="page-section"> <ul>
<h2>Help</h2> <li>Previous item = <strong>p</strong></li>
</div> <li>Next item = <strong>n</strong></li>
<section> <li>Mark as read or unread = <strong>m</strong></li>
<div class="alert"> <li>Open original link = <strong>v</strong></li>
<h3>Keyboard shortcuts</h3> <li>Open item = <strong>o</strong></li>
<ul> </ul>
<li>Previous item = <strong>p</strong></li> </div>
<li>Next item = <strong>n</strong></li> <div class="alert alert-normal">
<li>Mark as read or unread = <strong>m</strong></li> <h3>About</h3>
<li>Open original link = <strong>v</strong></li> <ul>
<li>Open item = <strong>o</strong></li> <li>Miniflux version: <strong><?= APP_VERSION ?></strong></li>
</ul> </ul>
</div> </div>
<div class="alert alert-info">
<h3>About</h3>
<ul>
<li>Miniflux version: <strong><?= APP_VERSION ?></strong></li>
</ul>
</div>
</section> </section>