mirror of
https://github.com/booklore-app/booklore.git
synced 2025-12-23 22:28:11 -05:00
Add chart button to mobile layout (#1103)
This commit is contained in:
@@ -178,6 +178,15 @@
|
|||||||
</li>
|
</li>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
<li>
|
||||||
|
<button
|
||||||
|
class="flex items-center gap-2 w-full text-left p-2 hover:bg-surface-200 dark:hover:bg-surface-700 rounded"
|
||||||
|
(click)="navigateToStats(); mobileMenu.hide()"
|
||||||
|
>
|
||||||
|
<i class="pi pi-chart-bar text-surface-100"></i>
|
||||||
|
Charts
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<button
|
<button
|
||||||
class="flex items-center gap-2 w-full text-left p-2 hover:bg-surface-200 dark:hover:bg-surface-700 rounded"
|
class="flex items-center gap-2 w-full text-left p-2 hover:bg-surface-200 dark:hover:bg-surface-700 rounded"
|
||||||
|
|||||||
@@ -4,25 +4,28 @@
|
|||||||
<div class="library-filter">
|
<div class="library-filter">
|
||||||
<div class="select-row">
|
<div class="select-row">
|
||||||
<label for="library-dropdown">Library Statistics</label>
|
<label for="library-dropdown">Library Statistics</label>
|
||||||
<p-select
|
<div class="flex w-full gap-2 align-items-center">
|
||||||
id="library-dropdown"
|
<p-select
|
||||||
[options]="libraryOptions"
|
fluid
|
||||||
[(ngModel)]="selectedLibrary"
|
id="library-dropdown"
|
||||||
optionLabel="name"
|
[options]="libraryOptions"
|
||||||
size="small"
|
[(ngModel)]="selectedLibrary"
|
||||||
placeholder="Select a library"
|
optionLabel="name"
|
||||||
(onChange)="onLibraryChange()"
|
size="small"
|
||||||
appendTo="body"
|
placeholder="Select a library"
|
||||||
[style]="{'min-width': '200px'}"
|
(onChange)="onLibraryChange()"
|
||||||
class="library-dropdown">
|
appendTo="body"
|
||||||
</p-select>
|
[style]="{'min-width': '200px'}"
|
||||||
|
class="library-dropdown">
|
||||||
|
</p-select>
|
||||||
|
|
||||||
<p-button
|
<p-button
|
||||||
outlined
|
outlined
|
||||||
size="small"
|
size="small"
|
||||||
(onClick)="toggleConfigPanel()"
|
(onClick)="toggleConfigPanel()"
|
||||||
icon="pi pi-cog">
|
icon="pi pi-cog">
|
||||||
</p-button>
|
</p-button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="library-totals" role="status" aria-live="polite">
|
<div class="library-totals" role="status" aria-live="polite">
|
||||||
|
|||||||
Reference in New Issue
Block a user