2020-10-05 16:50:23 +02:00
|
|
|
// (C) Copyright 2015 Moodle Pty Ltd.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { RouterModule, Routes } from '@angular/router';
|
2020-10-06 10:48:26 +02:00
|
|
|
|
2020-10-19 15:37:16 +02:00
|
|
|
import { CoreLoginCredentialsPage } from './pages/credentials/credentials.page';
|
2020-10-05 16:50:23 +02:00
|
|
|
import { CoreLoginInitPage } from './pages/init/init.page';
|
2020-10-06 10:48:26 +02:00
|
|
|
import { CoreLoginSitePage } from './pages/site/site.page';
|
2020-10-22 09:46:55 +02:00
|
|
|
import { CoreLoginSitesPage } from './pages/sites/sites.page';
|
2020-10-05 16:50:23 +02:00
|
|
|
|
|
|
|
const routes: Routes = [
|
|
|
|
{
|
|
|
|
path: '',
|
|
|
|
component: CoreLoginInitPage,
|
|
|
|
},
|
2020-10-06 10:48:26 +02:00
|
|
|
{
|
|
|
|
path: 'site',
|
|
|
|
component: CoreLoginSitePage,
|
|
|
|
},
|
2020-10-19 15:37:16 +02:00
|
|
|
{
|
|
|
|
path: 'credentials',
|
|
|
|
component: CoreLoginCredentialsPage,
|
|
|
|
},
|
2020-10-22 09:46:55 +02:00
|
|
|
{
|
|
|
|
path: 'sites',
|
|
|
|
component: CoreLoginSitesPage,
|
|
|
|
},
|
2020-10-05 16:50:23 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [RouterModule.forChild(routes)],
|
|
|
|
exports: [RouterModule],
|
|
|
|
})
|
|
|
|
export class CoreLoginRoutingModule {}
|