<commit_before>{{#extend "lib/default"}}
    {{#content "styles" mode="append"}}
        <link rel="stylesheet" href="/styles/lib/loggedin.css"/>
        <link rel="stylesheet" href="/styles/lib/feedback-button.css"/>
    {{/content}}

    {{#content "scripts" mode="append"}}
        <script src="/scripts/loggedin.js" type="text/javascript" defer></script>

        <script type="text/javascript" src="https://www.gstatic.com/firebasejs/3.9.0/firebase-app.js" defer></script>
        <script type="text/javascript" src="https://www.gstatic.com/firebasejs/3.9.0/firebase-messaging.js"
                defer></script>
        <script type="text/javascript" src="/scripts/notificationService/indexFirebase.js" defer></script>

        <script type="text/javascript" src="/scripts/notificationService/callback.js" defer></script>
        <script type="text/javascript"
                src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_HTML"
                defer></script>
        <script type="text/javascript" src="/scripts/notificationService/index.js" defer></script>

        <script type="text/javascript">
        window.addEventListener('DOMContentLoaded', function() {
            $('.sidebar-list').css({"height": window.innerHeight});
            if (!/^((?!chrome).)*safari/i.test(navigator.userAgent)) {
                setupFirebasePush();
            }
        });
        window.addEventListener("resize", function () {
            $('.sidebar-list').css({"height": window.innerHeight});
        });
        </script>
    {{/content}}

    {{#content "body"}}
        <aside class="nav-sidebar hide-inline">
            <nav>
                <ul class="sidebar-list">
                    <li>
                        <a class="sc-branding" href="/">
                            <div class="cloud-logo"></div>
                            <span>Schul-Cloud</span>
                        </a>
                    </li>
                    {{#each sidebarItems}}
                        <li>
                            <a class="{{this.class}}" href="{{this.link}}">
                                <i class="fa fa-{{this.icon}}" aria-hidden="true"></i>
                                <span class="link-name">{{this.name}}</span>
                            </a>

                            {{#if this.childActive}}
                                {{#if this.children}}
                                    <ul class="subitems">
                                        {{#each this.children}}
                                            <li>
                                                <a class="subitem {{this.class}}" href="{{this.link}}">
                                                    <i class="fa fa-{{this.icon}}" aria-hidden="true"></i>
                                                    <span class="link-name">{{this.name}}</span>
                                                </a>
                                            </li>
                                        {{/each}}
                                    </ul>
                                {{/if}}<commit_msg>should work but doesn't (tooltip not in .nav-sidebar created)<commit_after>{{#extend "lib/default"}}
    {{#content "styles" mode="append"}}
        <link rel="stylesheet" href="/styles/lib/loggedin.css"/>
        <link rel="stylesheet" href="/styles/lib/feedback-button.css"/>
    {{/content}}

    {{#content "scripts" mode="append"}}
        <script src="/scripts/loggedin.js" type="text/javascript" defer></script>

        <script type="text/javascript" src="https://www.gstatic.com/firebasejs/3.9.0/firebase-app.js" defer></script>
        <script type="text/javascript" src="https://www.gstatic.com/firebasejs/3.9.0/firebase-messaging.js"
                defer></script>
        <script type="text/javascript" src="/scripts/notificationService/indexFirebase.js" defer></script>

        <script type="text/javascript" src="/scripts/notificationService/callback.js" defer></script>
        <script type="text/javascript"
                src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_HTML"
                defer></script>
        <script type="text/javascript" src="/scripts/notificationService/index.js" defer></script>

        <script type="text/javascript">
        window.addEventListener('DOMContentLoaded', function() {
            $('.sidebar-list').css({"height": window.innerHeight});
            if (!/^((?!chrome).)*safari/i.test(navigator.userAgent)) {
                setupFirebasePush();
            }
        });
        window.addEventListener("resize", function () {
            $('.sidebar-list').css({"height": window.innerHeight});
        });
        </script>
    {{/content}}

    {{#content "body"}}
        <aside class="nav-sidebar hide-inline">
            <nav>
                <ul class="sidebar-list">
                    <li>
                        <a class="sc-branding" href="/">
                            <div class="cloud-logo"></div>
                            <span>Schul-Cloud</span>
                        </a>
                    </li>
                    {{#each sidebarItems}}
                        <li>
                            <a class="{{this.class}}" href="{{this.link}}"
                                data-container=".nav-sidebar" data-toggle="tooltip" data-placement="right" data-title="{{this.name}}">
                                <i class="fa fa-{{this.icon}}" aria-hidden="true"></i>
                                <span class="link-name">{{this.name}}</span>
                            </a>

                            {{#if this.childActive}}
                                {{#if this.children}}
                                    <ul class="subitems">
                                        {{#each this.children}}
                                            <li>
                                                <a class="subitem {{this.class}}" href="{{this.link}}"
                                                    data-container=".nav-sidebar" data-toggle="tooltip" data-placement="right" data-title="{{this.name}}">
                                                    <i class="fa fa-{{this.icon}}" aria-hidden="true"></i>
                                                    <span class="link-name">{{this.name}}</span>
                                                </a>
                                            </li>
                                        {{/each}}
                                    </ul>
                                {{/if}}
{'fraction_non_alphanumeric': 0.15992147387496225, 'fraction_numerical': 0.002718212020537602, 'mean_word_length': 1.2940768964322826, 'pattern_counts': {'":': 4, '<': 95, '<?xml version=': 0, '>': 95, 'https://': 6, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 36, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1036347', 'n_tokens_mistral': 1675, 'n_tokens_neox': 1585, 'n_words': 239}