template menu added : kdk

This commit is contained in:
dineshkumarkannan 2018-10-22 17:28:45 +05:30
parent 375af650ec
commit f27ec29900
2 changed files with 8 additions and 8 deletions

View File

@ -179,7 +179,7 @@
</div>--> </div>-->
<mat-card style="padding: 6px;"> <!--<mat-card style="padding: 6px;">
<div fxLayout="row" fxLayoutAlign="end start"> <div fxLayout="row" fxLayoutAlign="end start">
<button mat-raised-button mat-icon-button color="primary" class="mr-1 mb-1 hover-icon" matTooltip="Close" matTooltipPosition="above" <button mat-raised-button mat-icon-button color="primary" class="mr-1 mb-1 hover-icon" matTooltip="Close" matTooltipPosition="above"
(click)="backToList()"><mat-icon>close</mat-icon></button> (click)="backToList()"><mat-icon>close</mat-icon></button>
@ -187,8 +187,7 @@
<mat-card style="padding: 6px;"> <mat-card style="padding: 6px;">
<h6>Template Name</h6> <h6>Template Name</h6>
<hr> <hr>
<!----> <div>
<div *ngIf="templateNameRecord">
<form [formGroup]="_editTempNameFrom" (submit)="onSubmit()"> <form [formGroup]="_editTempNameFrom" (submit)="onSubmit()">
<div fxLayout="row" fxLayoutWrap fxLayoutGap="0.5%" fxLayoutAlign="start center"> <div fxLayout="row" fxLayoutWrap fxLayoutGap="0.5%" fxLayoutAlign="start center">
<mat-form-field class="ml-xs"> <mat-form-field class="ml-xs">
@ -202,7 +201,7 @@
</div> </div>
</form> </form>
</div> </div>
<div *ngIf="noTemplateNameFound"> No Template Name Found.</div> <div> No Template Name Found.</div>
</mat-card> </mat-card>
<mat-card> <mat-card>
<mat-tab-group> <mat-tab-group>
@ -213,7 +212,7 @@
</ng-template> </ng-template>
</mat-tab> </mat-tab>
<!--<mat-tab label="Category"> <mat-tab label="Category">
<ng-template matTabContent> <ng-template matTabContent>
<app-template-edit-category [questionId]="question_id"> <app-template-edit-category [questionId]="question_id">
</app-template-edit-category> </app-template-edit-category>
@ -224,8 +223,8 @@
<app-template-edit-question-answer [questionId]="question_id"> <app-template-edit-question-answer [questionId]="question_id">
</app-template-edit-question-answer> </app-template-edit-question-answer>
</ng-template> </ng-template>
</mat-tab>--> </mat-tab>
</mat-tab-group> </mat-tab-group>
</mat-card> </mat-card>
</mat-card> </mat-card>-->

View File

@ -64,7 +64,8 @@ const MENUITEMS : Menu[] = [
type: 'sub', type: 'sub',
icon: 'art_track', icon: 'art_track',
children: [ children: [
{state: 'questions', name: 'Questions'} {state: 'questions', name: 'Questions'},
{state: 'templates', name: 'Templates'}
] ]
} }
] ]