This commit is contained in:
parent
09391a0372
commit
83007b7166
|
@ -1,5 +1,8 @@
|
||||||
<div class="panel-body">
|
<div class="col-md-8 col-sm-9">
|
||||||
<div class="col-md-8 col-sm-9">
|
|
||||||
|
|
||||||
|
<div class="panel-body">
|
||||||
|
|
||||||
<form [formGroup]="form" (ngSubmit)="onSubmit()" novalidate>
|
<form [formGroup]="form" (ngSubmit)="onSubmit()" novalidate>
|
||||||
|
|
||||||
<div *ngFor = "let section of dataModel.sections; let i = index;">
|
<div *ngFor = "let section of dataModel.sections; let i = index;">
|
||||||
|
@ -38,25 +41,7 @@
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
<p>Form value: {{ form.value | json }}</p>
|
<p>Form value: {{ form.value | json }}</p>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-md-4 col-sm-3">
|
|
||||||
<div ngDraggable style="top:60;"> <!--position:fixed; to ekana sxolio gia na ginetai responsive-->
|
|
||||||
<div class="panel panel-default" >
|
|
||||||
<div class="panel-heading" data-toggle="collapse" href="#collapse-panel">
|
|
||||||
<h4>Table of contents:</h4>
|
|
||||||
</div>
|
|
||||||
<div class="panel-body" id="collapse-panel" class="panel-collapse">
|
|
||||||
<div *ngIf="dataModel.groups.length">
|
|
||||||
<toc [dataModel]="dataModel" (setPage)="setPage($event)"></toc>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
|
@ -66,11 +51,11 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
-->
|
-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<!-- pagination -->
|
<!-- pagination -->
|
||||||
<ul *ngIf="pagination.pages && pagination.pages.length" class="pagination">
|
<ul *ngIf="pagination.pages && pagination.pages.length" class="pagination">
|
||||||
<li [ngClass]="{disabled:pagination.currentPage === 1}">
|
<li [ngClass]="{disabled:pagination.currentPage === 1}">
|
||||||
|
@ -89,19 +74,33 @@
|
||||||
<a (click)="setPage(pagination.totalPages)" class="cursor-link">Last</a>
|
<a (click)="setPage(pagination.totalPages)" class="cursor-link">Last</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="panel-footer">
|
<div class="panel-footer">
|
||||||
<div class="progress">
|
<div class="progress">
|
||||||
<div class="progress-bar" role="progressbar" aria-valuenow= ""
|
<div class="progress-bar" role="progressbar" aria-valuenow= "" aria-valuemin="0" aria-valuemax="100" [ngStyle]="{'width': dirtyValues + '%'}">
|
||||||
aria-valuemin="0" aria-valuemax="100" [ngStyle]="{'width': dirtyValues + '%'}">
|
|
||||||
{{dirtyValues}}%
|
{{dirtyValues}}%
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <button type="button" class="btn btn-info" onclick="signOut();">Sign out</button> -->
|
|
||||||
<a href="#" (click)="signOut2();">Sign out</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="col-md-4 col-sm-3" > <!-- style="overflow:scroll; height: 100%;" *ngIf="dataModel.groups.length" -->
|
||||||
|
<div > <!-- ngDraggable style="top:60; position:fixed;" to ekana sxolio gia na ginetai responsive-->
|
||||||
|
<div class="panel panel-default" >
|
||||||
|
<div class="panel-heading" data-toggle="collapse" href="#collapse-panel">
|
||||||
|
<h4>Table of contents:</h4>
|
||||||
|
</div>
|
||||||
|
<div class="panel-body" id="collapse-panel" class="panel-collapse">
|
||||||
|
<toc [dataModel]="dataModel" (setPage)="setPage($event)"></toc>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!--Modal for Confirmation -->
|
<!--Modal for Confirmation -->
|
||||||
<div class="modal fade" id="confirmModal" tabindex="-1" role="dialog" aria-labelledby="newVersionDmpModalLabel" aria-hidden="true">
|
<div class="modal fade" id="confirmModal" tabindex="-1" role="dialog" aria-labelledby="newVersionDmpModalLabel" aria-hidden="true">
|
||||||
<div class="modal-dialog" role="document">
|
<div class="modal-dialog" role="document">
|
||||||
|
|
|
@ -51,7 +51,8 @@ export class DynamicFormComponent implements OnInit {
|
||||||
private fragment: string;
|
private fragment: string;
|
||||||
xml2jsonOBJ: any;
|
xml2jsonOBJ: any;
|
||||||
|
|
||||||
|
expandedForm : boolean = false;
|
||||||
|
expandedToc : boolean = true;
|
||||||
|
|
||||||
|
|
||||||
constructor(private qcs: FieldControlService, private serverService: ServerService, private dataModelService: dataModelBuilder, private router: Router,
|
constructor(private qcs: FieldControlService, private serverService: ServerService, private dataModelService: dataModelBuilder, private router: Router,
|
||||||
|
|
Loading…
Reference in New Issue