aboutsummaryrefslogtreecommitdiff
path: root/templates/start/quickselection.php
diff options
context:
space:
mode:
authorPhilipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de>2024-09-24 10:53:31 +0200
committerPhilipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de>2024-09-24 10:53:31 +0200
commit4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch)
tree5c07151ae61276d334e88f6309c30d439a85c12e /templates/start/quickselection.php
parentda0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff)
parent97a188592c679890a25c37ab78463add76a52ff7 (diff)
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'templates/start/quickselection.php')
-rw-r--r--templates/start/quickselection.php29
1 files changed, 16 insertions, 13 deletions
diff --git a/templates/start/quickselection.php b/templates/start/quickselection.php
index e465d8d..bcf3fb3 100644
--- a/templates/start/quickselection.php
+++ b/templates/start/quickselection.php
@@ -1,28 +1,31 @@
<div id="quickSelectionWrap" style="padding: 1ex;">
<? foreach ($navigation as $nav) : ?>
<? if ($nav->isVisible()) : ?>
- <div class="mainmenu">
+ <ul class="mainmenu list-unstyled">
<? if (is_internal_url($url = $nav->getURL())) : ?>
- <a href="<?= URLHelper::getLink($url) ?>">
+ <li><a href="<?= URLHelper::getLink($url) ?>">
<? else : ?>
- <a href="<?= htmlReady($url) ?>" target="_blank" rel="noopener noreferrer">
+ <li><a href="<?= htmlReady($url) ?>" target="_blank" rel="noopener noreferrer">
<? endif ?>
- <?= htmlReady($nav->getTitle()) ?></a>
- <? $pos = 0 ?>
+ <?= htmlReady($nav->getTitle()) ?></a></li>
+
+ <li>
+ <ul class="list-slash-separated-small">
<? foreach ($nav as $subnav) : ?>
<? if ($subnav->isVisible()) : ?>
- <font size="-1">
- <?= $pos++ ? ' / ' : '<br>' ?>
+ <li>
<? if (is_internal_url($url = $subnav->getURL())) : ?>
- <a href="<?= URLHelper::getLink($url) ?>">
- <? else : ?>
+ <a href="<?= URLHelper::getLink($url) ?>">
+ <? else : ?>
<a href="<?= htmlReady($url) ?>" target="_blank" rel="noopener noreferrer">
- <? endif ?>
- <?= htmlReady($subnav->getTitle()) ?></a>
- </font>
+ <? endif ?>
+ <?= htmlReady($subnav->getTitle()) ?></a>
+ </li>
<? endif ?>
<? endforeach ?>
- </div>
+ </ul>
+ </li>
+ </ul>
<? endif ?>
<? endforeach ?>
</div>