diff options
| author | 2021-11-12 08:57:36 +0100 | |
|---|---|---|
| committer | 2021-11-12 08:57:36 +0100 | |
| commit | 1ae5a5af147bca616497a53e94805362add21807 (patch) | |
| tree | 319e0f4d739d9135b94e01a0cd1a9a7420ba19e2 /app/layout/header.phtml | |
| parent | a29894610ba5021a998389e2d72b0756b564574a (diff) | |
Improve mobile view: access to the config menu (#3881)
* wip
* improve the header
* Fix theme "Adark"
* fixed theme: Ansum
* Fixed theme: BlueLagoon
* fixed Ansum after PR comment of Frenzie
* Fixed theme: Dark
* fixed theme: Flat
* fixed theme: Mapco
* fixed theme: Origine compact
* fixed theme: Pafat
* fixed theme: Screwdriver
* fixed theme: Swage
* hide the close button in wide view
* fixed base/template RTL
* fixed SCSS of theme Swage
* stylelint fix
* fixed theme Swage
* make fix-all
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/layout/header.phtml')
| -rw-r--r-- | app/layout/header.phtml | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/app/layout/header.phtml b/app/layout/header.phtml index 2c92b9a5c..e872a5918 100644 --- a/app/layout/header.phtml +++ b/app/layout/header.phtml @@ -1,17 +1,3 @@ -<?php - -if (FreshRSS_Auth::accessNeedsAction()) { - ?><ul class="nav nav-head nav-login"><?php - if (FreshRSS_Auth::hasAccess()) { - ?><li class="item"><?= _i('logout') ?> <a class="signout" href="<?= _url('auth', 'logout') ?>"><?php - echo _t('gen.auth.logout') . ' (' . htmlspecialchars(Minz_Session::param('currentUser', '_'), ENT_NOQUOTES, 'UTF-8') . ')'; ?></a></li><?php - } else { - ?><li class="item"><?= _i('login') ?> <a class="signin" href="<?= _url('auth', 'login') ?>"><?= _t('gen.auth.login') ?></a></li><?php - } - ?></ul><?php -} -?> - <header class="header"> <div class="item title"> <a href="<?= _url('index', 'index') ?>"> @@ -52,7 +38,8 @@ if (FreshRSS_Auth::accessNeedsAction()) { <div class="dropdown"> <div id="dropdown-configure" class="dropdown-target"></div> <a class="btn dropdown-toggle" href="#dropdown-configure"><?= _i('configure') ?></a> - <ul class="dropdown-menu"> + <ul class="dropdown-menu scrollbar-thin"> + <li class="dropdown-header-close"><a class="toggle_aside" href="#close"><?= _i('close') ?></a></li> <li class="dropdown-close"><a href="#close">❌</a></li> <li class="dropdown-header"><?= _t('gen.menu.account') ?>: <?= htmlspecialchars(Minz_Session::param('currentUser', '_'), ENT_NOQUOTES, 'UTF-8') ?></li> <li class="item"><a href="<?= _url('user', 'profile') ?>"><?= _t('gen.menu.user_profile') ?></a></li> |
