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,68 @@
<!DOCTYPE html>
<html dir="{{ __('language.direction') }}" lang="{{ __('language.code') }}">
<head>
@include('global::sections.header')
@stack('styles')
</head>
<body class="" hx-ext="preload" hx-headers='{"X-CSRF-TOKEN": "{{ csrf_token() }}"}'>
@include('global::sections.appAnnouncement')
<div class="mainwrapper menu{{ session("menuState") ?? "closed" }}">
<div class="header">
<div class="headerinner">
<a class="btnmenu" href="javascript:void(0);"></a>
<a class="barmenu" href="javascript:void(0);">
<span class="fa fa-bars"></span>
</a>
<div class="logo">
<a
href="{{ BASE_URL }}"
style="background-image: url('{{ BASE_URL }}/dist/images/logo.svg')"
>&nbsp;</a>
</div>
@include('menu::headMenu')
</div><!-- headerinner -->
</div><!-- header -->
<div class="overlay" style="position: relative">
<div class="leftpanel">
<div class="leftmenu">
@include('menu::menu')
</div><!-- leftmenu -->
</div>
<div class="rightpanel {{ $section }}">
<div class="primaryContent">
@isset($action, $module)
@include("$module::$action")
@else
@yield('content')
@endisset
<div class="clearfix"></div>
@include('global::sections.footer')
</div>
</div>
</div><!-- rightpanel -->
<div class="menu-backdrop" aria-hidden="true"></div>
</div><!-- mainwrapper -->
@include('global::sections.pageBottom')
@stack('scripts')
@include('help::helpermodal')
@include('global::components.aiPanel')
</body>
</html>

View File

@@ -0,0 +1,5 @@
@isset($action, $module)
@include("$module::$action")
@else
@yield('content')
@endisset

View File

@@ -0,0 +1,67 @@
<!DOCTYPE html>
<html dir="{{ __('language.direction') }}" lang="{{ __('language.code') }}">
<head>
@include('global::sections.header')
<style>
.onebotLogo { position: fixed; bottom: 10px; right: 10px; }
</style>
@stack('styles')
</head>
<body class="loginpage" style="height:100%;" hx-headers='{"X-CSRF-TOKEN": "{{ csrf_token() }}"}'>
<div class="header hidden-gt-sm tw-p-[10px]" style="background:var(--header-gradient)">
<a href="{!! BASE_URL !!}" target="_blank">
<img src="{{ BASE_URL }}/dist/images/logo.svg" class="tw-h-full "/>
</a>
</div>
<div class="row" style="min-height:100vh; max-width: 98vw; height: auto;">
<div class="col-md-4 hidden-phone regLeft">
<div class="logo">
<a href="{!! BASE_URL !!}" target="_blank">
<img src="{{ BASE_URL }}/dist/images/logo.svg" />
</a>
</div>
<div class="welcomeContent">
@dispatchFilter('welcomeText', '<h1 class="mainWelcome">'.$language->__("headlines.welcome_back").'</h1>')
</div>
@dispatchFilter('belowWelcomeText', '')
</div>
<div class="col-md-8 col-sm-12 regRight">
<div class="regpanel">
<div class="regpanelinner">
@if($logoPath != '')
<a href="{!! BASE_URL !!}" target="_blank">
@if(!str_ends_with($logoPath, "dist/images/logo.svg" ))
<img src="{{ $logoPath }}" class="tw-h-full "/>
@endif
</a>
@endif
@isset($action, $module)
@include("$module::$action")
@else
@yield('content')
@endisset
</div>
</div>
</div>
<div class="onebotLogo">
<img style="height: 25px;" src="{!! BASE_URL !!}/dist/images/logo.png">
</div>
</div>
@include('global::sections.pageBottom')
@stack('scripts')
</body>
</html>

View File

@@ -0,0 +1,55 @@
<!DOCTYPE html>
<html dir="{{ __('language.direction') }}" lang="{{ __('language.code') }}">
<head>
@include('global::sections.header')
<style>
.onebotLogo { position: fixed; bottom: 10px; right: 10px; }
</style>
@stack('styles')
</head>
<body class="loginpage" style="height:100%;" hx-headers='{"X-CSRF-TOKEN": "{{ csrf_token() }}"}'>
<div class="header hidden-gt-sm tw-p-[10px]" style="background:var(--header-gradient)">
<a href="{!! BASE_URL !!}" target="_blank">
<img src="{{ BASE_URL }}/dist/images/logo.svg" class="tw-h-full "/>
</a>
</div>
<div class="row " style="height:100%; width: 99%;">
<div class="col-md-4 hidden-phone regLeft">
<div class="logo">
<a href="{!! BASE_URL !!}" target="_blank"><img src="{{ BASE_URL }}/dist/images/logo.svg" /></a>
</div>
<div class="welcomeContent">
<h1 class="mainWelcome">
Oops, something is off.
</h1>
</div>
</div>
<div class="col-md-8 col-sm-12 regRight">
<div class="regpanel">
<div class="regpanelinner">
@isset($action, $module)
@include("$module::$action")
@else
@yield('content')
@endisset
</div>
</div>
</div>
<div class="onebotLogo">
<img style="height: 25px;" src="{!! BASE_URL !!}/dist/images/logo.png">
</div>
</div>
@include('global::sections.pageBottom')
@stack('scripts')
</body>
</html>

View File

@@ -0,0 +1,62 @@
<!DOCTYPE html>
<html dir="{{ __('language.direction') }}" lang="{{ __('language.code') }}">
<head>
@include('global::sections.header')
@stack('styles')
<style>
.leantimeLogo { position: fixed; bottom: 10px; right: 10px; }
.regcontent {
width: auto;
}
</style>
</head>
<body class="loginpage" style="height:100%; " hx-headers='{"X-CSRF-TOKEN": "{{ csrf_token() }}"}'>
<div class="" style="background:url({{BASE_URL}}/assets/images/spotlightBg.png); background-size: cover; height:100%; background-attachment: fixed;">
<div style=" width: 100%;
height: 100%;
background: rgba(0,0,0,0.2);
backdrop-filter: blur(3px);
padding-top: 150px;
overflow: hidden;">
<div class="regpanel" style="
margin: auto;
background: #fff;
max-width: 50%;
box-shadow: 0px 0px 50px rgba(0,0,0,0.4);
border-radius: 10px;
overflow:hidden;">
<div class="row">
<div class="col-md-7">
<div class="regpanelinner" style="padding:30px;">
<a href=""><img src="{{ BASE_URL }}/dist/images/logo_blue.svg" style="width:50%;"/></a><br /><br />
@isset($action, $module)
@include("$module::$action")
@else
@yield('content')
@endisset
</div>
</div>
<div class="col-md-5 regLeft" style="position:relative; background:var(--element-gradient); padding:20px; height:auto;">
<h1 style="position: relative; z-index: 5; width:100%; font-size:16px;">
<span style="font-size:26px">Sign Up</span><br /><br />
No set up required!<br />Enjoy the extra time. 🎉<br />
</h1>
</div>
</div>
</div>
</div>
</div>
@include('global::sections.pageBottom')
@stack('scripts')
</body>
</html>