mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
refactor(ui/page-header): make docs url explicit [EE-5966] (#10411)
This commit is contained in:
parent
9e57530bde
commit
35dfde70de
15 changed files with 215 additions and 404 deletions
|
@ -78,6 +78,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
controllerAs: 'ctrl',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/configs',
|
||||
},
|
||||
};
|
||||
|
||||
var config = {
|
||||
|
@ -112,6 +115,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
component: 'customTemplatesView',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/templates/custom',
|
||||
},
|
||||
};
|
||||
|
||||
const customTemplatesNew = {
|
||||
|
@ -149,6 +155,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
controller: 'DashboardController',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/dashboard',
|
||||
},
|
||||
};
|
||||
|
||||
var host = {
|
||||
|
@ -159,6 +168,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
component: 'hostView',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/host',
|
||||
},
|
||||
};
|
||||
|
||||
var hostBrowser = {
|
||||
|
@ -180,6 +192,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
controller: 'EventsController',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/events',
|
||||
},
|
||||
};
|
||||
|
||||
var images = {
|
||||
|
@ -191,6 +206,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
controller: 'ImagesController',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/images',
|
||||
},
|
||||
};
|
||||
|
||||
var image = {
|
||||
|
@ -235,6 +253,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
controller: 'NetworksController',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/networks',
|
||||
},
|
||||
};
|
||||
|
||||
var network = {
|
||||
|
@ -262,6 +283,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
name: 'docker.nodes',
|
||||
url: '/nodes',
|
||||
abstract: true,
|
||||
data: {
|
||||
docs: '/user/docker/swarm',
|
||||
},
|
||||
};
|
||||
|
||||
var node = {
|
||||
|
@ -293,6 +317,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
controller: 'SecretsController',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/secrets',
|
||||
},
|
||||
};
|
||||
|
||||
var secret = {
|
||||
|
@ -326,6 +353,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
controller: 'ServicesController',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/services',
|
||||
},
|
||||
};
|
||||
|
||||
var service = {
|
||||
|
@ -370,6 +400,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
controller: 'StacksController',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/stacks',
|
||||
},
|
||||
};
|
||||
|
||||
var stack = {
|
||||
|
@ -414,6 +447,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
controller: 'SwarmController',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/swarm',
|
||||
},
|
||||
};
|
||||
|
||||
var swarmVisualizer = {
|
||||
|
@ -425,6 +461,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
controller: 'SwarmVisualizerController',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/swarm/cluster-visualizer',
|
||||
},
|
||||
};
|
||||
|
||||
var tasks = {
|
||||
|
@ -464,6 +503,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
controller: 'TemplatesController',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/templates',
|
||||
},
|
||||
};
|
||||
|
||||
var volumes = {
|
||||
|
@ -475,6 +517,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
controller: 'VolumesController',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/volumes',
|
||||
},
|
||||
};
|
||||
|
||||
var volume = {
|
||||
|
@ -518,6 +563,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
component: 'dockerFeaturesConfigurationView',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/host/setup',
|
||||
},
|
||||
};
|
||||
|
||||
const swarmFeaturesConfiguration = {
|
||||
|
@ -528,6 +576,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
component: 'dockerFeaturesConfigurationView',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/swarm/setup',
|
||||
},
|
||||
};
|
||||
|
||||
const dockerRegistries = {
|
||||
|
@ -538,6 +589,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
component: 'endpointRegistriesView',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/host/registries',
|
||||
},
|
||||
};
|
||||
|
||||
const swarmRegistries = {
|
||||
|
@ -548,6 +602,9 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
component: 'endpointRegistriesView',
|
||||
},
|
||||
},
|
||||
data: {
|
||||
docs: '/user/docker/swarm/registries',
|
||||
},
|
||||
};
|
||||
|
||||
const dockerRegistryAccess = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue