mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 23:09:41 +02:00
* port services from ee * fix external link * post review improvements * remove applications-ports-datatable * minor post review updates * add services help url * post review update * more post review updates * post review updates * rename index to component * fix external ip display and sorting * fix external apps tag * fix ingress screen time format * use uid for row id. Prevent blank link * fix some missing bits ported from EE * match ee * fix display of show system resources * remove icon next to service type
27 lines
1,002 B
TypeScript
27 lines
1,002 B
TypeScript
import angular from 'angular';
|
|
|
|
import { r2a } from '@/react-tools/react2angular';
|
|
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
|
import { withReactQuery } from '@/react-tools/withReactQuery';
|
|
import { withUIRouter } from '@/react-tools/withUIRouter';
|
|
import { IngressesDatatableView } from '@/react/kubernetes/ingresses/IngressDatatable';
|
|
import { CreateIngressView } from '@/react/kubernetes/ingresses/CreateIngressView';
|
|
import { ServicesView } from '@/react/kubernetes/ServicesView';
|
|
|
|
export const viewsModule = angular
|
|
.module('portainer.kubernetes.react.views', [])
|
|
.component(
|
|
'kubernetesServicesView',
|
|
r2a(withUIRouter(withReactQuery(withCurrentUser(ServicesView))), [])
|
|
)
|
|
.component(
|
|
'kubernetesIngressesView',
|
|
r2a(
|
|
withUIRouter(withReactQuery(withCurrentUser(IngressesDatatableView))),
|
|
[]
|
|
)
|
|
)
|
|
.component(
|
|
'kubernetesIngressesCreateView',
|
|
r2a(withUIRouter(withReactQuery(withCurrentUser(CreateIngressView))), [])
|
|
).name;
|