瀏覽代碼

update: ui

tokumeikoi 3 年之前
父節點
當前提交
4ef5a4ca81
共有 3 個文件被更改,包括 2 次插入0 次删除
  1. 0 0
      public/theme/v2board/assets/umi.js
  2. 1 0
      public/theme/v2board/dashboard.blade.php
  3. 1 0
      routes/web.php

文件差異過大導致無法顯示
+ 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'),

部分文件因文件數量過多而無法顯示