360fc9076e
Don't hide the active element, it annoying to use the navigation if the menu items changing there position with every click. Indicate the active menu item instead, similar to the header navigation. May I've worked to long with windows systems, but help and about have to be the last menu items :-). I've reorderd the menu items to what I think user need more often. A sub-navigation should not change its parent heading. Changed that as well.
36 lines
1.9 KiB
PHP
36 lines
1.9 KiB
PHP
<div class="page-header">
|
|
<h2><?= $title ?></h2>
|
|
<nav>
|
|
<ul>
|
|
<li><a href="?action=config"><?= t('general') ?></a></li>
|
|
<li><a href="?action=services"><?= t('external services') ?></a></li>
|
|
<li><a href="?action=api"><?= t('api') ?></a></li>
|
|
<li><a href="?action=database"><?= t('database') ?></a></li>
|
|
<li><a href="?action=help"><?= t('help') ?></a></li>
|
|
<li class="active"><a href="?action=about"><?= t('about') ?></a></li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
<section>
|
|
<div class="alert alert-normal">
|
|
<h3><?= t('Bookmarks') ?></h3>
|
|
<ul>
|
|
<li>
|
|
<a href="<?= Helper\get_current_base_url().'?action=bookmark-feed&token='.urlencode($config['feed_token']) ?>" target="_blank"><?= t('Bookmark RSS Feed') ?></a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="alert alert-normal">
|
|
<h3><?= t('Bookmarklet') ?></h3>
|
|
<a class="bookmarklet" href="javascript:location.href='<?= Helper\get_current_base_url() ?>?action=subscribe&token=<?= urlencode($config['bookmarklet_token']) ?>&url='+encodeURIComponent(location.href)"><?= t('Subscribe with Miniflux') ?></a> (<?= t('Drag and drop this link to your bookmarks') ?>)
|
|
<input type="text" class="auto-select" readonly="readonly" value="javascript:location.href='<?= Helper\get_current_base_url() ?>?action=subscribe&token=<?= urlencode($config['bookmarklet_token']) ?>&url='+encodeURIComponent(location.href)"/>
|
|
</div>
|
|
<div class="alert alert-normal">
|
|
<h3><?= t('About') ?></h3>
|
|
<ul>
|
|
<li><?= t('Miniflux version:') ?> <strong><?= APP_VERSION ?></strong></li>
|
|
<li><?= t('Official website:') ?> <a href="http://miniflux.net" rel="noreferrer" target="_blank">http://miniflux.net</a></li>
|
|
<li><a href="?action=console"><?= t('Console') ?></a></li>
|
|
</ul>
|
|
</div>
|
|
</section>
|