updates
This commit is contained in:
parent
309dcaf0b4
commit
cdd97441e9
2 changed files with 11 additions and 0 deletions
|
|
@ -21,5 +21,9 @@ export const routes: Routes = [
|
||||||
{
|
{
|
||||||
path: 'onboarding',
|
path: 'onboarding',
|
||||||
loadComponent: () => import('./onboarding/onboarding.component').then(m => m.OnboardingComponent)
|
loadComponent: () => import('./onboarding/onboarding.component').then(m => m.OnboardingComponent)
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'jellyfin',
|
||||||
|
loadComponent: () => import('./jellyfin/jellyfin.component').then(m => m.JellyfinComponent)
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,9 @@ interface TrayStatus {
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer class="tray-footer">
|
<footer class="tray-footer">
|
||||||
|
<button class="btn btn--secondary btn--sm" (click)="openJellyfin()">
|
||||||
|
Jellyfin
|
||||||
|
</button>
|
||||||
<button class="btn btn--secondary btn--sm" (click)="toggleRunning()">
|
<button class="btn btn--secondary btn--sm" (click)="toggleRunning()">
|
||||||
{{ status.running ? 'Pause' : 'Start' }}
|
{{ status.running ? 'Pause' : 'Start' }}
|
||||||
</button>
|
</button>
|
||||||
|
|
@ -293,4 +296,8 @@ export class TrayComponent implements OnInit, OnDestroy {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
openJellyfin() {
|
||||||
|
window.location.assign('/jellyfin');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue