// --------------------------------------------------------------------------------------
angular.module('etlog').config(function($stateProvider, $urlRouterProvider) {
  $stateProvider

  .state('search', {
    url: '/search?pn&csi',
    templateUrl: '/partials/search.html',
    title : 'etlog: obecné vyhledávání'
  })

  .state('mac_count', {
    url: '/mac_count',
    templateUrl: '/partials/mac_count.html',
    title : 'etlog: počet zařízení'
  })

  .state('failed_logins', {
    url: '/failed_logins',
    templateUrl: '/partials/failed_logins.html',
    title : 'etlog: neúspěšná přihlášení'
  })

  .state('shared_mac', {
    url: '/shared_mac',
    templateUrl: '/partials/shared_mac.html',
    title : 'etlog: sdílená zařízení'
  })

  .state('graph_test_2', {
    url: '/graph_test_2',
    templateUrl: '/partials/graph_test_2.html',
    title : 'etlog: graph test 2'
  })

  .state('graph_test_3', {
    url: '/graph_test_3',
    templateUrl: '/partials/graph_test_3.html',
    title : 'etlog: graph test 3'
  })

  .state('roaming_most_provided', {
    url: '/roaming_most_provided',
    templateUrl: '/partials/roaming_most_provided.html',
    title : 'etlog: posktovaný roaming - vyhledávání'
  })

  .state('roaming_most_used', {
    url: '/roaming_most_used',
    templateUrl: '/partials/roaming_most_used.html',
    title : 'etlog: čerpaný roaming - vyhledávání'
  })

  .state('heat_map', {
    url: '/heat_map',
    templateUrl: '/partials/heat_map.html',
    title : 'etlog: mapa roamingu'
  })

  .state('orgs_roaming_most_used', {
    url: '/orgs_roaming_most_used',
    templateUrl: '/partials/orgs_roaming_most_used.html',
    title : 'etlog: organizace nejvíce využívající roaming'
  })

  .state('orgs_roaming_most_provided', {
    url: '/orgs_roaming_most_provided',
    templateUrl: '/partials/orgs_roaming_most_provided.html',
    title : 'etlog: organizace nejvíce poskytující konektivitu'
  })

  .state('roaming_activity', {
    url: '/roaming_activity',
    templateUrl: '/partials/roaming_activity.html',
    title : 'etlog: aktivita CZ eduroamu'
  })

  .state('test', {
    url: '/test',
    templateUrl: '/partials/test.html',
    title : 'etlog: test datepickeru'
  })

  .state('detection_data', {
    url: '/detection_data',
    templateUrl: '/partials/detection_data.html',
    title : 'etlog: data k detekci 1'
  })

  .state('detection_data_grouped', {
    url: '/detection_data_grouped',
    templateUrl: '/partials/detection_data_grouped.html',
    title : 'etlog: data k detekci 2'
  })
});
// --------------------------------------------------------------------------------------

@@ -463,867 +463,233 @@
 te('
-failed_logins', %7B%0A    url: '/failed_logins',%0A    templateUrl: '/partials/failed_logins.html',%0A    title : 'etlog: ne%C3%BAsp%C4%9B%C5%A1n%C3%A1 p%C5%99ihl%C3%A1%C5%A1en%C3%AD'%0A  %7D)%0A%0A  .state('shared_mac', %7B%0A    url: '/shared_mac',%0A    templateUrl: '/partials/shared_mac.html',%0A    title : 'etlog: sd%C3%ADlen%C3%A1 za%C5%99%C3%ADzen%C3%AD'%0A  %7D)%0A%0A  .state('graph_test_2', %7B%0A    url: '/graph_test_2',%0A    templateUrl: '/partials/graph_test_2.html',%0A    title : 'etlog: graph test 2'%0A  %7D)%0A%0A  .state('graph_test_3', %7B%0A    url: '/graph_test_3',%0A    templateUrl: '/partials/graph_test_3.html',%0A    title : 'etlog: graph test 3'%0A  %7D)%0A%0A  .state('roaming_most_provided', %7B%0A    url: '/roaming_most_provided',%0A    templateUrl: '/partials/roaming_most_provided.html',%0A    title : 'etlog: posktovan%C3%BD roaming - vyhled%C3%A1v%C3%A1n%C3%AD'%0A  %7D)%0A%0A  .state('roaming_most_used', %7B%0A    url: '/roaming_most_used',%0A    templateUrl: '/partials/roaming_most_used
+shared_mac', %7B%0A    url: '/shared_mac',%0A    templateUrl: '/partials/shared_mac.html',%0A    title : 'etlog: sd%C3%ADlen%C3%A1 za%C5%99%C3%ADzen%C3%AD'%0A  %7D)%0A%0A  .state('failed_logins', %7B%0A    url: '/failed_logins',%0A    templateUrl: '/partials/failed_logins
 .htm
@@ -716,35 +716,26 @@
 og: 
-%C4%8Derpan%C3%BD roaming - vyhled%C3%A1v%C3%A1
+ne%C3%BAsp%C4%9B%C5%A1n%C3%A1 p%C5%99ihl%C3%A1%C5%A1e
 n%C3%AD'%0A
@@ -1445,129 +1445,8 @@
 %7D)%0A%0A
-  .state('test', %7B%0A    url: '/test',%0A    templateUrl: '/partials/test.html',%0A    title : 'etlog: test datepickeru'%0A  %7D)%0A%0A
   .s
@@ -1572,24 +1572,34 @@
 og: 
-data k detekci 1
+absolutn%C3%AD po%C4%8Det p%C5%99ihl%C3%A1%C5%A1en%C3%AD
 '%0A  
@@ -1757,24 +1757,38 @@
 og: 
-data k detekci 2
+normalizovan%C3%BD po%C4%8Det p%C5%99ihl%C3%AD%C5%A1en%C3%AD
 '%0A  

update routes