mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-27 06:29:19 +08:00
use helper function to generate absolute assets url
This commit is contained in:
parent
adcc681721
commit
20cdea101f
@ -8,11 +8,11 @@
|
||||
<!-- Tell the browser to be responsive to screen width -->
|
||||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
||||
<!-- App Styles -->
|
||||
<link rel="stylesheet" href="../assets/css/app.min.css">
|
||||
<link rel="stylesheet" href="{{ url('assets/css/app.min.css') }}?v={{ config('app.version') }}">
|
||||
<!-- AdminLTE Skins -->
|
||||
<link rel="stylesheet" href="../assets/libs/skins/{{ Option::get('color_scheme') }}.min.css">
|
||||
<link rel="stylesheet" href="{{ url('assets/libs/skins/'.Option::get('color_scheme').'.min.css') }}?v={{ config('app.version') }}">
|
||||
|
||||
<link rel="stylesheet" href="../assets/css/admin.css">
|
||||
<link rel="stylesheet" href="{{ url('assets/css/admin.css') }}?v={{ config('app.version') }}">
|
||||
|
||||
@yield('style')
|
||||
|
||||
@ -127,9 +127,9 @@
|
||||
</div><!-- ./wrapper -->
|
||||
|
||||
<!-- App Scripts -->
|
||||
<script type="text/javascript" src="../assets/js/app.min.js"></script>
|
||||
<script type="text/javascript" src="{{ url('assets/js/app.min.js') }}?v={{ config('app.version') }}"></script>
|
||||
|
||||
<script type="text/javascript" src="../assets/js/admin.js"></script>
|
||||
<script type="text/javascript" src="{{ url('assets/js/admin.js') }}?v={{ config('app.version') }}"></script>
|
||||
|
||||
@if (Option::get('check_update') == '1')
|
||||
<script>
|
||||
|
@ -7,10 +7,11 @@
|
||||
<link rel="shortcut icon" href="../assets/images/favicon.ico">
|
||||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
||||
<!-- App Styles -->
|
||||
<link rel="stylesheet" href="../assets/css/app.min.css">
|
||||
<link rel="stylesheet" href="../assets/libs/skins/{{ Option::get('color_scheme') }}.min.css">
|
||||
<link rel="stylesheet" href="{{ url('assets/css/app.min.css') }}?v={{ config('app.version') }}">
|
||||
|
||||
<link rel="stylesheet" href="../assets/css/auth.css">
|
||||
<link rel="stylesheet" href="{{ url('assets/libs/skins/'.Option::get('color_scheme').'.min.css') }}?v={{ config('app.version') }}">
|
||||
|
||||
<link rel="stylesheet" href="{{ url('assets/css/auth.css') }}?v={{ config('app.version') }}">
|
||||
|
||||
<style>{{ Option::get('custom_css') }}</style>
|
||||
</head>
|
||||
@ -20,9 +21,9 @@
|
||||
@yield('content')
|
||||
|
||||
<!-- App Scripts -->
|
||||
<script type="text/javascript" src="../assets/js/app.min.js"></script>
|
||||
<script type="text/javascript" src="{{ url('assets/js/app.min.js') }}?v={{ config('app.version') }}"></script>
|
||||
|
||||
<script type="text/javascript" src="../assets/js/auth.js"></script>
|
||||
<script type="text/javascript" src="{{ url('assets/js/auth.js') }}?v={{ config('app.version') }}"></script>
|
||||
|
||||
@if (Session::has('msg'))
|
||||
<script>
|
||||
|
@ -8,11 +8,11 @@
|
||||
<!-- Tell the browser to be responsive to screen width -->
|
||||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
||||
<!-- App Styles -->
|
||||
<link rel="stylesheet" href="./assets/css/app.min.css">
|
||||
<link rel="stylesheet" href="{{ url('assets/css/app.min.css') }}?v={{ config('app.version') }}">
|
||||
<!-- AdminLTE Skins -->
|
||||
<link rel="stylesheet" href="./assets/libs/skins/{{ Option::get('color_scheme') }}.min.css">
|
||||
<link rel="stylesheet" href="{{ url('assets/libs/skins/'.Option::get('color_scheme').'.min.css') }}?v={{ config('app.version') }}">
|
||||
|
||||
<link rel="stylesheet" href="./assets/css/index.css">
|
||||
<link rel="stylesheet" href="{{ url('assets/css/index.css') }}?v={{ config('app.version') }}">
|
||||
|
||||
<style>
|
||||
.wrapper {
|
||||
@ -112,7 +112,7 @@
|
||||
</div><!-- ./wrapper -->
|
||||
|
||||
<!-- App Scripts -->
|
||||
<script type="text/javascript" src="./assets/js/app.min.js"></script>
|
||||
<script type="text/javascript" src="{{ url('assets/js/app.min.js') }}?v={{ config('app.version') }}"></script>
|
||||
|
||||
<script>{!! Option::get('custom_js') !!}</script>
|
||||
</body>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<meta name="robots" content="noindex,nofollow" />
|
||||
<title>Blessing Skin Server 升级程序</title>
|
||||
<link rel="shortcut icon" href="../../assets/images/favicon.ico">
|
||||
<link rel="stylesheet" type="text/css" href="../../assets/css/install.css">
|
||||
<link rel="stylesheet" type="text/css" href="{{ url('assets/css/install.css') }}?v={{ config('app.version') }}">
|
||||
</head>
|
||||
|
||||
<body class="container">
|
||||
|
@ -8,11 +8,11 @@
|
||||
<!-- Tell the browser to be responsive to screen width -->
|
||||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
||||
<!-- App Styles -->
|
||||
<link rel="stylesheet" href="../assets/css/app.min.css">
|
||||
<link rel="stylesheet" href="{{ url('assets/css/app.min.css') }}?v={{ config('app.version') }}">
|
||||
<!-- AdminLTE Skins -->
|
||||
<link rel="stylesheet" href="../assets/libs/skins/{{ Option::get('color_scheme') }}.min.css">
|
||||
<link rel="stylesheet" href="{{ url('assets/libs/skins/'.Option::get('color_scheme').'.min.css') }}">
|
||||
|
||||
<link rel="stylesheet" href="../assets/css/skinlib.css">
|
||||
<link rel="stylesheet" href="{{ url('assets/css/skinlib.css') }}?v={{ config('app.version') }}">
|
||||
|
||||
@yield('style')
|
||||
|
||||
@ -139,9 +139,9 @@
|
||||
</div><!-- ./wrapper -->
|
||||
|
||||
<!-- App Scripts -->
|
||||
<script type="text/javascript" src="../assets/js/app.min.js"></script>
|
||||
<script type="text/javascript" src="{{ url('assets/js/app.min.js') }}?v={{ config('app.version') }}"></script>
|
||||
|
||||
<script type="text/javascript" src="../assets/js/skinlib.js"></script>
|
||||
<script type="text/javascript" src="{{ url('assets/js/skinlib.js') }}?v={{ config('app.version') }}"></script>
|
||||
|
||||
@yield('script')
|
||||
|
||||
|
@ -8,11 +8,11 @@
|
||||
<!-- Tell the browser to be responsive to screen width -->
|
||||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
||||
<!-- App Styles -->
|
||||
<link rel="stylesheet" href="../assets/css/app.min.css">
|
||||
<link rel="stylesheet" href="{{ url('assets/css/app.min.css') }}?v={{ config('app.version') }}">
|
||||
<!-- AdminLTE Skins -->
|
||||
<link rel="stylesheet" href="../assets/libs/skins/{{ Option::get('color_scheme') }}.min.css">
|
||||
<link rel="stylesheet" href="{{ url('assets/libs/skins/'.Option::get('color_scheme').'.min.css') }}?v={{ config('app.version') }}">
|
||||
|
||||
<link rel="stylesheet" href="../assets/css/user.css">
|
||||
<link rel="stylesheet" href="{{ url('assets/css/user.css') }}?v={{ config('app.version') }}">
|
||||
|
||||
@yield('style')
|
||||
|
||||
@ -128,9 +128,9 @@
|
||||
</div><!-- ./wrapper -->
|
||||
|
||||
<!-- App Scripts -->
|
||||
<script type="text/javascript" src="../assets/js/app.min.js"></script>
|
||||
<script type="text/javascript" src="{{ url('assets/js/app.min.js') }}?v={{ config('app.version') }}"></script>
|
||||
|
||||
<script type="text/javascript" src="../assets/js/user.js"></script>
|
||||
<script type="text/javascript" src="{{ url('assets/js/user.js') }}?v={{ config('app.version') }}"></script>
|
||||
|
||||
@yield('script')
|
||||
|
||||
|
0
resources/views/vendor/.gitkeep
vendored
0
resources/views/vendor/.gitkeep
vendored
Loading…
Reference in New Issue
Block a user