mirror of
https://github.com/v2board/v2board.git
synced 2025-01-10 16:19:10 +08:00
update: ui
This commit is contained in:
parent
f046a396d6
commit
4ef5a4ca81
2
public/theme/v2board/assets/umi.js
vendored
2
public/theme/v2board/assets/umi.js
vendored
File diff suppressed because one or more lines are too long
@ -23,6 +23,7 @@
|
|||||||
<script>
|
<script>
|
||||||
window.settings = {
|
window.settings = {
|
||||||
title: '{{$title}}',
|
title: '{{$title}}',
|
||||||
|
theme_path: '{{$theme_path}}',
|
||||||
theme: {
|
theme: {
|
||||||
sidebar: '{{$theme_sidebar}}',
|
sidebar: '{{$theme_sidebar}}',
|
||||||
header: '{{$theme_header}}',
|
header: '{{$theme_header}}',
|
||||||
|
@ -22,6 +22,7 @@ Route::get('/', function (Request $request) {
|
|||||||
$renderParams = [
|
$renderParams = [
|
||||||
'title' => config('v2board.app_name', 'V2Board'),
|
'title' => config('v2board.app_name', 'V2Board'),
|
||||||
'theme' => config('v2board.frontend_theme', '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_sidebar' => config('v2board.frontend_theme_sidebar', 'light'),
|
||||||
'theme_header' => config('v2board.frontend_theme_header', 'dark'),
|
'theme_header' => config('v2board.frontend_theme_header', 'dark'),
|
||||||
'theme_color' => config('v2board.frontend_theme_color', 'default'),
|
'theme_color' => config('v2board.frontend_theme_color', 'default'),
|
||||||
|
Loading…
Reference in New Issue
Block a user