<commit_before>-# Copyright (C) 2013 Google Inc., authors, and contributors <see AUTHORS file>
-# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
-# Created By: <EMAIL>
-# Maintained By: <EMAIL>

-extends "layouts/dashboard.haml"

-block title
  Admin Dashboard

-block extra_javascript
  =super()

-block header
  .row-fluid
    .span8
      %h1
        %span.title-prev
          %a.title-trigger{'href': '/dashboard'}
            %i.grciconlarge-dashboard-new{'rel': 'tooltip', 'data-original-title': 'My Work'}

        %span.title-slide
          %i.grciconlarge-dashboard
          Admin Dashboard

    .span4
      %a.nav-trigger.active{'href': 'javascript://'}
        %i.grciconlarge-nav-trigger{'rel': 'tooltip', 'data-placement': 'left', 'data-original-title': 'Hide menu'}

      %ul.actions.pull-right
        %li.btn-group
          %a.dropdown-toggle{ 'href': '#', 'data-toggle': 'dropdown' }
            %i.grcicon-imp-exp
            %span Import/Export
            %span.caret
          %ul.dropdown-menu
            %li.title
              Systems
            %li
              %a{ 'href': "/systems/import" }
                %i.grcicon-system-color
                %span Import Systems
            %li
              %a.export-link{ 'href': "/admin/export/system" }
                %i.grcicon-system-color
                %span Export Systems
            %li.divider
            %li.title
              Processes
            %li
              %a{ 'href': "/processes/import" }
                %i.grcicon-process-color
                %span Import Processes
            %li
              %a.export-link{ 'href': "/admin/export/process" }
                %i.grcicon-process-color
                %span Export Processes
            %li.divider
            %li.title
              People
            %li
              %a{ 'href': "/admin/import/people" }<commit_msg>adding new header to admin dashboard page<commit_after>-# Copyright (C) 2013 Google Inc., authors, and contributors <see AUTHORS file>
-# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
-# Created By: <EMAIL>
-# Maintained By: <EMAIL>

-extends "layouts/dashboard.haml"

-block title
  Admin Dashboard

-block extra_javascript
  =super()

-block header
  .row-fluid
    .span12
      %h1
        %span.title-prev
          %button{ 'class': 'lhn-trigger pull-left', 'href': 'javascript://'}
            %span.icon-bar
            %span.icon-bar
            %span.icon-bar
          %a.title-trigger{'href': '/dashboard'}
            %i.grciconlarge-dashboard-new{'rel': 'tooltip', 'data-original-title': 'My Work'}

        %span.title-slide
          %i.grciconlarge-dashboard
          Admin Dashboard

      %ul.menu
        %li
          %a{ 'href': 'javascript://', 'data-toggle': 'multitype-search-modal-selector', 'data-join-object-type': 'MultitypeSearch', 'data-original-title': 'search items' }
            %i.grcicon-search
            %span
              Search
        %li
          %a#page-help{ 'href': "/dashboard#task_widget" }
            %i.grcicon-task-black
            %span
              My Tasks
              %span.task-count
        %li
          %a.nav-trigger.active{'href': 'javascript://'}
            %i.grcicon-nav-trigger{'rel': 'tooltip', 'data-placement': 'left', 'data-original-title': 'Hide menu'}
            %span
              Hide menu
        %li.user.dropdown
          %a.dropdown-toggle{ 'href': "#", 'data-toggle': "dropdown", 'role': "button" }
            %i.grcicon-user-black
            %span
              =current_user.email
            %i.grcicon-carot
          %ul.dropdown-menu{'aria-labelledby': 'drop1', 'role': "menu"}
            %li
              %a{'href': "/dashboard"}
                %i.grcicon-my-work
                My Work ({{current_user.system_wide_role}})
            -if permissions.is_allowed_read('/admin', 1)
              %li
                %a{'href': "/admin#people_list_widget"}
                  %i.grcicon-dashboard-black
                  Admin Dashboard
            %li.notify-wrap
              %span
                %i.grcicon-alarm-black
                Notifications
              %div.inner-list
                %label
                  %input{
                    'type': 'checkbox',
                    'name': 'notifications',
                    'value': 'Email_Now'
                  }
                  Real-time email updates
                %label
                  %input{
                    'type': 'checkbox',
                    'name': 'notifications',
                    'value': 'Email_Digest'
                  }
                  Daily email digest
            %li
              %a{'href': '={ url_for("logout") }', 'tabindex': "-1"}
                %i.grcicon-logout-black
                Logout
        %li
          %a#page-help{ 'href': "javascript://", 'data-toggle': 'modal-ajax-helpform', 'data-help-slug' : '{{ self.page_help()|trim }}'}
            %i.grcicon-help-black
            %span
              Help
        %li.user.dropdown
          %a.dropdown-toggle{ 'href': '#', 'data-toggle': 'dropdown' }
            %i.grcicon-imp-exp
            %span Import/Export
            %i.grcicon-carot
          %ul.dropdown-menu
            %li.title
              Systems
            %li
              %a{ 'href': "/systems/import" }
                %i.grcicon-system-color
                %span Import Systems
            %li
              %a.export-link{ 'href': "/admin/export/system" }
                %i.grcicon-system-color
                %span Export Systems
            %li.divider
            %li.title
              Processes
            %li
              %a{ 'href': "/processes/import" }
                %i.grcicon-process-color
                %span Import Processes
            %li
              %a.export-link{ 'href': "/admin/export/process" }
                %i.grcicon-process-color
                %span Export Processes
            %li.divider
            %li.title
              People
            %li
              %a{ 'href': "/admin/import/people" }
{'fraction_non_alphanumeric': 0.1356070496083551, 'fraction_numerical': 0.003426892950391645, 'mean_word_length': 1.3792701863354038, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, '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': '7132100', 'n_tokens_mistral': 1821, 'n_tokens_neox': 1766, 'n_words': 347}