<commit_before>template(name="navbar")
  nav.navbar.navbar-default.navbar-static-top.navbar-main(role="navigation")
    .container-fluid
      .navbar-header
        button.navbar-toggle(type="button", data-toggle="collapse", data-target="#top-navbar-collapse")
          span.sr-only Toggle navigation
          span.icon-bar
          span.icon-bar
          span.icon-bar
        a.navbar-brand(href="/")
          img(src="/images/logo.png")
      #top-navbar-collapse.collapse.navbar-collapse
        ul.nav.navbar-nav
          if currentUser
            li(class="{{#if condition currentTemplateName 'is' 'dashboard'}}active{{/if}}")
              a(href="/") Dashboard
            li(class="{{#if condition currentTemplateName 'in' 'query'}}{{#if queryObject.isQuick}}active{{/if}}{{/if}}")
              a(href="/query/create/quick") Quick Query
            li(class="{{#if condition currentTemplateName 'in' 'queryList' 'query'}}{{#if not queryObject.isQuick}}active{{/if}}{{/if}}")
              a(href="/query/list") Saved Queries
            li(class="{{#if condition currentTemplateName 'in' 'ipsetList' 'ipset' 'ipsetCreate'}}active{{/if}}")
              a(href="/ipset/list") IP Sets
            li(class="{{#if condition currentTemplateName 'in' 'tupleList' 'tuple' 'tupleCreate'}}active{{/if}}")
              a(href="/tuple/list") Tuple Files
        ul.nav.navbar-nav.navbar-right
          if currentUser
            li.dropdown
              a.dropdown-toggle(href="#", data-toggle="dropdown")
                | {{currentUser.profile.name}}
                b.caret
              ul.dropdown-menu
                //li: a(href="/user/{{currentUser._id}}") Profile
                if currentUserHasRole "admin"
                  li: a(href="/users") User administration
                  li: a(href="/config") SiLK server configuration
                else
                  li: a(href="/profile") Profile
                li: a(href="/help") Help
                li.divider
                li: a.logout(href="#") Logout
          else
            +login
        ul.nav.navbar-nav.navbar-right  
            a.btn.btn-primary#nightMode(href="javascript:(function(){var css='html {-webkit-filter: invert(100%);'+'-moz-filter: invert(100%);'+'-o-filter: invert(100%);'+'-ms-filter: invert(100%); }body{background:#16181B}',head=document.getElementsByTagName('head')[0],style=document.createElement('style');if(!window.counter){window.counter=1;}else{window.counter++;if(window.counter%2==0){var css='html {-webkit-filter: invert(0%); -moz-filter: invert(0%); -o-filter: invert(0%); -ms-filter: invert(0%); }body{background:#E4E7EA}'}};style.type='text/css';if(style.styleSheet){style.styleSheet.cssText=css;}else{style.appendChild(document.createTextNode(css));}head.appendChild(style);})();" style="margin-top: 0.5em; margin-right: 0.5em; ") <i class="fa fa-sun-o"></i>/<i class="fa fa-moon-o"></i><commit_msg>changed night mode background color to match navbar<commit_after>template(name="navbar")
  nav.navbar.navbar-default.navbar-static-top.navbar-main(role="navigation")
    .container-fluid
      .navbar-header
        button.navbar-toggle(type="button", data-toggle="collapse", data-target="#top-navbar-collapse")
          span.sr-only Toggle navigation
          span.icon-bar
          span.icon-bar
          span.icon-bar
        a.navbar-brand(href="/")
          img(src="/images/logo.png")
      #top-navbar-collapse.collapse.navbar-collapse
        ul.nav.navbar-nav
          if currentUser
            li(class="{{#if condition currentTemplateName 'is' 'dashboard'}}active{{/if}}")
              a(href="/") Dashboard
            li(class="{{#if condition currentTemplateName 'in' 'query'}}{{#if queryObject.isQuick}}active{{/if}}{{/if}}")
              a(href="/query/create/quick") Quick Query
            li(class="{{#if condition currentTemplateName 'in' 'queryList' 'query'}}{{#if not queryObject.isQuick}}active{{/if}}{{/if}}")
              a(href="/query/list") Saved Queries
            li(class="{{#if condition currentTemplateName 'in' 'ipsetList' 'ipset' 'ipsetCreate'}}active{{/if}}")
              a(href="/ipset/list") IP Sets
            li(class="{{#if condition currentTemplateName 'in' 'tupleList' 'tuple' 'tupleCreate'}}active{{/if}}")
              a(href="/tuple/list") Tuple Files
        ul.nav.navbar-nav.navbar-right
          if currentUser
            li.dropdown
              a.dropdown-toggle(href="#", data-toggle="dropdown")
                | {{currentUser.profile.name}}
                b.caret
              ul.dropdown-menu
                //li: a(href="/user/{{currentUser._id}}") Profile
                if currentUserHasRole "admin"
                  li: a(href="/users") User administration
                  li: a(href="/config") SiLK server configuration
                else
                  li: a(href="/profile") Profile
                li: a(href="/help") Help
                li.divider
                li: a.logout(href="#") Logout
          else
            +login
        ul.nav.navbar-nav.navbar-right  
            a.btn.btn-primary#nightMode(href="javascript:(function(){var css='html {-webkit-filter: invert(100%);'+'-moz-filter: invert(100%);'+'-o-filter: invert(100%);'+'-ms-filter: invert(100%); }body{background:#1B1815}',head=document.getElementsByTagName('head')[0],style=document.createElement('style');if(!window.counter){window.counter=1;}else{window.counter++;if(window.counter%2==0){var css='html {-webkit-filter: invert(0%); -moz-filter: invert(0%); -o-filter: invert(0%); -ms-filter: invert(0%); }body{background:#E4E7EA}'}};style.type='text/css';if(style.styleSheet){style.styleSheet.cssText=css;}else{style.appendChild(document.createTextNode(css));}head.appendChild(style);})();" style="margin-top: 0.5em; margin-right: 0.5em; ") <i class="fa fa-sun-o"></i>/<i class="fa fa-moon-o"></i>
{'fraction_non_alphanumeric': 0.18052256532066507, 'fraction_numerical': 0.010519172039362062, 'mean_word_length': 2.754777070063694, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5094707', 'n_tokens_mistral': 1854, 'n_tokens_neox': 1724, 'n_words': 268}