mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
* begin subnav implementation * implement subnav AND angular forms for comparison * unions working-ish, list of enums working * new form approach almost complete * finish new forms approach for action inputs and config * expandable list items and handlebars display * Config animation (#394) * config cammel * config animation Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com> * improve server settings inputs, still needs work * delete all notifications, styling, and bugs * contracted by default Co-authored-by: Drew Ansbacher <drew.ansbacher@gmail.com> Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
48 lines
1.4 KiB
TypeScript
48 lines
1.4 KiB
TypeScript
import { NgModule } from '@angular/core'
|
|
import { Routes, RouterModule } from '@angular/router'
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path: '',
|
|
redirectTo: 'list',
|
|
pathMatch: 'full',
|
|
},
|
|
{
|
|
path: 'list',
|
|
loadChildren: () => import('./app-list/app-list.module').then(m => m.AppListPageModule),
|
|
},
|
|
{
|
|
path: ':pkgId',
|
|
loadChildren: () => import('./app-show/app-show.module').then(m => m.AppShowPageModule),
|
|
},
|
|
{
|
|
path: ':pkgId/actions',
|
|
loadChildren: () => import('./app-actions/app-actions.module').then(m => m.AppActionsPageModule),
|
|
},
|
|
{
|
|
path: ':pkgId/instructions',
|
|
loadChildren: () => import('./app-instructions/app-instructions.module').then(m => m.AppInstructionsPageModule),
|
|
},
|
|
{
|
|
path: ':pkgId/interfaces',
|
|
loadChildren: () => import('./app-interfaces/app-interfaces.module').then(m => m.AppInterfacesPageModule),
|
|
},
|
|
{
|
|
path: ':pkgId/logs',
|
|
loadChildren: () => import('./app-logs/app-logs.module').then(m => m.AppLogsPageModule),
|
|
},
|
|
{
|
|
path: ':pkgId/metrics',
|
|
loadChildren: () => import('./app-metrics/app-metrics.module').then(m => m.AppMetricsPageModule),
|
|
},
|
|
{
|
|
path: ':pkgId/properties',
|
|
loadChildren: () => import('./app-properties/app-properties.module').then(m => m.AppPropertiesPageModule),
|
|
},
|
|
]
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule],
|
|
})
|
|
export class AppsRoutingModule { } |