Skip to content
Snippets Groups Projects
Select Git revision
  • e71ac6a6c43bcac02192fa8321b22d66e287a114
  • master default protected
  • chrome-manifest-v3
  • feature/migrate-cordova-13
  • feat/improve-network-scan
  • feat/force-migration-check
  • develop
  • feature/encrypted_comment
  • feature/android_api_19
  • gitlab_migration_1
  • rml8
  • v1.7.15-rc1
  • v1.7.14
  • v1.7.13
  • v1.7.12
  • v1.7.11
  • v1.7.10
  • v1.7.9
  • v1.7.8
  • v1.7.7
  • v1.7.6
  • v1.7.5
  • v1.7.4
  • v1.7.3
  • v1.7.2
  • v1.7.1
  • v1.7.0
  • v1.7.0-rc2
  • v1.7.0-rc1
  • v1.6.12
  • v1.6.11
31 results

wot-controllers.js

  • wot-controllers.js 26.50 KiB
    angular.module('cesium.wot.controllers', ['cesium.services'])
    
      .config(function($stateProvider) {
        'ngInject';
        $stateProvider
    
          .state('app.wot_lookup', {
            url: "/wot?q&type&hash",
            views: {
              'menuContent': {
                templateUrl: "templates/wot/lookup.html",
                controller: 'WotLookupCtrl'
              }
            }
          })
    
          .state('app.wot_identity', {
            url: "/wot/:pubkey/:uid",
            views: {
              'menuContent': {
                templateUrl: "templates/wot/view_identity.html",
                controller: 'WotIdentityViewCtrl'
              }
            }
          })
    
          .state('app.wot_cert', {
            url: "/wot/:pubkey/:uid/:type",
            views: {
              'menuContent': {
                templateUrl: "templates/wot/view_certifications.html",
                controller: 'WotCertificationsViewCtrl'
              }
            },
            data: {
              large: 'app.wot_cert_lg'
            }
          })
    
          .state('app.wot_cert_lg', {
            url: "/wot/cert/lg/:pubkey/:uid",
            views: {
              'menuContent': {
                templateUrl: "templates/wot/view_certifications.html",
                controller: 'WotCertificationsViewCtrl'
              }
            }
          })
    
          // wallet cert
          .state('app.wallet_cert', {
            url: "/wallet/cert/:type",
            views: {
              'menuContent': {
                templateUrl: "templates/wot/view_certifications.html",
                controller: 'WotCertificationsViewCtrl'
              }
            },
            data: {
              large: 'app.wallet_cert_lg'
            }
          })
    
          .state('app.wallet_cert_lg', {
            url: "/wallet/cert/lg",
            views: {
              'menuContent': {
                templateUrl: "templates/wot/view_certifications.html",
                controller: 'WotCertificationsViewCtrl'
              }