<commit_before>define([
  '../core_module',
],
function (coreModule) {
  'use strict';

  coreModule.default.directive('topnav', function($rootScope, contextSrv) {
    return {
      restrict: 'E',
      transclude: true,
      scope: {
        title: "@",
        section: "@",
        titleAction: "&",
        subnav: "=",
      },
      template:
        '<div class="navbar navbar-static-top"><div class="navbar-inner"><div class="container-fluid">' +
        '<div class="top-nav">' +
        '<a class="top-nav-menu-btn pointer" ng-if="!contextSrv.sidemenu" ng-click="toggle()">' +
        '<img class="logo-icon" src="img/fav32.png"></img> ' +
        '<i class="fa fa-bars"></i>' +
        '</a>' +

        '<span class="icon-circle top-nav-icon">' +
        '<i ng-class="icon"></i>' +
        '</span>' +

        '<span ng-show="section">' +
        '<span class="top-nav-title">{{section}}</span>' +
        '<i class="top-nav-breadcrumb-icon fa fa-angle-right"></i>' +
        '</span>' +<commit_msg>poc(new nav): added new menu button to other pages that dashboard<commit_after>define([
  '../core_module',
],
function (coreModule) {
  'use strict';

  coreModule.default.directive('topnav', function($rootScope, contextSrv) {
    return {
      restrict: 'E',
      transclude: true,
      scope: {
        title: "@",
        section: "@",
        titleAction: "&",
        subnav: "=",
      },
      template:
        '<div class="navbar navbar-static-top"><div class="navbar-inner"><div class="container-fluid">' +
        '<div class="top-nav">' +
				'<div class="top-nav-btn top-nav-menu-btn">' +
					'<a class="pointer" ng-click="toggle()">' +
						'<span class="top-nav-logo-background">' +
							'<img class="logo-icon" src="img/fav32.png"></img>' +
						'</span>' +
						'<i class="fa fa-caret-down"></i>' +
					'</a>' +
				'</div>' +

        '<span class="icon-circle top-nav-icon">' +
        '<i ng-class="icon"></i>' +
        '</span>' +

        '<span ng-show="section">' +
        '<span class="top-nav-title">{{section}}</span>' +
        '<i class="top-nav-breadcrumb-icon fa fa-angle-right"></i>' +
        '</span>' +
{'fraction_non_alphanumeric': 0.22494226327944572, 'fraction_numerical': 0.0018475750577367205, 'mean_word_length': 2.449044585987261, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '6421824', 'n_tokens_mistral': 772, 'n_tokens_neox': 741, 'n_words': 123}