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'),

Някои файлове не бяха показани, защото твърде много файлове са промени