mirror of
https://github.com/adityachandelgit/BookLore.git
synced 2026-01-01 07:20:24 -06:00
Add OPDS setup and usage documentation (#1274)
This commit is contained in:
@@ -3,6 +3,12 @@
|
||||
<h2 class="settings-title">
|
||||
<i class="pi pi-server"></i>
|
||||
OPDS Settings (New)
|
||||
<i class="pi pi-external-link external-link-icon"
|
||||
pTooltip="Click to view OPDS setup documentation"
|
||||
tooltipPosition="right"
|
||||
(click)="navigateToOpdsDoc()"
|
||||
style="cursor: pointer;">
|
||||
</i>
|
||||
</h2>
|
||||
<p class="settings-description">
|
||||
Manage your OPDS credentials and control how your book collection is shared with reading apps.
|
||||
|
||||
@@ -34,6 +34,11 @@
|
||||
color: var(--p-primary-color);
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.external-link-icon {
|
||||
color: #0ea5e9 !important;
|
||||
font-size: 0.875rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
|
||||
@@ -203,6 +203,10 @@ export class OpdsSettingsV2 implements OnInit, OnDestroy {
|
||||
this.messageService.add({severity, summary, detail});
|
||||
}
|
||||
|
||||
navigateToOpdsDoc(): void {
|
||||
window.open('https://booklore-app.github.io/booklore-docs/docs/integration/opds', '_blank');
|
||||
}
|
||||
|
||||
ngOnDestroy(): void {
|
||||
this.destroy$.next();
|
||||
this.destroy$.complete();
|
||||
|
||||
Reference in New Issue
Block a user