Fixes all lowercase issue (#3302)
This commit is contained in:
parent
184c766fa7
commit
b65b78a736
11 changed files with 377 additions and 65 deletions
|
|
@ -33,6 +33,10 @@ export class ServerService {
|
|||
return this.http.post(this.baseUrl + 'server/cleanup-want-to-read', {});
|
||||
}
|
||||
|
||||
cleanup() {
|
||||
return this.http.post(this.baseUrl + 'server/cleanup', {});
|
||||
}
|
||||
|
||||
backupDatabase() {
|
||||
return this.http.post(this.baseUrl + 'server/backup-db', {});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -87,6 +87,12 @@ export class ManageTasksSettingsComponent implements OnInit {
|
|||
api: this.serverService.cleanupWantToRead(),
|
||||
successMessage: 'clean-up-want-to-read-task-success'
|
||||
},
|
||||
{
|
||||
name: 'clean-up-task',
|
||||
description: 'clean-up-task-desc',
|
||||
api: this.serverService.cleanup(),
|
||||
successMessage: 'clean-up-task-success'
|
||||
},
|
||||
{
|
||||
name: 'backup-database-task',
|
||||
description: 'backup-database-task-desc',
|
||||
|
|
@ -99,6 +105,7 @@ export class ManageTasksSettingsComponent implements OnInit {
|
|||
api: defer(() => of(this.downloadService.download('logs', undefined))),
|
||||
successMessage: ''
|
||||
},
|
||||
// TODO: Remove this in v0.9. Users should have all updated by then
|
||||
{
|
||||
name: 'analyze-files-task',
|
||||
description: 'analyze-files-task-desc',
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
$image-height: 160px;
|
||||
@use '../../../card-item-common';
|
||||
|
||||
|
|
@ -11,21 +10,46 @@ $image-height: 160px;
|
|||
}
|
||||
|
||||
.card-item-container {
|
||||
background-color: unset;
|
||||
border: 1px solid transparent;
|
||||
transition: all ease-in-out 300ms;
|
||||
|
||||
.overlay {
|
||||
height: $image-height;
|
||||
|
||||
position: relative;
|
||||
display: flex;
|
||||
background-color: hsl(0deg 0% 0% / 12%);
|
||||
/* TODO: Robbie fix this hack */
|
||||
.missing-img {
|
||||
position: absolute;
|
||||
left: 43%;
|
||||
top: 25%;
|
||||
align-self: center;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.card-overlay {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.card-overlay {
|
||||
height: $image-height;
|
||||
}
|
||||
|
||||
.card-body {
|
||||
bottom: 0;
|
||||
background-color: transparent;
|
||||
position: unset !important;
|
||||
margin-bottom: 5px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.card-title {
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
|
||||
.overlay {
|
||||
.missing-img {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
@if (roles$ | async; as roles) {
|
||||
<div class="mt-1">
|
||||
<h5>Roles in Libraries</h5>
|
||||
<h5>{{t('all-roles')}}</h5>
|
||||
@for(role of roles; track role) {
|
||||
<app-tag-badge [selectionMode]="TagBadgeCursor.Clickable" (click)="loadFilterByRole(role)">{{role | personRole}}</app-tag-badge>
|
||||
}
|
||||
|
|
@ -46,9 +46,6 @@
|
|||
[title]="item.name"
|
||||
[suppressArchiveWarning]="true"
|
||||
(clicked)="navigateToSeries(item)">
|
||||
<ng-template #subtitle>
|
||||
Hello
|
||||
</ng-template>
|
||||
</app-card-item>
|
||||
</ng-template>
|
||||
</app-carousel-reel>
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
}
|
||||
|
||||
@case (SideNavStreamType.BrowseAuthors) {
|
||||
<app-side-nav-item icon="fa-star" [title]="t('browse-authors')" link="/browse/authors/"></app-side-nav-item>
|
||||
<app-side-nav-item icon="fa-users" [title]="t('browse-authors')" link="/browse/authors/"></app-side-nav-item>
|
||||
}
|
||||
|
||||
@case (SideNavStreamType.SmartFilter) {
|
||||
|
|
|
|||
|
|
@ -922,7 +922,8 @@
|
|||
"known-for-title": "Known For",
|
||||
"individual-role-title": "As a {{role}}",
|
||||
"browse-person-title": "All Works of {{name}}",
|
||||
"browse-person-by-role-title": "All Works of {{name}} as a {{role}}"
|
||||
"browse-person-by-role-title": "All Works of {{name}} as a {{role}}",
|
||||
"all-roles": "Roles"
|
||||
},
|
||||
|
||||
"library-settings-modal": {
|
||||
|
|
@ -1380,6 +1381,10 @@
|
|||
"clean-up-want-to-read-task-desc": "Removes any series that users have fully read that are within Want to Read and have a publication status of Completed. Runs every 24 hours.",
|
||||
"clean-up-want-to-read-task-success": "Want to Read has been cleaned up",
|
||||
|
||||
"clean-up-task": "General Cleanup",
|
||||
"clean-up-task-desc": "Performs nightly cleanup activities on the server. Can be heavy, advised to not run with active users or scans. Runs every 24 hours.",
|
||||
"clean-up-task-success": "Cleanup complete",
|
||||
|
||||
"backup-database-task": "Backup Database",
|
||||
"backup-database-task-desc": "Takes a backup of the database, bookmarks, themes, manually uploaded covers, and config files.",
|
||||
"backup-database-task-success": "A job to backup the database has been queued",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue