<commit_before><div class="navbar navbar-default" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#"></a>
        </div>

        <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                {{#each model.navEntries as |navEntry|}}
                    {{#if navEntry.entries.length}}
                        <li class="dropdown {{if navEntry.active "active"}}">
                            <a class="dropdown-toggle" href="#" data-toggle="dropdown">
                                {{navEntry.label}}
                                <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                {{#each navEntry.entries as |entry|}}
                                    <li>
                                        {{#link-to "openxpki" entry.key (query-params force=navEntry.active)}}
                                            {{entry.label}}
                                        {{/link-to}}
                                    </li>
                                {{/each}}
                            </ul>
                        </li>
                    {{else}}
                        <li class="{{if navEntry.active "active"}}">
                            {{#link-to "openxpki" navEntry.key (query-params force=navEntry.active)}}
                                {{navEntry.label}}
                            {{/link-to}}
                        </li>
                    {{/if}}
                {{/each}}
            </ul>

            <ul class="nav navbar-nav navbar-right">
                {{#if model.user}}
                    <li>
                        {{#link-to "openxpki" "logout"}}
                            Log out
                        {{/link-to}}
                    </li>
                {{/if}}
            </ul>
        </div>
    </div>
</div>

<div class="container-fluid">
    <div class="oxi-message">       
        {{#if model.status.href}}
            <a href="{{model.status.href}}" target="_blank">
                <div class="alert {{statusClass}}" style="cursor:pointer;">
                    {{model.status.message}}
                </div>
            </a>
        {{else}}
            <div class="alert {{statusClass}}">
                {{model.status.message}}
            </div>
        {{/if}}
    </div>

    <h2>{{model.tabs.firstObject.page.label}}</h2>
    {{#if model.tabs.firstObject.page.description}}
        <div class="description">
            {{{model.tabs.firstObject.page.description}}}
        </div>
    {{/if}}
    {{#if showTabs}}
        <ul class="nav nav-tabs">
            {{#each model.tabs as |entry|}}
                <li class="{{if entry.active "active"}}">
                    <a {{action "activateTab" entry}}>
                        {{if entry.page.shortlabel entry.page.shortlabel entry.page.label}}
                        <span class="tab-close" {{action "closeTab" entry}}>&times;</span>
                    </a>
                </li>
            {{/each}}
        </ul>
    {{/if}}
    <div class="tab-content">
        {{#each model.tabs as |entry|}}
            <div class="tab-pane {{if entry.active "active"}}">
                <div class="Xcontainer sections">
                    <div class="row">
                        <div class="{{if entry.right "col-md-8" "col-md-12"}}">
                            {{#each entry.main as |mainEntry|}}
                                {{oxisection-main content=mainEntry}}
                            {{/each}}
                        </div>
                        <div class="{{if entry.right "col-md-4" "hide"}}">
                            {{#each entry.right as |rightEntry|}}
                                <div class="well">
                                    {{oxisection-main content=rightEntry}}
                                </div>
                            {{/each}}
                        </div>
                    </div>
                </div>
            </div>
        {{/each}}
    </div>
</div>

<div class="modal fade oxi-main-modal">
    <div class="modal-dialog {{model.modal.page.className}}">
        <div class="modal-content">
            <div class="modal-header">
                <button class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">
                    {{if model.modal.page.shortlabel model.modal.page.shortlabel model.modal.page.label}}
                </h4>
            </div>
            <div class="modal-body">
                {{#each model.modal.main as |mainEntry|}}
                    {{oxisection-main content=mainEntry}}
                {{/each}}
            </div>
            <div class="modal-footer">
                <button class="btn btn-default" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>

<div class="modal fade oxi-error-modal">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">
                    Application Error<commit_msg>Close modal on ESC. Close #422.<commit_after><div class="navbar navbar-default" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#"></a>
        </div>

        <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                {{#each model.navEntries as |navEntry|}}
                    {{#if navEntry.entries.length}}
                        <li class="dropdown {{if navEntry.active "active"}}">
                            <a class="dropdown-toggle" href="#" data-toggle="dropdown">
                                {{navEntry.label}}
                                <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                {{#each navEntry.entries as |entry|}}
                                    <li>
                                        {{#link-to "openxpki" entry.key (query-params force=navEntry.active)}}
                                            {{entry.label}}
                                        {{/link-to}}
                                    </li>
                                {{/each}}
                            </ul>
                        </li>
                    {{else}}
                        <li class="{{if navEntry.active "active"}}">
                            {{#link-to "openxpki" navEntry.key (query-params force=navEntry.active)}}
                                {{navEntry.label}}
                            {{/link-to}}
                        </li>
                    {{/if}}
                {{/each}}
            </ul>

            <ul class="nav navbar-nav navbar-right">
                {{#if model.user}}
                    <li>
                        {{#link-to "openxpki" "logout"}}
                            Log out
                        {{/link-to}}
                    </li>
                {{/if}}
            </ul>
        </div>
    </div>
</div>

<div class="container-fluid">
    <div class="oxi-message">       
        {{#if model.status.href}}
            <a href="{{model.status.href}}" target="_blank">
                <div class="alert {{statusClass}}" style="cursor:pointer;">
                    {{model.status.message}}
                </div>
            </a>
        {{else}}
            <div class="alert {{statusClass}}">
                {{model.status.message}}
            </div>
        {{/if}}
    </div>

    <h2>{{model.tabs.firstObject.page.label}}</h2>
    {{#if model.tabs.firstObject.page.description}}
        <div class="description">
            {{{model.tabs.firstObject.page.description}}}
        </div>
    {{/if}}
    {{#if showTabs}}
        <ul class="nav nav-tabs">
            {{#each model.tabs as |entry|}}
                <li class="{{if entry.active "active"}}">
                    <a {{action "activateTab" entry}}>
                        {{if entry.page.shortlabel entry.page.shortlabel entry.page.label}}
                        <span class="tab-close" {{action "closeTab" entry}}>&times;</span>
                    </a>
                </li>
            {{/each}}
        </ul>
    {{/if}}
    <div class="tab-content">
        {{#each model.tabs as |entry|}}
            <div class="tab-pane {{if entry.active "active"}}">
                <div class="Xcontainer sections">
                    <div class="row">
                        <div class="{{if entry.right "col-md-8" "col-md-12"}}">
                            {{#each entry.main as |mainEntry|}}
                                {{oxisection-main content=mainEntry}}
                            {{/each}}
                        </div>
                        <div class="{{if entry.right "col-md-4" "hide"}}">
                            {{#each entry.right as |rightEntry|}}
                                <div class="well">
                                    {{oxisection-main content=rightEntry}}
                                </div>
                            {{/each}}
                        </div>
                    </div>
                </div>
            </div>
        {{/each}}
    </div>
</div>

<div class="modal fade oxi-main-modal" tabindex=-1>
    <div class="modal-dialog {{model.modal.page.className}}">
        <div class="modal-content">
            <div class="modal-header">
                <button class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">
                    {{if model.modal.page.shortlabel model.modal.page.shortlabel model.modal.page.label}}
                </h4>
            </div>
            <div class="modal-body">
                {{#each model.modal.main as |mainEntry|}}
                    {{oxisection-main content=mainEntry}}
                {{/each}}
            </div>
            <div class="modal-footer">
                <button class="btn btn-default" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>

<div class="modal fade oxi-error-modal" tabindex=-1>
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">
                    Application Error
{'fraction_non_alphanumeric': 0.15494838020647916, 'fraction_numerical': 0.002046991812032752, 'mean_word_length': 1.1314491654021244, 'pattern_counts': {'":': 0, '<': 197, '<?xml version=': 0, '>': 197, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6809109', 'n_tokens_mistral': 2971, 'n_tokens_neox': 2813, 'n_words': 560}