<commit_before>!!! html
%html{lang: 'en'}
  %head
    %title Ollert
    %meta{name: 'viewport', content: 'width=device-width, initial-scale=1.0'}
    %meta{name: 'description', content: 'Free Trello Analytics and Statistics, including Cumulative Flow Diagram and Work In Progress'}
    %meta{name: 'author', content: '<NAME> <<EMAIL>>'}

    %link{rel: 'shortcut icon', href:'/img/favicon.ico'}
    %link{href: '/css/bootstrap.min.css', rel: 'stylesheet'}
    %link{rel: 'stylesheet', type: 'text/css', href: '/styles.css'}

    %script{src: '/js/jquery-2.1.1.min.js'}
    %script{src: '/js/bootstrap.min.js'}

    %script{src: "/js/trello-client.js"}
    %script{src: "/js/trello-controller.js"}
    %script{src: "/js/ollert.js"}
    %script{src: "/js/plugins.js"}
    %script{src: "/js/flash-message.js"}

    - if ENV['RACK_ENV'] == "production"
      %script{src: "/js/google-analytics.js"}

    :javascript
      $(document).ready(function() {
        Trello.setKey("#{ENV['PUBLIC_KEY']}");
        if (#{!@user.nil?}) {
          Ollert.loadBoards();        
        }
      });

  %body
    %div{id: 'wrap'}
      %nav{class: 'navbar navbar-default navbar-static-top', role: 'navigation'}
        .container-fluid
          .navbar-header
            %a{class: 'navbar-brand', href: '/'}
              Ollert
            .visible-xs-block
              - if @user.nil?
                %ul{class: 'signup-login-group nav visible-xs-inline'}
                  %li{style: 'margin-right: 10px;'}
                    %form{action: "/login", method: "get", role: "form", class: "pull-right"}
                      %input{type: "submit", class: "btn btn-default", value: "Log in"}
              - else
                %button.navbar-toggle.collapsed{type: "button", data: { toggle: 'collapse', target: '.navbar-collapse' } }
                  %span.sr-only
                    Toggle navigation
                  %span.icon-bar
                  %span.icon-bar
                  %span.icon-bar
                %button.my-boards-button.navbar-toggle.collapsed.btn.btn-link{type: 'button', data: { toggle: 'dropdown' } }
                  %span.glyphicon.glyphicon-stats
                  My Boards
                  %b.caret
                %ul.dropdown-menu.pull-right.my-boards
          - if @user.nil?
            %ul{class: 'signup-login-group nav navbar-nav navbar-right hidden-xs'}
              %li{style: 'margin-left:10px;'}
                %form{onsubmit: "TrelloController.authorize(); return false;"}
                  %input.btn.btn-default{type: "submit", value: "Log in"}
          .collapse.navbar-collapse
            %ul.nav.navbar-nav.pull-right
              - unless @user.nil?
                %li.hidden-xs
                  %a{href: 'javascript:void(0)', data: { toggle: 'dropdown' } }
                    %span.glyphicon.glyphicon-stats
                    My Boards
                    %b.caret
                  %ul.dropdown-menu.pull-right.my-boards
                %li
                  %a.settings-link{href: 'javascript:void(0)', data: { toggle: 'dropdown' } }
                    %img{src: "http://www.gravatar.com/avatar/#{@user.gravatar_hash}?s=40", alt: "Profile Avatar"}
                    %b.caret<commit_msg>fixing https warning for gravatar<commit_after>!!! html
%html{lang: 'en'}
  %head
    %title Ollert
    %meta{name: 'viewport', content: 'width=device-width, initial-scale=1.0'}
    %meta{name: 'description', content: 'Free Trello Analytics and Statistics, including Cumulative Flow Diagram and Work In Progress'}
    %meta{name: 'author', content: '<NAME> <<EMAIL>>'}

    %link{rel: 'shortcut icon', href:'/img/favicon.ico'}
    %link{href: '/css/bootstrap.min.css', rel: 'stylesheet'}
    %link{rel: 'stylesheet', type: 'text/css', href: '/styles.css'}

    %script{src: '/js/jquery-2.1.1.min.js'}
    %script{src: '/js/bootstrap.min.js'}

    %script{src: "/js/trello-client.js"}
    %script{src: "/js/trello-controller.js"}
    %script{src: "/js/ollert.js"}
    %script{src: "/js/plugins.js"}
    %script{src: "/js/flash-message.js"}

    - if ENV['RACK_ENV'] == "production"
      %script{src: "/js/google-analytics.js"}

    :javascript
      $(document).ready(function() {
        Trello.setKey("#{ENV['PUBLIC_KEY']}");
        if (#{!@user.nil?}) {
          Ollert.loadBoards();        
        }
      });

  %body
    %div{id: 'wrap'}
      %nav{class: 'navbar navbar-default navbar-static-top', role: 'navigation'}
        .container-fluid
          .navbar-header
            %a{class: 'navbar-brand', href: '/'}
              Ollert
            .visible-xs-block
              - if @user.nil?
                %ul{class: 'signup-login-group nav visible-xs-inline'}
                  %li{style: 'margin-right: 10px;'}
                    %form{action: "/login", method: "get", role: "form", class: "pull-right"}
                      %input{type: "submit", class: "btn btn-default", value: "Log in"}
              - else
                %button.navbar-toggle.collapsed{type: "button", data: { toggle: 'collapse', target: '.navbar-collapse' } }
                  %span.sr-only
                    Toggle navigation
                  %span.icon-bar
                  %span.icon-bar
                  %span.icon-bar
                %button.my-boards-button.navbar-toggle.collapsed.btn.btn-link{type: 'button', data: { toggle: 'dropdown' } }
                  %span.glyphicon.glyphicon-stats
                  My Boards
                  %b.caret
                %ul.dropdown-menu.pull-right.my-boards
          - if @user.nil?
            %ul{class: 'signup-login-group nav navbar-nav navbar-right hidden-xs'}
              %li{style: 'margin-left:10px;'}
                %form{onsubmit: "TrelloController.authorize(); return false;"}
                  %input.btn.btn-default{type: "submit", value: "Log in"}
          .collapse.navbar-collapse
            %ul.nav.navbar-nav.pull-right
              - unless @user.nil?
                %li.hidden-xs
                  %a{href: 'javascript:void(0)', data: { toggle: 'dropdown' } }
                    %span.glyphicon.glyphicon-stats
                    My Boards
                    %b.caret
                  %ul.dropdown-menu.pull-right.my-boards
                %li
                  %a.settings-link{href: 'javascript:void(0)', data: { toggle: 'dropdown' } }
                    %img{src: "https://www.gravatar.com/avatar/#{@user.gravatar_hash}?s=40", alt: "Profile Avatar"}
                    %b.caret
{'fraction_non_alphanumeric': 0.16459388914478734, 'fraction_numerical': 0.003992015968063872, 'mean_word_length': 1.8383442265795207, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, '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': '3553829', 'n_tokens_mistral': 2119, 'n_tokens_neox': 2000, 'n_words': 369}