<commit_before>Protoadmin.setup do |config|

  config.theme = :bootstrap
  config.layout  = [:search, :user_nav, :main_nav, :content]
  #config.modules = [:header, :search, :user_nav, :main_nav, :content]

  Devise.setup do |c|
    require 'devise/orm/active_record'

    c.router_name = :protoadmin
    c.parent_controller = 'Protoadmin::ApplicationController'
    c.mailer_sender = "<EMAIL>"
    c.case_insensitive_keys = [:email]
    c.strip_whitespace_keys = [:email]
    c.skip_session_storage = [:http_auth]
    c.stretches = Rails.env.test? ? 1 : 10
    c.reconfirmable = true
    c.reset_password_within = 6.hours
    c.sign_out_via = :get
  end

  Navigasmic.setup do |c|
    c.semantic_navigation :protoadmin_main_nav do |n|
      n.item 'Dashboard', proc{ protoadmin.root_path }, icon: 'home'
      n.group 'Form Elements<span class="label">3</span>', icon: 'th-list', id: 'form_elements_nav' do
        n.item 'Common Elements', '#'
        n.item 'Validation', '/posts'
        n.item 'Wizard', '#'
      end
      n.item 'Buttons &amp; Icons', '#', icon: 'tint'
      n.item 'Interface Elements', '#', icon: 'pencil'
      n.item 'Tables', '#', icon: 'th'
      n.item 'Grid Layout', '#', icon: 'th-list'
    end

    c.semantic_navigation :protoadmin_user_nav do |n|
      n.item n.t('protoadmin.user_nav.profile'), proc{ protoadmin.edit_admin_password_path }, class: 'btn', icon: 'user'
      n.item n.t('protoadmin.user_nav.settings'), '#', class: 'btn', icon: 'cog'<commit_msg>updated navigation for style guide.<commit_after>Protoadmin.setup do |config|

  config.theme = :bootstrap
  config.layout  = [:search, :user_nav, :main_nav, :content]
  #config.modules = [:header, :search, :user_nav, :main_nav, :content]

  Devise.setup do |c|
    require 'devise/orm/active_record'

    c.router_name = :protoadmin
    c.parent_controller = 'Protoadmin::ApplicationController'
    c.mailer_sender = "<EMAIL>"
    c.case_insensitive_keys = [:email]
    c.strip_whitespace_keys = [:email]
    c.skip_session_storage = [:http_auth]
    c.stretches = Rails.env.test? ? 1 : 10
    c.reconfirmable = true
    c.reset_password_within = 6.hours
    c.sign_out_via = :get
  end

  Navigasmic.setup do |c|
    c.semantic_navigation :protoadmin_main_nav do |n|
      n.item 'Dashboard', proc{ protoadmin.root_path }, icon: 'home'
      n.group 'Style Guide<span class="label">8</span>', icon: 'info-sign' do
        n.item 'Forms', proc{ protoadmin.styleguide_path('forms') }, icon: 'th-list'
        n.item 'Tables', proc{ protoadmin.styleguide_path('tables') }, icon: 'th'
        n.item 'Elements', proc{ protoadmin.styleguide_path('elements') }, icon: 'briefcase'
        n.item 'Messages', proc{ protoadmin.styleguide_path('messages') }, icon: 'warning-sign'
        n.item 'Icons', proc{ protoadmin.styleguide_path('icons') }, icon: 'list-ul'
        n.item 'Galleries', proc{ protoadmin.styleguide_path('galleries') }, icon: 'picture'
        n.item 'Maps', proc{ protoadmin.styleguide_path('maps') }, icon: 'map-marker'
        n.item 'Calendars', proc{ protoadmin.styleguide_path('calendars') }, icon: 'calendar'
      end
    end

    c.semantic_navigation :protoadmin_user_nav do |n|
      n.item n.t('protoadmin.user_nav.profile'), proc{ protoadmin.edit_admin_password_path }, class: 'btn', icon: 'user'
      n.item n.t('protoadmin.user_nav.settings'), '#', class: 'btn', icon: 'cog'
{'fraction_non_alphanumeric': 0.15445719329214475, 'fraction_numerical': 0.0029420417769932335, 'mean_word_length': 3.702627939142462, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '3289839', 'n_tokens_mistral': 1210, 'n_tokens_neox': 1195, 'n_words': 249}