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,93 @@
@extends($layout)
@section('content')
@dispatchEvent('beforePageHeaderOpen')
<div class="pageheader">
@dispatchEvent('afterPageHeaderOpen')
<form action="{{ BASE_URL }}/index.php?act=tickets.showAll" method="post" class="searchbar">
<x-global::forms.text-input name="term" placeholder="To search type and hit enter..." />
</form>
<div class="pageicon"><span class="fa {{ $tpl->getModulePicture() }}"></span></div>
<div class="pagetitle">
<h5>{!! __('OVERVIEW') !!}</h5>
<h1>{!! __('ALL_GCCALS') !!}</h1>
</div>
@dispatchEvent('beforePageHeaderClose')
</div><!--pageheader-->
@dispatchEvent('afterPageHeaderClose')
<div class="maincontent">
<div class="maincontentinner">
<form action="">
@dispatchEvent('afterFormOpen')
<table cellpadding="0" cellspacing="0" border="0" class="allTickets table table-bordered"
id="allTickets">
<thead>
<tr>
<th>Id</th>
<th>{!! __('NAME') !!}</th>
<th>{!! __('URL') !!}</th>
<th>{!! __('COLOR') !!}</th>
</tr>
</thead>
<tbody>
@foreach ($allCalendars as $row)
<tr>
<td>{!! $tpl->displayLink('calendar.editGCal', $row['id'], ['id' => $row['id']]) !!}</td>
<td>{!! $tpl->displayLink('calendar.editGCal', $row['name'], ['id' => $row['id']]) !!}</td>
<td>{{ $row['url'] }}</td>
<td><span style="color: {{ $row['colorClass'] }}; padding:2px;">{{ $row['colorClass'] }}</span></td>
</tr>
@endforeach
</tbody>
</table>
@dispatchEvent('beforeFormClose')
</form>
@once
@push('scripts')
<script type="text/javascript">
@dispatchEvent('scripts.afterOpen')
$(document).ready(function()
{
$("#allTickets").tablesorter({
sortList:[[0,0]],
widgets: ['zebra']
}).tablesorterPager({container: $("#pager")});
//assign the sortStart event
$("#allTickets").bind("sortStart",function() {
$('#loader').show();
}).bind("sortEnd",function() {
$('#loader').hide();
});
}
);
@dispatchEvent('scripts.beforeClose')
</script>
@endpush
@endonce
<link rel='stylesheet' type='text/css' href='includes/libs/fullCalendar/fullcalendar.css' />
@endsection