Use nav-pills for page sub navigation.

This commit is contained in:
Alex Tselegidis 2020-09-03 14:44:02 +03:00
parent 9b3502bf4a
commit e8e3ae8598
3 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@
</script>
<div class="container-fluid backend-page" id="services-page">
<ul class="nav nav-tabs" role="tablist">
<ul class="nav nav-pills" role="tablist">
<li role="presentation" class="nav-item"><a class="nav-link active" href="#services" aria-controls="services" role="tab" data-toggle="tab"><?= lang('services') ?></a></li>
<li role="presentation" class="nav-item"><a class="nav-link" href="#categories" aria-controls="categories" role="tab" data-toggle="tab"><?= lang('categories') ?></a></li>
</ul>

View file

@ -32,7 +32,7 @@
</script>
<div id="settings-page" class="container-fluid backend-page">
<ul class="nav nav-tabs" role="tablist">
<ul class="nav nav-pills" role="tablist">
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE): ?>
<li role="presentation" class="nav-item">
<a class="nav-link" href="#general" aria-controls="general" role="tab" data-toggle="tab"><?= lang('general') ?></a>

View file

@ -36,7 +36,7 @@
<div class="container-fluid backend-page" id="users-page">
<!-- PAGE NAVIGATION -->
<ul class="nav nav-tabs" role="tablist">
<ul class="nav nav-pills" role="tablist">
<li role="presentation" class="nav-item"><a class="nav-link active" href="#providers" aria-controls="providers" role="tab" data-toggle="tab"><?= lang('providers') ?></a></li>
<li role="presentation" class="nav-item"><a class="nav-link" href="#secretaries" aria-controls="secretaries" role="tab" data-toggle="tab"><?= lang('secretaries') ?></a></li>
<li role="presentation" class="nav-item"><a class="nav-link" href="#admins" aria-controls="admins" role="tab" data-toggle="tab"><?= lang('admins') ?></a></li>