This repository has been archived by the owner on Nov 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
add-connection-form.component.html
43 lines (43 loc) · 1.92 KB
/
add-connection-form.component.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<div class="create-connection-form-panel panel panel-default">
<h1>Connection Properties</h1>
<div class="panel-body">
<form id="create-connection-form" class="form-horizontal" (submit)="createConnection()" #createConnectionForm="ngForm">
<div class="form-group">
<label class="col-sm-1 control-label" for="name">Name</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="name" required [(ngModel)]="connectionName" name="name">
</div>
</div>
<div class="form-group">
<label class="col-sm-1 control-label" for="dv__jndiName">JNDI Name</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="dv__jndiName" required [(ngModel)]="connectionJndiName" name="jndiName">
</div>
</div>
<div class="form-group">
<label class="col-sm-1 control-label" for="dv__driverName">Driver</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="dv__driverName" [(ngModel)]="connectionDriverName" name="driverName">
</div>
</div>
<div class="form-group">
<label class="col-sm-1 control-label" for="jdbc">JDBC</label>
<div class="col-sm-10">
<input type="checkbox" class="form-control" id="jdbc" [(ngModel)]="connectionIsJdbc" name="jdbc">
</div>
</div>
<hr/>
<div class="form-group">
<div class="col-sm-offset-1 col-sm-10">
<button type="submit" class="btn btn-primary"
[disabled]="creatingConnection">
<span *ngIf="!creatingConnection">Create Connection</span>
<span *ngIf="creatingConnection" class="spinner spinner-xs spinner-inline"></span>
<span *ngIf="creatingConnection">Creating</span>
</button>
<button class="btn btn-default" (click)="cancelAdd()">Cancel</button>
</div>
</div>
</form>
</div>
</div>