Skip to content

Commit a0f9112

Browse files
committed
add theme fix
1 parent 45cee8d commit a0f9112

File tree

5 files changed

+42
-95
lines changed

5 files changed

+42
-95
lines changed

e2e/protractor.conf.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

e2e/src/app.e2e-spec.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

e2e/src/app.po.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

e2e/tsconfig.e2e.json

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 42 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,45 @@
1-
<div class="row">
2-
<div class="col-12 mb-2">
3-
<form [formGroup]="addForm" (ngSubmit)="onSubmit()">
4-
<div class="form-group mb-2">
5-
<input type="text" formControlName="title" placeholder="Add theme" name="title" class="form-control" id="themeTitle" required>
6-
<div *ngIf="added" class="valid-feedback">
7-
Your record sucesfully added! Thank you!
8-
</div>
9-
<div *ngIf="error" class="invalid-feedback">
10-
{{ error.error.message }}
11-
</div>
12-
</div>
13-
</form>
1+
<div class="row">
2+
<div class="col-2"></div>
3+
<div class="col-8">
4+
<a class="btn btn-outline-warning btn-block mb-3" href="https://www.patreon.com/join/automation_remarks?">Support podcast</a>
5+
</div>
146
</div>
157

16-
<div class="col-12" *ngIf="isAuthorized()">
17-
<table class="table">
18-
<thead>
19-
<tr>
20-
<th>Name</th>
21-
<th>Created at</th>
22-
</tr>
23-
</thead>
24-
<tbody>
25-
<tr *ngFor="let theme of themes">
26-
<td [innerHTML]="theme.title | linkify"></td>
27-
<td>{{ theme.createdAt | date:'hh:mm:ss EEEE dd LLL'}}</td>
28-
</tr>
29-
</tbody>
30-
</table>
8+
<div class="row">
9+
<div class="col-2"></div>
10+
<div class="col-8 mb-2">
11+
<form [formGroup]="addForm" (ngSubmit)="onSubmit()">
12+
<div class="form-group mb-2">
13+
<label for="themeTitle">Theme for the next QAGuild podcast episode</label>
14+
<input type="text" formControlName="title" placeholder="Theme text" name="title" class="form-control" id="themeTitle" required>
15+
<div *ngIf="added" class="valid-feedback">
16+
Your record sucesfully added! Thank you!
17+
</div>
18+
<div *ngIf="error" class="invalid-feedback">
19+
{{ error.error.message }}
20+
</div>
21+
</div>
22+
<button type="submit" class="btn btn-outline-success">Add theme</button>
23+
</form>
24+
</div>
3125
</div>
32-
</div>
26+
27+
<div class="row">
28+
<div class="col-2"></div>
29+
<div class="col-8" *ngIf="isAuthorized()">
30+
<table class="table">
31+
<thead>
32+
<tr>
33+
<th>Name</th>
34+
<th>Created at</th>
35+
</tr>
36+
</thead>
37+
<tbody>
38+
<tr *ngFor="let theme of themes">
39+
<td [innerHTML]="theme.title | linkify"></td>
40+
<td>{{ theme.createdAt | date:'hh:mm:ss EEEE dd LLL'}}</td>
41+
</tr>
42+
</tbody>
43+
</table>
44+
</div>
45+
</div>

0 commit comments

Comments
 (0)