OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)

This commit is contained in:
wangruiguo
2026-09-03 18:49:20 +08:00
commit d647428529
3501 changed files with 1988906 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
@extends($layout)
@section('content')
<div class="maincontent" id="gridBoard" style="margin-top:0px; opacity:0;">
{!! $tpl->displayNotification() !!}
<div class="grid-stack">
@foreach($dashboardGrid as $widget)
<x-widgets::moveableWidget
gs-x="{{ $widget->gridX }}"
gs-y="{{ $widget->gridY }}"
gs-h="{{ $widget->gridHeight }}"
gs-w="{{ $widget->gridWidth }}"
gs-min-w="{{ $widget->gridMinWidth }}"
gs-min-h="{{ $widget->gridMinHeight }}"
isNew="{{ isset($widget->isNew) ? 'true' : 'false' }}"
background="{{ $widget->widgetBackground }}"
noTitle="{{ $widget->noTitle }}"
name="{{ $widget->name }}"
:fixed="(empty($widget->fixed) ? false : true )"
alwaysVisible="{{ $widget->alwaysVisible }}"
id="widget_wrapper_{{ $widget->id }}"
>
<div hx-get="{{$widget->widgetUrl }}"
hx-trigger="revealed"
id="{{ $widget->id }}"
class="tw-h-full"
hx-swap="innerHTML">
<x-global::loadingText type="{{ $widget->widgetLoadingIndicator }}" count="1" includeHeadline="true" />
</div>
</x-widgets::moveableWidget>
@endforeach
</div>
</div>
<script>
@dispatchEvent('scripts.afterOpen')
jQuery(document).ready(function() {
leantime.widgetController.initGrid();
@php(session(["usersettings.modals.homeDashboardTour" => 1]))
});
</script>
@endsection