\ No newline at end of file
diff --git a/src/app/components/archive-viewer/archive-viewer.component.html b/src/app/components/archive-viewer/archive-viewer.component.html
index a25f151..29401f9 100644
--- a/src/app/components/archive-viewer/archive-viewer.component.html
+++ b/src/app/components/archive-viewer/archive-viewer.component.html
@@ -3,75 +3,68 @@
Filter
-
\ No newline at end of file
diff --git a/src/app/components/custom-playlists/custom-playlists.component.html b/src/app/components/custom-playlists/custom-playlists.component.html
index 4a80cd2..2b8a721 100644
--- a/src/app/components/custom-playlists/custom-playlists.component.html
+++ b/src/app/components/custom-playlists/custom-playlists.component.html
@@ -1,13 +1,18 @@
-
0">
+@if (playlists) {
+
-
-
-
-
-
+
+ @for (playlist of playlists; track playlist; let i = $index) {
+
+
+
+ } @empty {
+
+ No playlists available. Create one from your downloading files by clicking the blue plus button.
+
+ }
+
-
-
- No playlists available. Create one from your downloading files by clicking the blue plus button.
-
+
+}
\ No newline at end of file
diff --git a/src/app/components/downloads/downloads.component.html b/src/app/components/downloads/downloads.component.html
index 5c11a12..7005015 100644
--- a/src/app/components/downloads/downloads.component.html
+++ b/src/app/components/downloads/downloads.component.html
@@ -1,97 +1,102 @@
\ No newline at end of file
+@if ((!downloads || downloads.length === 0) && downloads_retrieved && !uids) {
+
+
No downloads available!
+
+}
\ No newline at end of file
diff --git a/src/app/components/login/login.component.html b/src/app/components/login/login.component.html
index 0569a8a..bd7cbe6 100644
--- a/src/app/components/login/login.component.html
+++ b/src/app/components/login/login.component.html
@@ -1,46 +1,55 @@
-
-
-
-
- User name
-
-
-
-
-
- Password
-
-
-
-
-
-
-
- User name
-
-
-
-
-
- Password
-
-
-
-
-
- Confirm Password
-
-
-
-
-
-
-
-
+
+
+
+
+ User name
+
+
+
+
+
+ Password
+
+
+
+
+ @if (registrationEnabled) {
+
+
+
+ User name
+
+
+
+
+
+ Password
+
+
+
+
+
+ Confirm Password
+
+
+
+
+ }
+
+ @if (selectedTabIndex === 0) {
+
+
+ @if (loggingIn) {
+
+ }
-
-
-
+ } @else {
+
+
+ @if (registering) {
+
+ }
+ }
\ No newline at end of file
diff --git a/src/app/components/logs-viewer/logs-viewer.component.html b/src/app/components/logs-viewer/logs-viewer.component.html
index e10cf2b..fab77f8 100644
--- a/src/app/components/logs-viewer/logs-viewer.component.html
+++ b/src/app/components/logs-viewer/logs-viewer.component.html
@@ -1,37 +1,38 @@
-
-
+ @if (logs_loading) {
+
+
-
-
-
-
-
-
- {{log.text}}
-
+ }
+
+
+
+
+ @for (log of logs; track log) {
+
+ {{log.text}}
-
-
-
-
- Lines:
-
-
- 10
- 25
- 50
- 100
- All
-
-
-
-
-
-
-
+ }
+
+
+
+
+ Lines:
+
+
+ 10
+ 25
+ 50
+ 100
+ All
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/app/components/manage-role/manage-role.component.html b/src/app/components/manage-role/manage-role.component.html
index 2e45c17..bcba672 100644
--- a/src/app/components/manage-role/manage-role.component.html
+++ b/src/app/components/manage-role/manage-role.component.html
@@ -1,17 +1,19 @@
-
Manage role - {{role.key}}
-
-
-
+@if (role) {
+
Manage role - {{role.key}}
+
+ @for (permission of available_permissions; track permission) {
+
\ No newline at end of file
diff --git a/src/app/components/notifications/notifications.component.html b/src/app/components/notifications/notifications.component.html
index 0e6f6c0..b4e40c6 100644
--- a/src/app/components/notifications/notifications.component.html
+++ b/src/app/components/notifications/notifications.component.html
@@ -1,10 +1,16 @@
-
diff --git a/src/app/components/see-more/see-more.component.html b/src/app/components/see-more/see-more.component.html
index 724b05c..e84fa15 100644
--- a/src/app/components/see-more/see-more.component.html
+++ b/src/app/components/see-more/see-more.component.html
@@ -1,11 +1,14 @@
-
-
- See more.
-
-
- See less.
-
-
+
+ @if (!see_more_active) {
+
+ See more.
+
+ } @else {
+
+ See less.
+
+ }
+
\ No newline at end of file
diff --git a/src/app/components/skip-ad-button/skip-ad-button.component.html b/src/app/components/skip-ad-button/skip-ad-button.component.html
index aeb172e..51b192a 100644
--- a/src/app/components/skip-ad-button/skip-ad-button.component.html
+++ b/src/app/components/skip-ad-button/skip-ad-button.component.html
@@ -1 +1,3 @@
-Skip ad
\ No newline at end of file
+@if (show_skip_ad_button) {
+ Skip ad
+}
\ No newline at end of file
diff --git a/src/app/components/sort-property/sort-property.component.html b/src/app/components/sort-property/sort-property.component.html
index a4f055d..5cdf104 100644
--- a/src/app/components/sort-property/sort-property.component.html
+++ b/src/app/components/sort-property/sort-property.component.html
@@ -1,14 +1,16 @@
\ No newline at end of file
diff --git a/src/app/components/task-settings/task-settings.component.html b/src/app/components/task-settings/task-settings.component.html
index 9894c7e..514e193 100644
--- a/src/app/components/task-settings/task-settings.component.html
+++ b/src/app/components/task-settings/task-settings.component.html
@@ -1,29 +1,31 @@
Task settings - {{task.title}}
-
-
-
- Delete files older than
-
- days
-
-
- Blacklist all files
-
-
- Blacklist deleted subscription files
-
-
-
+ @if (task_key === 'delete_old_files') {
- Do not ask for confirmation
+
+ Delete files older than
+
+ days
+
+
+ Blacklist all files
+
+
+ Blacklist deleted subscription files
+
+ }
+
+ Do not ask for confirmation
+
-
-
- Cancel
- Close
-
- Save
+
+ @if (optionsChanged()) {
+ Cancel
+ } @else {
+ Close
+ }
+
+ Save
\ No newline at end of file
diff --git a/src/app/components/tasks/tasks.component.html b/src/app/components/tasks/tasks.component.html
index 1264d8d..25b4dfa 100644
--- a/src/app/components/tasks/tasks.component.html
+++ b/src/app/components/tasks/tasks.component.html
@@ -1,104 +1,114 @@
+}
\ No newline at end of file
diff --git a/src/app/components/twitch-chat/twitch-chat.component.html b/src/app/components/twitch-chat/twitch-chat.component.html
index 43fbac0..1a08b95 100644
--- a/src/app/components/twitch-chat/twitch-chat.component.html
+++ b/src/app/components/twitch-chat/twitch-chat.component.html
@@ -1,12 +1,17 @@
-
+@if (visible_chat) {
+
Twitch Chat
-
+ @for (chat of visible_chat; track chat; let last = $last) {
+