mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 16:23:16 +00:00
Merge pull request #1244 from pixelfed/frontend-ui-refactor
Frontend ui refactor
This commit is contained in:
commit
546623eb5e
4 changed files with 8 additions and 8 deletions
BIN
public/js/timeline.js
vendored
BIN
public/js/timeline.js
vendored
Binary file not shown.
Binary file not shown.
|
@ -3,8 +3,9 @@
|
||||||
<div class="card notification-card">
|
<div class="card notification-card">
|
||||||
<div class="card-header bg-white">
|
<div class="card-header bg-white">
|
||||||
<p class="mb-0 d-flex align-items-center justify-content-between">
|
<p class="mb-0 d-flex align-items-center justify-content-between">
|
||||||
<span class="text-muted">Notifications</span>
|
<span><i class="far fa-bell fa-lg text-muted"></i></span>
|
||||||
<a class="text-dark small" href="/account/activity">See All</a>
|
<span class="small text-dark text-uppercase font-weight-bold">Alerts</span>
|
||||||
|
<a class="text-decoration-none text-muted" href="/account/activity"><i class="fas fa-inbox fa-lg"></i></a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body loader text-center" style="height: 230px;">
|
<div class="card-body loader text-center" style="height: 230px;">
|
||||||
|
@ -12,8 +13,8 @@
|
||||||
<span class="sr-only">Loading...</span>
|
<span class="sr-only">Loading...</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body pt-2 contents" style="max-height: 230px; overflow-y: scroll;">
|
<div class="card-body pt-2 px-0 contents" style="max-height: 230px; overflow-y: scroll;">
|
||||||
<div v-if="notifications.length > 0" class="media mb-3 align-items-center" v-for="(n, index) in notifications">
|
<div v-if="notifications.length > 0" class="media mb-4 align-items-center px-3" v-for="(n, index) in notifications">
|
||||||
<img class="mr-2 rounded-circle" style="border:1px solid #ccc" :src="n.account.avatar" alt="" width="32px" height="32px">
|
<img class="mr-2 rounded-circle" style="border:1px solid #ccc" :src="n.account.avatar" alt="" width="32px" height="32px">
|
||||||
<div class="media-body font-weight-light small">
|
<div class="media-body font-weight-light small">
|
||||||
<div v-if="n.type == 'favourite'">
|
<div v-if="n.type == 'favourite'">
|
||||||
|
|
|
@ -170,7 +170,7 @@
|
||||||
<p class="my-0 text-muted pb-0">{{profile.display_name || 'loading...'}}</p>
|
<p class="my-0 text-muted pb-0">{{profile.display_name || 'loading...'}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="ml-2">
|
<div class="ml-2">
|
||||||
<a :class="[optionMenuState == true ? 'text-primary' :'text-muted']" v-on:click="toggleOptionsMenu()"><i class="fas fa-cog"></i></a>
|
<a :class="[optionMenuState == true ? 'text-primary' :'text-muted']" v-on:click="toggleOptionsMenu()"><i class="fas fa-cog fa-lg"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -222,9 +222,8 @@
|
||||||
|
|
||||||
<div v-show="suggestions.length && config.ab && config.ab.rec == true" class="mb-4">
|
<div v-show="suggestions.length && config.ab && config.ab.rec == true" class="mb-4">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header bg-white text-muted d-flex justify-content-between align-items-center">
|
<div class="card-header bg-white text-center">
|
||||||
<div>Suggestions For You</div>
|
<div class="small text-dark text-uppercase font-weight-bold">Suggestions</div>
|
||||||
<div class="small text-dark"></div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body pt-0">
|
<div class="card-body pt-0">
|
||||||
<div v-for="(rec, index) in suggestions" class="media align-items-center mt-3">
|
<div v-for="(rec, index) in suggestions" class="media align-items-center mt-3">
|
||||||
|
|
Loading…
Reference in a new issue