Skip to content

Commit ce2f988

Browse files
rkuffervsct-jburet
authored andcommitted
[Tock Studio] Fix submit button styling on Settings > Synchronization
1 parent 7a27c0b commit ce2f988

File tree

1 file changed

+82
-42
lines changed

1 file changed

+82
-42
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,95 @@
1+
<h1>Synchronize BOTS contents (configuration)</h1>
12

23
<nb-card>
3-
<nb-card-header>
4-
<div style="display: flex">
5-
<span>Synchronize BOTS contents (configuration)</span>
6-
</div>
7-
</nb-card-header>
84
<nb-card-body>
95
<table>
106
<thead>
11-
<tr>
12-
<td colspan="2">FROM</td>
13-
<td colspan="2">TO</td>
14-
</tr>
7+
<tr>
8+
<td colspan="2">FROM</td>
9+
<td colspan="2">TO</td>
10+
</tr>
1511
</thead>
1612
<tbody>
17-
<tr>
18-
<td><nb-select class="sync-select"
19-
placeholder="Source Namespace"
20-
[(selected)]="this.sourceNamespace"
21-
(selectedChange)="selectSourceNamespace(this.sourceNamespace)"
22-
>
23-
<nb-option *ngFor="let namespace of namespaces" [value]="namespace">{{namespace.namespace}}</nb-option>
24-
</nb-select></td>
25-
<td rowspan="3"><nb-icon class="arrow-right" icon="arrow-right"></nb-icon></td>
26-
<td><nb-select class="sync-select"
27-
placeholder="Target Namespace"
28-
[(selected)]="this.targetNamespace"
29-
(selectedChange)="selectTargetNamespace(this.targetNamespace)"
30-
>
31-
<nb-option *ngFor="let namespace of namespaces" [value]="namespace">{{namespace.namespace}}</nb-option>
32-
</nb-select></td>
33-
</tr>
34-
<tr>
35-
<td><nb-select class="sync-select"
36-
placeholder="Source Application"
37-
[(selected)]="this.sourceApplication"
38-
>
39-
<nb-option *ngFor="let app of sourceApplications" [value]="app">{{app.name}}</nb-option>
40-
</nb-select></td>
41-
<td><nb-select class="sync-select"
42-
placeholder="Target Application"
43-
[(selected)]="this.targetApplication"
44-
>
45-
<nb-option *ngFor="let app of targetApplications" [value]="app">{{app.name}}</nb-option>
46-
</nb-select></td>
47-
</tr>
13+
<tr>
14+
<td>
15+
<nb-select
16+
class="sync-select"
17+
placeholder="Source Namespace"
18+
[(selected)]="this.sourceNamespace"
19+
(selectedChange)="selectSourceNamespace(this.sourceNamespace)"
20+
>
21+
<nb-option
22+
*ngFor="let namespace of namespaces"
23+
[value]="namespace"
24+
>{{ namespace.namespace }}</nb-option
25+
>
26+
</nb-select>
27+
</td>
28+
<td rowspan="3">
29+
<nb-icon
30+
class="arrow-right"
31+
icon="arrow-right"
32+
></nb-icon>
33+
</td>
34+
<td>
35+
<nb-select
36+
class="sync-select"
37+
placeholder="Target Namespace"
38+
[(selected)]="this.targetNamespace"
39+
(selectedChange)="selectTargetNamespace(this.targetNamespace)"
40+
>
41+
<nb-option
42+
*ngFor="let namespace of namespaces"
43+
[value]="namespace"
44+
>{{ namespace.namespace }}</nb-option
45+
>
46+
</nb-select>
47+
</td>
48+
</tr>
49+
<tr>
50+
<td>
51+
<nb-select
52+
class="sync-select"
53+
placeholder="Source Application"
54+
[(selected)]="this.sourceApplication"
55+
>
56+
<nb-option
57+
*ngFor="let app of sourceApplications"
58+
[value]="app"
59+
>{{ app.name }}</nb-option
60+
>
61+
</nb-select>
62+
</td>
63+
<td>
64+
<nb-select
65+
class="sync-select"
66+
placeholder="Target Application"
67+
[(selected)]="this.targetApplication"
68+
>
69+
<nb-option
70+
*ngFor="let app of targetApplications"
71+
[value]="app"
72+
>{{ app.name }}</nb-option
73+
>
74+
</nb-select>
75+
</td>
76+
</tr>
4877
</tbody>
4978
</table>
50-
<nb-toggle status="primary" [(ngModel)]="this.shouldSynchronizeInboxMessages" nbTooltip="Copy inbox messages">Copy inbox messages </nb-toggle>
79+
<nb-toggle
80+
status="primary"
81+
[(ngModel)]="this.shouldSynchronizeInboxMessages"
82+
nbTooltip="Copy inbox messages"
83+
>Copy inbox messages
84+
</nb-toggle>
5185
<div>
52-
<button mat-raised-button color="primary" (click)="copyConfiguration()">Copy</button>
86+
<button
87+
nbButton
88+
status="primary"
89+
(click)="copyConfiguration()"
90+
>
91+
Copy
92+
</button>
5393
</div>
5494
</nb-card-body>
5595
</nb-card>

0 commit comments

Comments
 (0)