<commit_before>-# coding: UTF-8
%nav.navbar.navbar-default{role: "navigation", style:"margin-bottom:0px;"}
  .container
    / Brand and toggle get grouped for better mobile display
    .navbar-header
      %button.navbar-toggle{"data-target" => "#bs-example-navbar-collapse-1", "data-toggle" => "collapse", :type => "button"}
        %span.sr-only Toggle navigation
        %span.icon-bar
        %span.icon-bar
        %span.icon-bar
      = link_to Settings.website.title, "/", class: "navbar-brand"
    - if current_user
      / Collect the nav links, forms, and other content for toggling
      .collapse.navbar-collapse{role: "navigation", id:"bs-example-navbar-collapse-1"}

        %input#navbar_right_lis{type: "hidden", value: 1}/
        %ul.nav.navbar-nav.navbar-right
          %li.dropdown
            %a.dropdown-toggle{"data-toggle" => "dropdown", :href => "#"}
              %i.glyphicon.glyphicon-cog
              %b.caret
            %ul.dropdown-menu
              - if current_user.admin?
                %li
                  %a{:href => "/cpanel"}
                    %i.glyphicon.glyphicon-wrench
                    后台管理
                %li.divider
              %li
                %a{:href => "/carder/user/logout"}
                  %i.glyphicon.glyphicon-log-out
                  退出
<commit_msg>bug#fix logout<commit_after>-# coding: UTF-8
%nav.navbar.navbar-default{role: "navigation", style:"margin-bottom:0px;"}
  .container
    / Brand and toggle get grouped for better mobile display
    .navbar-header
      %button.navbar-toggle{"data-target" => "#bs-example-navbar-collapse-1", "data-toggle" => "collapse", :type => "button"}
        %span.sr-only Toggle navigation
        %span.icon-bar
        %span.icon-bar
        %span.icon-bar
      = link_to Settings.website.title, "/", class: "navbar-brand"
    - if current_user
      / Collect the nav links, forms, and other content for toggling
      .collapse.navbar-collapse{role: "navigation", id:"bs-example-navbar-collapse-1"}

        %input#navbar_right_lis{type: "hidden", value: 1}/
        %ul.nav.navbar-nav.navbar-right
          %li.dropdown
            %a.dropdown-toggle{"data-toggle" => "dropdown", :href => "#"}
              %i.glyphicon.glyphicon-cog
              %b.caret
            %ul.dropdown-menu
              - if current_user.admin?
                %li
                  %a{:href => "/cpanel"}
                    %i.glyphicon.glyphicon-wrench
                    后台管理
                %li.divider
              %li
                %a{:href => "/user/logout"}
                  %i.glyphicon.glyphicon-log-out
                  退出

{'fraction_non_alphanumeric': 0.13918305597579425, 'fraction_numerical': 0.0037821482602118004, 'mean_word_length': 1.7812828601472135, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '7634267', 'n_tokens_mistral': 842, 'n_tokens_neox': 783, 'n_words': 147}