Add guide for obtaining a Hardcover API token (#1272)
This commit is contained in:
+12
-4
@@ -49,7 +49,7 @@
|
|||||||
placeholder="Paste your Amazon cookie"
|
placeholder="Paste your Amazon cookie"
|
||||||
fluid
|
fluid
|
||||||
class="max-w-[60rem]"
|
class="max-w-[60rem]"
|
||||||
[(ngModel)]="amazonCookie" />
|
[(ngModel)]="amazonCookie"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -86,7 +86,15 @@
|
|||||||
|
|
||||||
<div class="provider-config">
|
<div class="provider-config">
|
||||||
<div class="config-field">
|
<div class="config-field">
|
||||||
<label class="config-label">API Token</label>
|
<div class="config-label-row">
|
||||||
|
<label class="config-label">API Token</label>
|
||||||
|
<i class="pi pi-external-link external-link-icon"
|
||||||
|
pTooltip="Click to view Hardcover API documentation"
|
||||||
|
tooltipPosition="right"
|
||||||
|
(click)="navigateToHardcoverTokenDocumentation()"
|
||||||
|
style="cursor: pointer;">
|
||||||
|
</i>
|
||||||
|
</div>
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
pInputText
|
pInputText
|
||||||
@@ -94,7 +102,7 @@
|
|||||||
fluid
|
fluid
|
||||||
class="max-w-[60rem]"
|
class="max-w-[60rem]"
|
||||||
[(ngModel)]="hardcoverToken"
|
[(ngModel)]="hardcoverToken"
|
||||||
(ngModelChange)="onTokenChange($event)" />
|
(ngModelChange)="onTokenChange($event)"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -121,7 +129,7 @@
|
|||||||
fluid
|
fluid
|
||||||
class="max-w-[60rem]"
|
class="max-w-[60rem]"
|
||||||
[(ngModel)]="comicvineToken"
|
[(ngModel)]="comicvineToken"
|
||||||
(ngModelChange)="onComicTokenChange($event)" />
|
(ngModelChange)="onComicTokenChange($event)"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+4
@@ -148,4 +148,8 @@ export class MetadataProviderSettingsComponent implements OnInit {
|
|||||||
navigateToAmazonCookieDocumentation() {
|
navigateToAmazonCookieDocumentation() {
|
||||||
window.open('https://booklore-app.github.io/booklore-docs/docs/metadata/amazon-cookie', '_blank');
|
window.open('https://booklore-app.github.io/booklore-docs/docs/metadata/amazon-cookie', '_blank');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
navigateToHardcoverTokenDocumentation() {
|
||||||
|
window.open('https://booklore-app.github.io/booklore-docs/docs/metadata/hardcover-token', '_blank');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user