"> <head> <meta charset="<?php metaCharset(); ?> "/> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="robots" content="noindex,nofollow"> <title>404 @ <?php metaTitle(); ?> </title> <?php importBootstrapCss(); importCss(cssUrl('style.css')); ?> <?php envUrlJsFunction(); importJquery(); importBootstrapJs(); ?> <style type="text/css"> body { font-size: 10px; padding-top: 2em; } a { color: #aaa; } a:hover { color: #fff; text-decoration: none; } article { font-size: 2em; outline: 1px solid #eee; } h1, h2 { margin: 0; text-align: center; } h1 { margin-top: 0; margin-bottom: 1em; } h1 img { width: 100%; }
/** * Get Admin Asset Path */ function adminAssetPath($file = null, $type = "path", $url = true) { // Get Assets Folder $assets_folder = app("laravel-admin")->getConfig("assets_folder"); if ($assets_folder) { $assets_folder .= "/"; } // Path $path = null; // Find Paths switch (strtolower($type)) { case 'css': $path = $url ? cssUrl($assets_folder . $file) : cssPath($assets_folder . $file); break; case 'js': $path = $url ? jsUrl($assets_folder . $file) : jsPath($assets_folder . $file); break; case 'image': $path = $url ? imageUrl($assets_folder . $file) : imagePath($assets_folder . $file); break; case 'path': $path = $url ? assetsPath($assets_folder) : assetsPath($assets_folder); break; } // Return return $path; }