new-is-app-with-new-msro #13
|
@ -9,6 +9,8 @@ import { ContextViewerComponent, ContextsComponent } from './contexts/contexts.c
|
|||
import { DsmSearchComponent, DsmResultsComponent, DsmApiComponent } from './dsm/dsm.component';
|
||||
import { MdstoreInspectorComponent, MdstoresComponent } from './mdstores/mdstores.component';
|
||||
import { CleanerTesterComponent } from './cleaner-tester/cleaner-tester.component';
|
||||
import { EmailsComponent } from './emails/emails.component';
|
||||
import { WfsComponent } from './wfs/wfs.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{ path: "", redirectTo: 'info', pathMatch: 'full' },
|
||||
|
@ -17,6 +19,8 @@ const routes: Routes = [
|
|||
{ path: "adv_resources/context", component: ContextsComponent },
|
||||
{ path: "adv_resources/vocabulary", component: VocabulariesComponent },
|
||||
{ path: "adv_resources/protocol", component: ProtocolsComponent },
|
||||
{ path: "adv_resources/email", component: EmailsComponent },
|
||||
{ path: "wfs", component: WfsComponent },
|
||||
{ path: "wf_history", component: WfHistoryComponent },
|
||||
{ path: "ctx_viewer", component: ContextViewerComponent },
|
||||
{ path: "voc_editor", component: VocabularyEditorComponent },
|
||||
|
|
|
@ -36,6 +36,8 @@ import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|||
import { SpinnerHttpInterceptor } from './common/spinner.service';
|
||||
import { MdstoresComponent, MdstoreInspectorComponent, MDStoreVersionsDialog, AddMDStoreDialog } from './mdstores/mdstores.component';
|
||||
import { CleanerTesterComponent } from './cleaner-tester/cleaner-tester.component';
|
||||
import { EmailsComponent } from './emails/emails.component';
|
||||
import { WfsComponent } from './wfs/wfs.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
|
@ -66,7 +68,9 @@ import { CleanerTesterComponent } from './cleaner-tester/cleaner-tester.componen
|
|||
MdstoreInspectorComponent,
|
||||
MDStoreVersionsDialog,
|
||||
AddMDStoreDialog,
|
||||
CleanerTesterComponent
|
||||
CleanerTesterComponent,
|
||||
EmailsComponent,
|
||||
WfsComponent
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<p>emails works!</p>
|
|
@ -0,0 +1,10 @@
|
|||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-emails',
|
||||
templateUrl: './emails.component.html',
|
||||
styleUrls: ['./emails.component.css']
|
||||
})
|
||||
export class EmailsComponent {
|
||||
|
||||
}
|
|
@ -51,6 +51,15 @@
|
|||
</div>
|
||||
</mat-expansion-panel>
|
||||
|
||||
<mat-expansion-panel>
|
||||
<mat-expansion-panel-header>
|
||||
<mat-panel-title>Workflows</mat-panel-title>
|
||||
</mat-expansion-panel-header>
|
||||
<div>
|
||||
<a class="menu-item" routerLink="wfs">Workflows</a>
|
||||
</div>
|
||||
</mat-expansion-panel>
|
||||
|
||||
<mat-expansion-panel>
|
||||
<mat-expansion-panel-header>
|
||||
<mat-panel-title>Tools</mat-panel-title>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<p>wfs works!</p>
|
|
@ -0,0 +1,10 @@
|
|||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-wfs',
|
||||
templateUrl: './wfs.component.html',
|
||||
styleUrls: ['./wfs.component.css']
|
||||
})
|
||||
export class WfsComponent {
|
||||
|
||||
}
|
|
@ -178,6 +178,14 @@ CREATE VIEW resource_types_view AS (
|
|||
count(*) AS count,
|
||||
false AS simple
|
||||
FROM protocols
|
||||
) UNION ALL (
|
||||
SELECT
|
||||
'email' AS id,
|
||||
'Email templates' AS name,
|
||||
'text/plain' AS content_type,
|
||||
count(*) AS count,
|
||||
false AS simple
|
||||
FROM emails
|
||||
);
|
||||
|
||||
CREATE TABLE mdstores (
|
||||
|
|
Loading…
Reference in New Issue