My Spuerkeess main frame

No menu

Please add the class "-noMenu" to the frame element

Centered Content

When no menu, add the class "-centeredContent" to the frame element in order to vertically center any content in the panel content zone.

Toggle menu overlay

When the collapsed menu is opened, the "sds-snetFrame" gets the "-hasMenuOpen" class.

BFM theme

Add the class "bfm-theme" to the body element.

Tooltips

Deactivate tooltip hints when sidebar navigation is not in collapsed state.

Tooltips should not show when on a touch device. Hint on how to achieve this: here

<div class="sds-snetFrame -hasTimer">
    <a href="#frameMain" class="sds-skipNavLink">
        Skip to content
    </a>

    <header class="sds-navTopbar sds-snetFrame__header">
        <div class="sds-navTopbar__container">
            <nav class="sds-navTopbar__inner navbar navbar-expand">
                <div class="sds-navTopbar__alignToMainContent">
                    <a class="sds-navTopbar__logo navbar-brand" href="#">
                        <img src="../../media/logos/logo-bcee.svg" class="img-fluid" alt="">
                    </a>
                </div>
                <div class="sds-navTopbar__meta sds-textHelper">
                    <span>My Spuerkeess</span>
                    <span class="sds-navTopbar__metaTime">Mercredi, 23. Octobre・10:54</span>
                </div>
                <div class="sds-navTopbar__collapse navbar-collapse" id="sds-navTopbar__collapse">
                    <ul class="sds-navTopbar__content navbar-nav">

                        <li class="sds-navTopbar__item">
                            <button type="button" class="sds-btn -iconBtn -secondary100 sds-navTopbar__icon">

                                <span class="sds-icon sds-icon-speechbubble"></span>

                            </button>
                            <span class="sds-navTopbar__itemLabel sds-textHelper">Aide</span>
                        </li>

                        <li class="sds-navTopbar__item dropdown">

                            <span class="sds-navTopbar__dropdownToggle -avatar -transparent -noInteraction">

                                <div class="sds-avatar centeredBgi sds-navTopbar__userDropdownAvatar">

                                    <img class="img-fluid" src="../../media/snet/avatars/nopic/avatarNoPicWoman.svg" alt="">

                                </div>
                                <span class="sds-navTopbar__userDropdownLabel sds-textHelper">Label With Name</span>
                            </span>

                        </li>

                        <li class="sds-navTopbar__item">
                            <button type="button" class="sds-btn -iconBtn -secondary100 sds-navTopbar__icon">

                                <span class="sds-icon sds-icon-logout"></span>

                            </button>
                        </li>
                    </ul>
                </div>
            </nav>
        </div>
    </header>

    <div class="sds-snetFrame__inner">
        <div class="sds-snetFrame__fader" aria-hidden="true"></div>

        <div class="sds-snetFrame__menuContainer">
            <nav class="sds-snetFrame__menu">

                <div class="sds-snetFrame__menuList">

                    <ul class="sds-snetFrame__menuListInner list-unstyled">

                        <li class="sds-snetFrame__menuItem -isSeparator">
                            <button type="button" data-toggle="dropdown" id="mspShortCutMenu" data-boundary="viewport" data-reference="parent" class="sds-snetFrame__menuLink">

                                <span data-toggle="tooltip" data-title="Nouvelle Demande" data-placement="right" data-boundary="window">

                                    <span class="sds-iconCircle -successG" aria-hidden="true">

                                        <span class="sds-icon sds-icon-plus"></span>

                                    </span>

                                </span>

                                <span class="sds-snetFrame__menuItemText">Nouvelle Demande</span>

                            </button>

                            <div class="sds-shortcutMenu dropdown-menu sds-stackMd dropdown-menu dropdown-menu-left sds-snetFrame__menuDropdownPositioning" aria-labelledby="mspShortCutMenu">
                                <div class="sds-shortcutMenu__box sds-stackMd">
                                    <div class="h5">Mes ajouts rétroactifs</div>
                                    <div class="row row-xs no-bottom-gutter flex-nowrap">
                                        <div class="col-auto">
                                            <button type="button" class="sds-btnTile sds-stackSm -success100">
                                                <span class="sds-iconCircle -secondary10 sds-btnTile__icon" aria-hidden="true">

                                                    <span class="sds-icon sds-icon-checkin"></span>

                                                </span>

                                                <p class="sds-textBold sds-textHelperSmall">Entrée oubliée</p>
                                            </button>
                                        </div>
                                        <div class="col-auto">
                                            <button type="button" class="sds-btnTile sds-stackSm -primary100">
                                                <span class="sds-iconCircle -secondary10 sds-btnTile__icon" aria-hidden="true">

                                                    <span class="sds-icon sds-icon-checkout"></span>

                                                </span>

                                                <p class="sds-textBold sds-textHelperSmall">Sortie oubliée</p>
                                            </button>
                                        </div>
                                    </div>
                                </div>
                                <div class="sds-shortcutMenu__box sds-stackMd">
                                    <div class="h5">Mes demandes</div>
                                    <div class="row row-xs">
                                        <div class="col-auto">
                                            <button type="button" class="sds-btnTile sds-stackSm">
                                                <span class="sds-iconCircle -secondary10 sds-btnTile__icon" aria-hidden="true">

                                                    <span class="sds-icon sds-icon-vacation"></span>

                                                </span>

                                                <p class="sds-textBold sds-textHelperSmall">Congé</p>
                                            </button>
                                        </div>
                                        <div class="col-auto">
                                            <button type="button" class="sds-btnTile sds-stackSm">
                                                <span class="sds-iconCircle -secondary10 sds-btnTile__icon" aria-hidden="true">

                                                    <span class="sds-icon sds-icon-vacation"></span>

                                                </span>

                                                <p class="sds-textBold sds-textHelperSmall">CET</p>
                                            </button>
                                        </div>
                                        <div class="col-auto">
                                            <button type="button" class="sds-btnTile sds-stackSm">
                                                <span class="sds-iconCircle -secondary10 sds-btnTile__icon" aria-hidden="true">

                                                    <span class="sds-icon sds-icon-house"></span>

                                                </span>

                                                <p class="sds-textBold sds-textHelperSmall">Télétravail</p>
                                            </button>
                                        </div>
                                    </div>
                                </div>
                                <div class="sds-shortcutMenu__box sds-stackMd">
                                    <div class="h5">Parking</div>
                                    <div class="row row-xs">
                                        <div class="col-auto">
                                            <button type="button" class="sds-btnTile sds-stackSm">
                                                <span class="sds-iconCircle -secondary10 sds-btnTile__icon" aria-hidden="true">

                                                    <span class="sds-icon sds-icon-vacation"></span>

                                                </span>

                                                <p class="sds-textBold sds-textHelperSmall">Réserver une place</p>
                                            </button>
                                        </div>
                                    </div>
                                </div>
                            </div>

                        </li>

                        <li class="sds-snetFrame__menuItem">
                            <a href="" class="sds-snetFrame__menuLink">

                                <span data-toggle="tooltip" data-title="Dashboard" data-placement="right" data-boundary="window">

                                    <span class="sds-iconCircle -secondary60 sds-snetFrame__menuLinkBubble" aria-hidden="true">

                                        <span class="sds-icon sds-icon-graphgauge"></span>

                                    </span>

                                </span>

                                <span class="sds-snetFrame__menuItemText">Dashboard</span>

                            </a>

                        </li>

                        <li class="sds-snetFrame__menuItem -isActive">
                            <a href="" class="sds-snetFrame__menuLink">

                                <span data-toggle="tooltip" data-title="Historique" data-placement="right" data-boundary="window">

                                    <span class="sds-iconCircle -secondary60 sds-snetFrame__menuLinkBubble" aria-hidden="true">

                                        <span class="sds-icon sds-icon-history"></span>

                                    </span>

                                </span>

                                <span class="sds-snetFrame__menuItemText">Historique</span>

                            </a>

                        </li>

                        <li class="sds-snetFrame__menuItem -isSeparator">
                            <a href="" class="sds-snetFrame__menuLink">

                                <span data-toggle="tooltip" data-title="Success" data-placement="right" data-boundary="window">

                                    <span class="sds-iconCircle -secondary60 sds-snetFrame__menuLinkBubble" aria-hidden="true">

                                        <span class="sds-icon sds-icon-externallink"></span>

                                    </span>

                                </span>

                                <span class="sds-snetFrame__menuItemText">Success</span>

                                <span class="sds-icon sds-icon-externallink"></span>

                            </a>

                        </li>

                    </ul>
                    <ul class="sds-snetFrame__settings list-unstyled">

                        <li class="sds-snetFrame__settingsItem sds-snetFrame__settingsOpenMenu">
                            <button type="button" class="sds-snetFrame__settingsButton">
                                <span class="sds-snetFrame__settingsButtonIcon sds-icon sds-icon-chevronrightdouble" data-toggle="tooltip" data-title="Toggle Menu" data-placement="right" data-boundary="window"></span>
                                <span class="sr-only">Déployer le menu</span>
                            </button>
                        </li>
                    </ul>
                </div>
            </nav>
        </div>

        <main class="sds-snetFrame__main" id="frameMain">
            <!-- panel header content start -->

            <!-- panel header content end -->
            <div class="sds-snetFrame__mainContent">
                <!-- main content start -->

                <!-- main content end -->
            </div>

        </main>
    </div>
</div>
<!-- content such as modals, tooltips, popovers etc should be included here -->
{% extends "@snet-page-frame" %}