Commit ad2b8538 authored by Alexander Philipp Nowosad's avatar Alexander Philipp Nowosad
Browse files

Fix expert models list

parent ad6ece9d
......@@ -11,29 +11,33 @@
</app-delete-modal>
</ng-template>
<main role="main" class="container">
<div class="my-3 p-3 bg-white rounded shadow-sm">
<h6 class="border-bottom border-gray pb-2">Canvas Building Blocks</h6>
<p class="mt-1">
Canvas building blocks are used to represent the knowledge of experts
about a certain domain.
</p>
<app-model-list
class="expert-model-list"
modelListTitle="List of Canvas Building Blocks"
modelFormTitle="Add Canvas Building Block"
(viewModel)="viewExpertModel($event)"
(editModel)="editExpertModel($event)"
(deleteModel)="openDeleteExpertModelModal($event)"
(addModel)="
addExpertModel($event.definition, $event.name, $event.description)
"
></app-model-list>
<div class="nav-scroller bg-white shadow-sm">
<nav class="nav nav-underline">
<a class="nav-link active" [routerLink]="[]">Canvas Building Blocks</a>
</nav>
</div>
<app-model-import-view
formTitle="Import Canvas Building Block"
[importExpertModel]="true"
(imported)="reload()"
></app-model-import-view>
<main role="main" class="container">
<div class="my-3 alert alert-info">
Canvas building blocks are used to represent the knowledge of experts about
a certain domain.
</div>
<app-model-list
class="expert-model-list"
modelListTitle="Canvas Building Blocks"
modelFormTitle="Add Canvas Building Block"
(viewModel)="viewExpertModel($event)"
(editModel)="editExpertModel($event)"
(deleteModel)="openDeleteExpertModelModal($event)"
(addModel)="
addExpertModel($event.definition, $event.name, $event.description)
"
></app-model-list>
<app-model-import-view
formTitle="Import Canvas Building Block"
[importExpertModel]="true"
(imported)="reload()"
></app-model-import-view>
</main>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment