<commit_before>- content_for :head do
  = sass_link_tag 'admin'

#entryField


  .user.panel
    .img
    %h1 users
    .total= User.count

    / .module.newUsers
    /   %h2 new users
    /   .clear
    / .clear


    .module.allUsers
      .img
      %h2 user list
      .clear

      - User.all.each do |user|
        %a.userNode{href: user_entries_path(user.username)}
          = user.username
          .postCount= user.entries.count

      .clear



  .entries.panel
    .img
    %h1 entries
    .total= Entry.count
    .clear

    / .module.activeUsers
    /   %h2 most active users
    / .clear
    / 
    / .module.seedCodes
    /   %h2 seed codes
    / .clear
    / 
    / .module.sharing
    /   %h2 sharing
    / .clear<commit_msg>added basic logic so only logged in users can see admin page.<commit_after>- content_for :head do
  = sass_link_tag 'admin'

- unless current_user.blank?

  #entryField


    .user.panel
      .img
      %h1 users
      .total= User.count

      / .module.newUsers
      /   %h2 new users
      /   .clear
      / .clear


      .module.allUsers
        .img
        %h2 user list
        .clear

        - User.all.each do |user|
          %a.userNode{href: user_entries_path(user.username)}
            = user.username
            .postCount= user.entries.count

        .clear



    .entries.panel
      .img
      %h1 entries
      .total= Entry.count
      .clear

      / .module.activeUsers
      /   %h2 most active users
      / .clear
      / 
      / .module.seedCodes
      /   %h2 seed codes
      / .clear
      / 
      / .module.sharing
      /   %h2 sharing
      / .clear
{'fraction_non_alphanumeric': 0.10159118727050184, 'fraction_numerical': 0.008567931456548347, 'mean_word_length': 1.332382310984308, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6169788', 'n_tokens_mistral': 567, 'n_tokens_neox': 537, 'n_words': 124}