29 lines
1.5 KiB
HTML
29 lines
1.5 KiB
HTML
<div class="ui-g dynamic-formc full-width full-height">
|
|
<ng-sidebar-container contentClass="scrollableContent">
|
|
<ng-sidebar mode="push" position="right" [(opened)]="visibleSidebar">
|
|
<table-of-content class="toc-container full-height" [model]="dataModel"></table-of-content>
|
|
</ng-sidebar>
|
|
|
|
<div class="ui-g" ng-sidebar-content>
|
|
<button type="button" style="margin: 15px;" class="btn btn-primary" (click)="toggleSidebar()" icon="fa-arrow-left">Table Of Contents</button>
|
|
<button type="button" style="margin-top: 15px;margin-bottom: 15px;margin-right: 15px;" class="btn btn-primary" (click)="submit();">Save and Finalize</button>
|
|
<progress-bar class="ui-g" *ngIf="progressbar" [formGroup]=form></progress-bar>
|
|
<div class="ui-g-12">
|
|
<p-steps [model]="stepperItems" [activeIndex]="this.currentPageIndex" (activeIndexChange)="changePageIndex($event)" [readonly]="false"></p-steps>
|
|
</div>
|
|
<div class="ui-g-12">
|
|
<progress-bar *ngIf="form" [formGroup]="form"></progress-bar>
|
|
</div>
|
|
<div class="col-md-12 form-body-container" id="form-container">
|
|
|
|
<form *ngIf="form" novalidate [formGroup]="form" (ngSubmit)="onSubmit()">
|
|
|
|
<div *ngFor="let section of dataModel.sections; let i = index;">
|
|
<df-section *ngIf='this.shouldDisplaySection(section)' [section]="section" [form]="form.get('sections').get(''+i)" [path]="i+1"
|
|
[pathName]="'sections.'+i"></df-section>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</ng-sidebar-container>
|
|
</div> |