diff --git a/css/tools.less b/css/tools.less index a2a905e..0c37755 100644 --- a/css/tools.less +++ b/css/tools.less @@ -28,13 +28,38 @@ So, navbar too, and breadcrumbs. /*____________ Usertools ____________*/ /* Link to Connexion, userpage, administration, profil */ -.dokuwiki__tools ul, { +.dokuwiki__tools ul { margin: 0 auto; padding: 0; color: @ini_link; } +.dokuwiki__tools { + li { + list-style: none; + margin: 0; + } + li a { + display: flex; + flex-direction: row-reverse; + justify-content: end; + + span { + margin-left: 3px; + } + } + + .user { + display: flex; + span { + margin-right: 0.3em; + margin-bottom: 0.5em; + } + } +} + + /* highlight selected tool */ .mode_admin a.action.admin, .mode_login a.action.login, @@ -104,4 +129,4 @@ form.search { max-width : 1.5em; } -} \ No newline at end of file +} diff --git a/main.php b/main.php index 9908457..7c737b6 100644 --- a/main.php +++ b/main.php @@ -177,62 +177,42 @@ $showSidebar = $hasSidebar && ($ACT=='show');
-

- + + getItems() as $item ) { + if ( ! preg_match('/^childrenpages_/', $item->getType()) ) { + echo '
  • '.$item->asHtmlLink(false, true).'
  • '; + } + } + ?>

    + getListItems(); ?> +
    + -

    + + getListItems(); ?> + +