remove escaping of custom js/css

This commit is contained in:
printempw 2016-07-23 21:51:25 +08:00
parent 04c475746b
commit bdb9e16bbe
5 changed files with 9 additions and 9 deletions

View File

@ -16,7 +16,7 @@
@yield('style')
<style>{{ Option::get('custom_css') }}</style>
<style>{!! Option::get('custom_css') !!}</style>
</head>
<?php $user = new App\Models\User($_SESSION['email']); ?>
@ -133,6 +133,6 @@
@yield('script')
<script>{{ Option::get('custom_js') }}</script>
<script>{!! Option::get('custom_js') !!}</script>
</body>
</html>

View File

@ -30,6 +30,6 @@
</script>
@endif
<script>{{ Option::get('custom_js') }}</script>
<script>{!! Option::get('custom_js') !!}</script>
</body>
</html>

View File

@ -14,7 +14,7 @@
<link rel="stylesheet" href="./assets/dist/css/index.css">
<style>{{ Option::get('custom_css') }}</style>
<style>{!! Option::get('custom_css') !!}</style>
</head>
<body class="hold-transition {{ Option::get('color_scheme') }} layout-top-nav">
@ -108,6 +108,6 @@
<!-- App Scripts -->
<script type="text/javascript" src="./assets/dist/app.min.js"></script>
<script>{{ Option::get('custom_js') }}</script>
<script>{!! Option::get('custom_js') !!}</script>
</body>
</html>

View File

@ -16,7 +16,7 @@
@yield('style')
<style>{{ Option::get('custom_css') }}</style>
<style>{!! Option::get('custom_css') !!}</style>
</head>
<body class="hold-transition {{ Option::get('color_scheme') }} layout-top-nav">
@ -147,6 +147,6 @@
@yield('script')
<script>{{ Option::get('custom_js') }}</script>
<script>{!! Option::get('custom_js') !!}</script>
</body>
</html>

View File

@ -16,7 +16,7 @@
@yield('style')
<style>{{ Option::get('custom_css') }}</style>
<style>{!! Option::get('custom_css') !!}</style>
</head>
<body class="hold-transition {{ Option::get('color_scheme') }} sidebar-mini">
@ -140,6 +140,6 @@
</script>
@endif
<script>{{ Option::get('custom_js') }}</script>
<script>{!! Option::get('custom_js') !!}</script>
</body>
</html>