* Update ru_RU.json

keeping russian lang actual

* ok

* Add gradient to lyric-footer

* *Commit en español Ñ (#1304)

* i hate my life (#1307)

* world is now a better place

* meltdown avoided

* meltdown avoided

* stylize new listen now childs

* full scale artwork, finally

* dynamic width for search categories

* hd all album work

* Update afterPack.js

* force hq quality

* oops

* attempt to fix

* misc cleanup

* why what

* what was i thinking

* fix duplicated text in listen now childs

* Paginate/infinite scroll for  albums, playlists (#1234)

* Infinite scroll, pagination to album, playlists

* move pagination below tracks

* Make page size configurable

* remove renderer

* Mitigate songs / album slow app issue.

* add ratings, library change to web remote (#1285)

* Add compact artist header option (#1308)

* Support compact artist header (optional)

* Add required term

* improve pagination styling

Co-authored-by: h0ckerman <35598335+h0ckerman@users.noreply.github.com>
Co-authored-by: vapormusic <vietanhfat@gmail.com>
Co-authored-by: Monochromish <chillygamer7@gmail.com>
Co-authored-by: Gabriel Davila <56521591+mefsaal@users.noreply.github.com>
Co-authored-by: Core <64542347+coredev-uk@users.noreply.github.com>
Co-authored-by: Maikiwi <stella@mai.kiwi>
Co-authored-by: yazninja <yazlesean@gmail.com>
Co-authored-by: booploops <49113086+booploops@users.noreply.github.com>
Co-authored-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
Co-authored-by: Pedro Galhardo <pgalhardo@icloud.com>
Co-authored-by: yazninja <71800112+yazninja@users.noreply.github.com>
This commit is contained in:
cryptofyre 2022-07-26 11:49:35 -05:00 committed by GitHub
parent c0cea76913
commit 7171c4b5d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 7 deletions

View file

@ -165,6 +165,7 @@
.page-btn { .page-btn {
align-self: center; align-self: center;
height: 32px; height: 32px;
width:max-content;
} }
.page-btn img { .page-btn img {
@ -2390,4 +2391,15 @@ input[type=checkbox][switch]:checked:active::before {
img { img {
border-radius: 50%; border-radius: 50%;
} }
}
.pagination-container {
display: flex;
justify-content: center;
align-items: center;
gap: 0.5rem;
margin-bottom: 16px;
.md-input-number{
min-width: 12em;
}
} }

View file

@ -1,39 +1,39 @@
<script type="text/x-template" id="pagination"> <script type="text/x-template" id="pagination">
<div class="row" style="margin-bottom: 16px" v-if="!isInfinite"> <div class="pagination-container" v-if="!isInfinite">
<button <button
class="col md-btn page-btn" class="md-btn page-btn"
:disabled="effectivePage === 1" :disabled="effectivePage === 1"
@click="goToPage(1)" @click="goToPage(1)"
> >
<img class="md-ico-first"/> <img class="md-ico-first"/>
</button> </button>
<button <button
class="col md-btn page-btn prev" class="md-btn page-btn prev"
:disabled="effectivePage === 1" :disabled="effectivePage === 1"
@click="goToPrevious()" @click="goToPrevious()"
> >
<img class="md-ico-prev"/> <img class="md-ico-prev"/>
</button> </button>
<button <button
:class="`col md-btn page-btn${ isCurrentPage(page) ? ' md-btn-primary': ''}`" :class="`md-btn page-btn${ isCurrentPage(page) ? ' md-btn-primary': ''}`"
@click="goToPage(page)" @click="goToPage(page)"
v-for="page in pagesToShow" v-for="page in pagesToShow"
>{{ page }}</button> >{{ page }}</button>
<button <button
class="col md-btn page-btn next" class="md-btn page-btn next"
:disabled="effectivePage === numPages" :disabled="effectivePage === numPages"
@click="goToNext()" @click="goToNext()"
> >
<img class="md-ico-next"/> <img class="md-ico-next"/>
</button> </button>
<button <button
class="col md-btn page-btn last" class="md-btn page-btn last"
:disabled="effectivePage === numPages" :disabled="effectivePage === numPages"
@click="goToEnd()" @click="goToEnd()"
> >
<img class="md-ico-last"/> <img class="md-ico-last"/>
</button> </button>
<div class="col page-btn" style="min-width: 12em;"> <div class="page-btn md-input-number">
<input type="number" min="1" :max="numPages" :value="effectivePage" @change="changePage" /> <input type="number" min="1" :max="numPages" :value="effectivePage" @change="changePage" />
<span>/ {{ numPages }}</span> <span>/ {{ numPages }}</span>
</div> </div>