<commit_before>!!! 5
%html
  %head
    %title
      GlitterGallery! 
      - if content_for?(:title)
        |
        = yield :title
    
    = stylesheet_link_tag "application", :media => "all"
    = javascript_include_tag "application"
    = csrf_meta_tag
    %script
      $(function() { jQuery('#glittercarousel').jcarousel({ wrap: 'circular'  }); });

  %body{ :class => "#{controller.controller_name} #{controller.action_name} #{yield :body_class}" }
  
    %header
      %nav#user_nav
        - if logged_in?
          .welcome
            %span.msg
              >
            %span.email
              = link_to current_user.username + "'s dashboard", dashboard_path
          = link_to dashboard_path do
            %h1.logo
              Glitter Gallery
          .right
            = link_to 'Logout', logout_path, :method => :delete
        - else
          = link_to 'Login', login_path
      
    = yield
    <commit_msg>Added back some of Emily's work, had deleted by mistake<commit_after>!!! 5
%html
  %head
    %title
      GlitterGallery! 
      - if content_for?(:title)
        |
        = yield :title
    
    = stylesheet_link_tag "application", :media => "all"
    = javascript_include_tag "application"
    = csrf_meta_tag
    %script
      $(function() { jQuery('#glittercarousel').jcarousel({ wrap: 'circular'  }); });

  %body{ :class => "#{controller.controller_name} #{controller.action_name} #{logged_in? ? 'logged_in' : 'not_logged_in'} #{yield :body_class}" }

  
    %header
      %nav#user_nav
        - if logged_in?
          .welcome
            %span.msg
              >
            %span.email
              = link_to current_user.username + "'s dashboard", dashboard_path
          - if controller.controller_name != 'home'
            = link_to root_url do
              %h1.logo
                Glitter Gallery
          .right
            - if controller.controller_name != 'dashboard'
              = link_to 'Dashboard', dashboard_path 
            = link_to 'Logout', logout_path, :method => :delete
        - else
          #login_prompt
            = link_to 'Login', login_path
      = yield :header
      
    = yield
    
{'fraction_non_alphanumeric': 0.11632183908045977, 'fraction_numerical': 0.0018390804597701149, 'mean_word_length': 1.8593955321944808, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1353405', 'n_tokens_mistral': 668, 'n_tokens_neox': 648, 'n_words': 138}