forked from comixed/comixed
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Issue comixed#20] Moved LibraryAdminPage into the library module.
- Loading branch information
Showing
11 changed files
with
156 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
comixed-frontend/src/app/library/pages/library-admin-page/library-admin-page.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<div class='ui-g'> | ||
<div class='ui-g-6'> | ||
<p-panel [header]='"library-admin-page.rescan.header" | translate'> | ||
<div class='ui-g'> | ||
<div *ngIf='importCount !== 0' | ||
class='ui-g-12' | ||
[innerHTML]='"library-admin-page.rescan.already-running" | translate'></div> | ||
<div class='ui-g-2'> | ||
<div class='cx-button-box-vertical'> | ||
<button id='cx-rescan-button' | ||
type='button' | ||
pButton | ||
class='cx-selection-button ui-button-success' | ||
[disabled]='importCount !== 0' | ||
[label]='"library-admin-page.rescan.buttons.rescan-library" | translate' | ||
icon='fa fa-refresh' | ||
(click)='rescanLibrary()'></button> | ||
</div> | ||
</div> | ||
<div class='ui-g-10'> | ||
<div class='ui-g'> | ||
<div class='ui-g-12' | ||
[innerHTML]='"library-admin-page.rescan.paragraph1" | translate'></div> | ||
<div class='ui-g-12' | ||
[innerHTML]='"library-admin-page.rescan.paragraph2" | translate'></div> | ||
<div class='ui-g-12' | ||
[innerHTML]='"library-admin-page.rescan.paragraph3" | translate'></div> | ||
</div> | ||
</div> | ||
</div> | ||
</p-panel> | ||
</div> | ||
<div class='ui-g-6'> | ||
<p-panel [header]='"library-admin-page.consolidate.header" | translate'> | ||
<app-consolidate-library></app-consolidate-library> | ||
</p-panel> | ||
</div> | ||
<div class='ui-g-6'> | ||
<p-panel [header]='"library-admin-page.backup.header" | translate'> | ||
<div class='ui-g'> | ||
<div class='ui-g-2'> | ||
<div class='cx-button-box-vertical'> | ||
<button id='cx-export-button' | ||
type='button' | ||
pButton | ||
fileSaver | ||
class='cx-selection-button ui-button-success' | ||
[label]='"library-admin-page.backup.buttons.export-library" | translate' | ||
icon='fa fa-fw fa-step-backward' | ||
[disabled]='importCount !== 0' | ||
[method]='"GET"' | ||
[url]='"/api/admin/data/export"' | ||
[fileName]='"comixed_backup.zip"'></button> | ||
</div> | ||
</div> | ||
<div class='ui-g-10'> | ||
<div class='ui-g'> | ||
<div class='ui-g-12' | ||
[innerHTML]='"library-admin-page.backup.paragraph1" | translate'></div> | ||
<div class='ui-g-12' | ||
[innerHTML]='"library-admin-page.backup.paragraph2" | translate'></div> | ||
</div> | ||
</div> | ||
</div> | ||
</p-panel> | ||
</div> | ||
<div class='ui-g-6'> | ||
</div> | ||
</div> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
56 changes: 0 additions & 56 deletions
56
comixed-frontend/src/app/pages/admin/library-admin-page/library-admin-page.component.html
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.