mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-03 01:24:37 +02:00
Update fastforward/rewind icons and show on lock screen, move logout btn, fix fallback cover art
This commit is contained in:
parent
b0d1f51678
commit
811fc91fa7
22 changed files with 101 additions and 38 deletions
|
@ -9,10 +9,18 @@
|
|||
</a>
|
||||
<div>
|
||||
<p class="text-lg font-book leading-4">AudioBookshelf</p>
|
||||
<!-- <a class="text-xs text-success leading-4 flex items-center py-1" :href="appListingUrl" target="_blank">Update available! <span class="material-icons text-sm leading-4 px-2">launch</span></a> -->
|
||||
</div>
|
||||
<div class="flex-grow" />
|
||||
<ui-menu :label="username" :items="menuItems" @action="menuAction" class="ml-5" />
|
||||
<!-- <ui-menu :label="username" :items="menuItems" @action="menuAction" class="ml-5" /> -->
|
||||
|
||||
<nuxt-link to="/account" class="relative w-28 bg-fg border border-gray-500 rounded shadow-sm ml-5 pl-3 pr-10 py-2 text-left focus:outline-none sm:text-sm cursor-pointer hover:bg-bg hover:bg-opacity-40" aria-haspopup="listbox" aria-expanded="true">
|
||||
<span class="flex items-center">
|
||||
<span class="block truncate">{{ username }}</span>
|
||||
</span>
|
||||
<span class="ml-3 absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none">
|
||||
<span class="material-icons text-gray-100">person</span>
|
||||
</span>
|
||||
</nuxt-link>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -44,9 +52,6 @@ export default {
|
|||
username() {
|
||||
return this.user ? this.user.username : 'err'
|
||||
},
|
||||
// hasUpdate() {
|
||||
// return this.$store.state.hasUpdate
|
||||
// },
|
||||
appListingUrl() {
|
||||
if (this.$platform === 'android') {
|
||||
return process.env.ANDROID_APP_URL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue