Skip to content

Commit

Permalink
More different and more discreet button administration
Browse files Browse the repository at this point in the history
  • Loading branch information
wincelau committed Oct 10, 2024
1 parent d18fb83 commit 372da3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/components/navtab.html.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php if(!$disableOrganization): ?>
<?php if ($IS_ADMIN): ?>
<div class="position-absolute top-0 start-0 mt-2 ms-2">
<a class="btn btn-outline-secondary btn-sm <?php if($activeTab === 'admin'): ?>active<?php endif; ?>" href="<?php echo $REVERSE_PROXY_URL; ?>/administration"><i class="bi bi-wrench-adjustable"></i> <span class="d-none d-sm-inline-block"><?php echo _("Administration panel"); ?></span></a>
<a title="Button visible just for ip authorized" class="btn btn-outline-danger opacity-25 btn-sm <?php if($activeTab === 'admin'): ?>active<?php endif; ?>" href="<?php echo $REVERSE_PROXY_URL; ?>/administration"><i class="bi bi-wrench-adjustable"></i> <span class="d-none d-sm-inline-block"><?php echo _("Administration panel"); ?></span></a>
</div>
<?php endif; ?>
<div class="dropdown position-absolute top-0 end-0 mt-2 me-2">
Expand Down

0 comments on commit 372da3b

Please sign in to comment.