1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 08:44:02 +00:00
pixelfed/resources/views/admin/statuses/show.blade.php

36 lines
945 B
PHP
Raw Normal View History

2018-05-20 21:50:11 +00:00
@extends('admin.partial.template')
@section('section')
<div class="title">
<h3 class="font-weight-bold">Status #{{$status->id}}</h3>
</div>
<hr>
<div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-outline-secondary">View Details</button>
<button type="button" class="btn btn-outline-secondary">View User Stats</button>
<button type="button" class="btn btn-outline-danger">Delete</button>
</div>
</div>
@php($item = $status)
@include('status.template')
@endsection
@push('scripts')
<script type="text/javascript">
$(document).ready(function() {
$('.human-size').each(function(d,a) {
let el = $(a);
let size = el.data('bytes');
el.text(filesize(size, {round: 0}));
});
$('.status-card .card-footer').hide();
$('.status-card .reactions').hide();
$('.status-card .comments').hide();
});
</script>
@endpush