@extends('admin.master') @section('title', trans('general.dashboard')) @section('content')

{{ trans('general.dashboard') }} Dashboard

{{ trans('admin.index.total-textures') }} {{ \Database::table('textures')->getRecordNum() }}
{{ trans('admin.index.disk-usage') }} fetchArray("SELECT SUM(`size`) AS total_size FROM `{table}` WHERE 1")['total_size'] ?: 0; ?> {{ $size > 1024 ? round($size / 1024, 1)."MB" : $size."KB" }}

{{ trans('admin.index.overview') }}

@endsection @section('script') @endsection