Browse Source

update: ui

tokumeikoi 3 years ago
parent
commit
4ef5a4ca81
3 changed files with 2 additions and 0 deletions
  1. 0 0
      public/theme/v2board/assets/umi.js
  2. 1 0
      public/theme/v2board/dashboard.blade.php
  3. 1 0
      routes/web.php

File diff suppressed because it is too large
+ 0 - 0
public/theme/v2board/assets/umi.js


+ 1 - 0
public/theme/v2board/dashboard.blade.php

@@ -23,6 +23,7 @@
     <script>
         window.settings = {
             title: '{{$title}}',
+            theme_path: '{{$theme_path}}',
             theme: {
                 sidebar: '{{$theme_sidebar}}',
                 header: '{{$theme_header}}',

+ 1 - 0
routes/web.php

@@ -22,6 +22,7 @@ Route::get('/', function (Request $request) {
     $renderParams = [
         'title' => config('v2board.app_name', 'V2Board'),
         'theme' => config('v2board.frontend_theme', 'v2board'),
+        'theme_path' => '/theme/' . config('v2board.frontend_theme', 'v2board') . '/assets/',
         'theme_sidebar' => config('v2board.frontend_theme_sidebar', 'light'),
         'theme_header' => config('v2board.frontend_theme_header', 'dark'),
         'theme_color' => config('v2board.frontend_theme_color', 'default'),

Some files were not shown because too many files changed in this diff