mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Merge pull request #1163 from pixelfed/frontend-ui-refactor
Frontend ui refactor
This commit is contained in:
commit
2e9f707867
4 changed files with 8 additions and 4 deletions
2
public/js/timeline.js
vendored
2
public/js/timeline.js
vendored
File diff suppressed because one or more lines are too long
|
@ -11,5 +11,5 @@
|
||||||
"/js/profile.js": "/js/profile.js?id=acaebf31a3c013751fec",
|
"/js/profile.js": "/js/profile.js?id=acaebf31a3c013751fec",
|
||||||
"/js/search.js": "/js/search.js?id=0d3d080dc05f4f49b204",
|
"/js/search.js": "/js/search.js?id=0d3d080dc05f4f49b204",
|
||||||
"/js/status.js": "/js/status.js?id=0b11c2129b9ebdb0eddf",
|
"/js/status.js": "/js/status.js?id=0b11c2129b9ebdb0eddf",
|
||||||
"/js/timeline.js": "/js/timeline.js?id=f83a9c543e3f2015b8b2"
|
"/js/timeline.js": "/js/timeline.js?id=72c9d636bd22cb7438c0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -240,12 +240,12 @@
|
||||||
<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'">
|
||||||
<p class="my-0">
|
<p class="my-0">
|
||||||
<a :href="n.account.url" class="font-weight-bold text-dark word-break">{{n.account.username}}</a> liked your <a class="font-weight-bold" v-bind:href="replyUrl(n.status)">post</a>.
|
<a :href="n.account.url" class="font-weight-bold text-dark word-break">{{n.account.username}}</a> liked your <a class="font-weight-bold" v-bind:href="n.status.url">post</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="n.type == 'comment'">
|
<div v-else-if="n.type == 'comment'">
|
||||||
<p class="my-0">
|
<p class="my-0">
|
||||||
<a :href="n.account.url" class="font-weight-bold text-dark word-break">{{n.account.username}}</a> commented on your <a class="font-weight-bold" v-bind:href="replyUrl(n.status)">post</a>.
|
<a :href="n.account.url" class="font-weight-bold text-dark word-break">{{n.account.username}}</a> commented on your <a class="font-weight-bold" v-bind:href="n.status.url">post</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="n.type == 'mention'">
|
<div v-else-if="n.type == 'mention'">
|
||||||
|
|
|
@ -49,11 +49,15 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@push('scripts')
|
@push('scripts')
|
||||||
|
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('.reactions').hide();
|
$('.reactions').hide();
|
||||||
$('.more-comments').hide();
|
$('.more-comments').hide();
|
||||||
$('.card-footer').hide();
|
$('.card-footer').hide();
|
||||||
|
new Vue({
|
||||||
|
el: '#content'
|
||||||
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@endpush
|
@endpush
|
||||||
|
|
Loading…
Add table
Reference in a new issue