60 lines
2.1 KiB
HTML
60 lines
2.1 KiB
HTML
|
<!-- Modal -->
|
||
|
<div class="modal fade" id="newdataset-modal-container" role="dialog">
|
||
|
<div class="modal-dialog">
|
||
|
|
||
|
<!-- Modal content-->
|
||
|
<div class="modal-content">
|
||
|
<div class="modal-header">
|
||
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
||
|
<h4 class="modal-title"> Create a new dataset</h4>
|
||
|
</div>
|
||
|
|
||
|
<div class="modal-body">
|
||
|
|
||
|
<div class="container">
|
||
|
|
||
|
<form [formGroup]="newdatasetform" novalidate>
|
||
|
<div class="form-group">
|
||
|
<label class="center-block">Label:
|
||
|
<input class="form-control" formControlName="label">
|
||
|
</label>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="center-block">DMP:
|
||
|
<input class="form-control" formControlName="dmp">
|
||
|
</label>
|
||
|
</div>
|
||
|
|
||
|
<div class="form-group">
|
||
|
<label class="center-block">Uri:
|
||
|
<input class="form-control" formControlName="uri">
|
||
|
</label>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="center-block">Properties:
|
||
|
<textarea class="form-control props" formControlName="properties"></textarea>
|
||
|
</label>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="center-block">Profile:
|
||
|
<input class="form-control" formControlName="profile">
|
||
|
</label>
|
||
|
</div>
|
||
|
<div style="width:540px;">
|
||
|
<button style="float:right;" type="submit" class="btn btn-success" (click)="store()">Submit</button>
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<!--
|
||
|
<p>Form value: {{ newdatasetform.value | json }}</p>
|
||
|
-->
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|