mirror of
https://github.com/Luzifer/twitch-manager.git
synced 2024-12-21 04:11:17 +00:00
Re-sort overlay
This commit is contained in:
parent
cbdfb86389
commit
c3344534a8
1 changed files with 16 additions and 5 deletions
21
overlay.html
21
overlay.html
|
@ -23,20 +23,28 @@
|
||||||
type="dark"
|
type="dark"
|
||||||
variant="primary"
|
variant="primary"
|
||||||
>
|
>
|
||||||
|
<!-- Channel Brand -->
|
||||||
<b-navbar-brand href="#"><i class="fab fa-twitch"></i> Luziferus</b-navbar-brand>
|
<b-navbar-brand href="#"><i class="fab fa-twitch"></i> Luziferus</b-navbar-brand>
|
||||||
|
|
||||||
|
<!-- Left aligned nav items -->
|
||||||
<b-navbar-nav>
|
<b-navbar-nav>
|
||||||
|
<!-- Followers -->
|
||||||
|
<b-nav-text class="mx-2" v-if="store.followers && store.followers.count">
|
||||||
|
<i class="fas fa-users"></i> {{ store.followers.count }} / {{ nextFollowers }}
|
||||||
|
</b-nav-text>
|
||||||
<b-nav-text class="mx-2" v-if="store.followers && store.followers.last">
|
<b-nav-text class="mx-2" v-if="store.followers && store.followers.last">
|
||||||
<i class="fad fa-user"></i> {{ store.followers.last }}
|
<i class="fad fa-user"></i> {{ store.followers.last }}
|
||||||
</b-nav-text>
|
</b-nav-text>
|
||||||
<b-nav-text class="mx-2" v-if="store.followers && store.followers.count">
|
|
||||||
<i class="fas fa-users"></i> {{ store.followers.count }} / {{ nextFollowers }}
|
<!-- Subs -->
|
||||||
|
<b-nav-text class="mx-2" v-if="store.subs && store.subs.count">
|
||||||
|
<i class="fas fa-users-crown"></i> {{ store.subs.count }} / {{ nextSubs }}
|
||||||
</b-nav-text>
|
</b-nav-text>
|
||||||
<b-nav-text class="mx-2" v-if="store.subs && store.subs.last">
|
<b-nav-text class="mx-2" v-if="store.subs && store.subs.last">
|
||||||
<i class="fad fa-user-crown"></i> {{ store.subs.last }} <span v-if="store.subs.lastDuration > 1">(x{{ store.subs.lastDuration }})<span>
|
<i class="fad fa-user-crown"></i> {{ store.subs.last }} <span v-if="store.subs.lastDuration > 1">(x{{ store.subs.lastDuration }})<span>
|
||||||
</b-nav-text>
|
</b-nav-text>
|
||||||
<b-nav-text class="mx-2" v-if="store.subs && store.subs.count">
|
|
||||||
<i class="fas fa-users-crown"></i> {{ store.subs.count }} / {{ nextSubs }}
|
<!-- Donations -->
|
||||||
</b-nav-text>
|
|
||||||
<b-nav-text class="mx-2" v-if="store.donation && store.donation.last_donator">
|
<b-nav-text class="mx-2" v-if="store.donation && store.donation.last_donator">
|
||||||
<i class="fas fa-donate"></i> {{ store.donation.last_donator }}: {{ store.donation.last_amount.toFixed(2) }} €
|
<i class="fas fa-donate"></i> {{ store.donation.last_donator }}: {{ store.donation.last_amount.toFixed(2) }} €
|
||||||
</b-nav-text>
|
</b-nav-text>
|
||||||
|
@ -44,9 +52,12 @@
|
||||||
|
|
||||||
<!-- Right aligned nav items -->
|
<!-- Right aligned nav items -->
|
||||||
<b-navbar-nav class="ml-auto">
|
<b-navbar-nav class="ml-auto">
|
||||||
|
<!-- Icons -->
|
||||||
<b-nav-text>
|
<b-nav-text>
|
||||||
<i :class="[ icon.class, 'ml-2' ].join(' ')" v-for="icon in icons" :key="icon.class"></i>​
|
<i :class="[ icon.class, 'ml-2' ].join(' ')" v-for="icon in icons" :key="icon.class"></i>​
|
||||||
</b-nav-text>
|
</b-nav-text>
|
||||||
|
|
||||||
|
<!-- Clock -->
|
||||||
<b-nav-text class="ml-2 clock text-center">{{ clock }}</b-nav-text>
|
<b-nav-text class="ml-2 clock text-center">{{ clock }}</b-nav-text>
|
||||||
</b-navbar-nav>
|
</b-navbar-nav>
|
||||||
</b-navbar>
|
</b-navbar>
|
||||||
|
|
Loading…
Reference in a new issue