storage.blade.php 552 B

123456789101112131415161718192021222324
  1. @extends('admin.partial.template')
  2. @include('admin.settings.sidebar')
  3. @section('section')
  4. <div class="title">
  5. <h3 class="font-weight-bold">Storage</h3>
  6. <p class="lead">Filesystem storage stats</p>
  7. </div>
  8. <hr>
  9. <p class="alert alert-warning">
  10. <strong>Feature Unavailable:</strong> This feature will be released in a future version.
  11. </p>
  12. @endsection
  13. @push('scripts')
  14. <script type="text/javascript">
  15. $('.human-size').each(function(d,a) {
  16. let el = $(a);
  17. let size = el.data('bytes');
  18. el.text(filesize(size, {round: 0}));
  19. });
  20. </script>
  21. @endpush