Added warning triangle in topbar when 2fa disabled
This commit is contained in:
@@ -47,7 +47,7 @@ if ($twofa == 0) {
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
|
||||
<div class="card">
|
||||
<div class="card bg-light">
|
||||
<div class="card-body">
|
||||
<h4 class="header-title mb-2">Allgemeine Daten</h4>
|
||||
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
<div class="page-title-box">
|
||||
<div class="page-title-right">
|
||||
<ol class="breadcrumb m-0">
|
||||
<li class="breadcrumb-item"><a href="<?= self::getUrl("Dashboard") ?>"><?= MFAPPNAME_SLUG ?></a>
|
||||
</li>
|
||||
<li class="breadcrumb-item"><a href="<?= self::getUrl("Dashboard") ?>"><?= MFAPPNAME_SLUG ?></a></li>
|
||||
<li class="breadcrumb-item active">Benutzerprofil</li>
|
||||
</ol>
|
||||
</div>
|
||||
<h4 class="page-title">Benutzerprofil</h4>
|
||||
@@ -66,7 +66,7 @@ if ($userprofile->twofactor == 0) {
|
||||
<i class="bi bi-exclamation-triangle"></i>
|
||||
<div class="row">
|
||||
<div class="col-lg">
|
||||
<div class="card">
|
||||
<div class="card bg-light">
|
||||
<div class="card-body">
|
||||
<h4 class=" mb-2">Allgemeine Daten</h4>
|
||||
<div class="card">
|
||||
|
||||
@@ -26,7 +26,12 @@
|
||||
<a class="nav-link nav-user mr-0" href="<?=self::getUrl("UserProfile")?>">
|
||||
<!-- <img src="<?=self::getResourcePath()?>assets/images/users/avatar-4.jpg" alt="user-image" class="rounded-circle"> -->
|
||||
<!-- <i style="font-size: 24px; border-radius: 50%;" class="fas fa-user-secret text-white img-circle bg-info"></i>-->
|
||||
<i class="fa-sharp fa-light fa-gear text-white img-circle font-15 "></i>
|
||||
<?php if(!$me->twofactor): ?>
|
||||
<i class="fas fa-exclamation-triangle text-warning" title="Zwei-Faktor-Authentifizierung (2FA) nicht aktiviert!"></i>
|
||||
<?php else: ?>
|
||||
<i class="fa-sharp fa-light fa-gear text-white img-circle font-15 "></i>
|
||||
<?php endif; ?>
|
||||
|
||||
<span class="pro-user-name ml-1">
|
||||
<?=$me->username?>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user