OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
77
app/Domain/Clients/Templates/showAll.blade.php
Normal file
77
app/Domain/Clients/Templates/showAll.blade.php
Normal file
@@ -0,0 +1,77 @@
|
||||
@extends($layout)
|
||||
@section('content')
|
||||
|
||||
@dispatchEvent('beforePageHeaderOpen')
|
||||
<div class="pageheader">
|
||||
@dispatchEvent('afterPageHeaderOpen')
|
||||
<div class="pageicon"><span class="fa fa-address-book"></span></div>
|
||||
<div class="pagetitle">
|
||||
<h5>{!! __('label.administration') !!}</h5>
|
||||
<h1>{!! __('headline.all_clients') !!}</h1>
|
||||
</div>
|
||||
@dispatchEvent('beforePageHeaderClose')
|
||||
</div><!--pageheader-->
|
||||
@dispatchEvent('afterPageHeaderClose')
|
||||
|
||||
<div class="maincontent">
|
||||
<div class="maincontentinner">
|
||||
|
||||
{!! $tpl->displayNotification() !!}
|
||||
|
||||
@can('clients.create')
|
||||
<x-global::forms.button tag="a" link="{{ BASE_URL }}/clients/newClient" contentRole="primary"><i class='fa fa-plus'></i> {!! __('link.new_client') !!}</x-global::forms.button>
|
||||
@endcan
|
||||
|
||||
<table class="table table-bordered" cellpadding="0" cellspacing="0" border="0" id="allClientsTable">
|
||||
<colgroup>
|
||||
<col class='con0' />
|
||||
<col class='con1' />
|
||||
<col class='con0' />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class='head0'>{!! __('label.client_id') !!}</th>
|
||||
<th class='head1'>{!! __('label.client_name') !!}</th>
|
||||
<th class='head0'>{!! __('label.url') !!}</th>
|
||||
<th class='head1'>{!! __('label.number_of_projects') !!}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
@foreach ($allClients as $row)
|
||||
<tr>
|
||||
<td>{{ $row['id'] }}</td>
|
||||
<td>
|
||||
<a class="" href="{{ BASE_URL }}/clients/showClient/{{ $row['id'] }}"><i class='fa fa-plus'></i> {{ $row['name'] }}</a>
|
||||
</td>
|
||||
<td><a href="{{ $row['internet'] }}" target="_blank">{{ $row['internet'] }}</a></td>
|
||||
<td>{{ $row['numberOfProjects'] }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@once
|
||||
@push('scripts')
|
||||
<script type="text/javascript">
|
||||
|
||||
@dispatchEvent('scripts.afterOpen')
|
||||
|
||||
jQuery(document).ready(function() {
|
||||
|
||||
leantime.clientsController.initClientTable();
|
||||
|
||||
|
||||
});
|
||||
|
||||
@dispatchEvent('scripts.beforeClose')
|
||||
|
||||
</script>
|
||||
@endpush
|
||||
@endonce
|
||||
|
||||
@endsection
|
||||
Reference in New Issue
Block a user