Small CSS/HTML fixes
This commit is contained in:
parent
fed9b56d11
commit
1beeb011a0
|
@ -20,7 +20,7 @@ body {
|
||||||
margin-right: 0.5em
|
margin-right: 0.5em
|
||||||
}
|
}
|
||||||
|
|
||||||
.language-switcher .dropdown-item {
|
.dropdown-menu .dropdown-item {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -85,20 +85,22 @@ $navActiveIndex = isset($navActiveIndex) ? (int) $navActiveIndex : 0;
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="navbar-nav ml-md-auto">
|
<ul class="navbar-nav ml-md-auto">
|
||||||
<li class="nav-item">
|
|
||||||
{if $auth::isLoggedIn()}
|
{if $auth::isLoggedIn()}
|
||||||
<li class="nav-item dropdown">
|
<li class="nav-item dropdown">
|
||||||
<a class="nav-link login-button text-truncate dropdown-toggle" href="#" id="navbarDropdownUser" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
<a class="nav-link login-button text-truncate dropdown-toggle" href="#" id="navbarDropdownUser" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
<i class="fas fa-user"></i>{$auth::getNickname()}
|
<i class="fas fa-user"></i>{$auth::getNickname()}
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-menu language-switcher" aria-labelledby="navbarDropdownUser">
|
<div class="dropdown-menu" aria-labelledby="navbarDropdownUser">
|
||||||
<button class="dropdown-item logoutUser"><i class="fas fa-sign-out-alt"></i>{_"NAV_ACCOUNT_LOGOUT"}</button>
|
<button class="dropdown-item logoutUser"><i class="fas fa-sign-out-alt"></i>{_"NAV_ACCOUNT_LOGOUT"}</button>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{else}
|
{else}
|
||||||
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="#" data-openLoginModal><i class="fas fa-sign-in-alt"></i>{_"NAV_ACCOUNT_LOGIN"}</a>
|
<a class="nav-link" href="#" data-openLoginModal><i class="fas fa-sign-in-alt"></i>{_"NAV_ACCOUNT_LOGIN"}</a>
|
||||||
{/if}
|
|
||||||
</li>
|
</li>
|
||||||
|
{/if}
|
||||||
|
|
||||||
<li class="nav-item dropdown">
|
<li class="nav-item dropdown">
|
||||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownLanguageChooser" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownLanguageChooser" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
<i class="fas fa-language"></i>{$userLanguage->getLanguageNameNative()}
|
<i class="fas fa-language"></i>{$userLanguage->getLanguageNameNative()}
|
||||||
|
@ -107,7 +109,7 @@ $navActiveIndex = isset($navActiveIndex) ? (int) $navActiveIndex : 0;
|
||||||
{$csrfField}
|
{$csrfField}
|
||||||
<input type="hidden" name="return-to" value="{$_SERVER['PHP_SELF']}">
|
<input type="hidden" name="return-to" value="{$_SERVER['PHP_SELF']}">
|
||||||
|
|
||||||
<div class="dropdown-menu language-switcher" aria-labelledby="navbarDropdownLanguageChooser">
|
<div class="dropdown-menu" aria-labelledby="navbarDropdownLanguageChooser">
|
||||||
<button name="lang" class="dropdown-item{if $lang->getLanguageCode() === $userlangcode} active{/if}"
|
<button name="lang" class="dropdown-item{if $lang->getLanguageCode() === $userlangcode} active{/if}"
|
||||||
n:foreach="$languageList as $lang"
|
n:foreach="$languageList as $lang"
|
||||||
n:attr="value => $lang->getLanguageCode(), title => $lang->getLanguageNameEnglish()">
|
n:attr="value => $lang->getLanguageCode(), title => $lang->getLanguageNameEnglish()">
|
||||||
|
|
|
@ -77,10 +77,10 @@
|
||||||
<div class="input-group-append">
|
<div class="input-group-append">
|
||||||
<button class="btn btn-secondary">Send</button>
|
<button class="btn btn-secondary">Send</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="invalid-feedback">
|
<div class="invalid-feedback">
|
||||||
Invalid confirmation code, try again.
|
Invalid confirmation code, try again.
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue