
Originally motivated by fixing #263 (add a mod list), the root cause of which was that we had a number of orphaned pages, one being the admins list. In the upstream, we moved links to a number of infrequently-accessed pages to a secondary nav in the sidebar. This commit implements a similar approach to provide links to the admin list and modlog. To make the nav less visually unbalanced, Random Post/User were also moved out of the header. To provide mobile support, this secondary nav is presented in the hamburger menu. This also provides a place to link /rules, which otherwise has no link on mobile (that I can readily find). Finally, the original intent of providing a mod list motivates some style changes to admins.html to get rid of visible truescore, make names appear consistently with names elsewhere, and ensure links to leaderboard aren't accidentally leaked.
7 lines
1 KiB
HTML
7 lines
1 KiB
HTML
<nav id="navigation-secondary" class="text-center text-md">
|
|
<a class="navigation-secondary-link d-md-none" href="/rules" data-bs-toggle="tooltip" data-bs-placement="top" title="Rules"><i class="fas fa-scale-balanced"></i><span class="d-md-none">Rules</span></a>
|
|
<a class="navigation-secondary-link" href="/admins" data-bs-toggle="tooltip" data-bs-placement="top" title="Admins"><i class="fas fa-crown"></i><span class="d-md-none">Admins</span></a>
|
|
<a class="navigation-secondary-link" href="/log" data-bs-toggle="tooltip" data-bs-placement="top" title="Moderation Log"><i class="fas fa-scroll-old"></i><span class="d-md-none">Moderation Log</span></a>
|
|
<a class="navigation-secondary-link" href="/random_post" data-bs-toggle="tooltip" data-bs-placement="top" title="Random Post"><i class="fas fa-random"></i><span class="d-md-none">Random Post</span></a>
|
|
<a class="navigation-secondary-link" href="/random_user" data-bs-toggle="tooltip" data-bs-placement="top" title="Random User"><i class="fas fa-user-circle"></i><span class="d-md-none">Random User</span></a>
|
|
</nav>
|