pixelfed/resources/views/admin/settings/storage.blade.php

25 lines
552 B
PHP
Raw Permalink Normal View History

2018-08-24 01:04:48 +00:00
@extends('admin.partial.template')
2019-02-11 00:20:10 +00:00
@include('admin.settings.sidebar')
2018-08-24 01:04:48 +00:00
@section('section')
2019-02-11 00:20:10 +00:00
<div class="title">
<h3 class="font-weight-bold">Storage</h3>
<p class="lead">Filesystem storage stats</p>
</div>
<hr>
<p class="alert alert-warning">
2019-06-06 20:12:04 +00:00
<strong>Feature Unavailable:</strong> This feature will be released in a future version.
2019-02-11 00:20:10 +00:00
</p>
@endsection
2018-08-24 01:04:48 +00:00
2019-02-11 00:20:10 +00:00
@push('scripts')
<script type="text/javascript">
$('.human-size').each(function(d,a) {
let el = $(a);
let size = el.data('bytes');
el.text(filesize(size, {round: 0}));
});
</script>
@endpush