Compare commits

..

4 Commits

Author SHA1 Message Date
e554f5ad79 Merge branch 'develop' 2023-05-19 13:11:32 -04:00
a89a5ce5a4 Merge branch 'develop' 2023-02-15 18:24:36 -03:00
1dbcaf0a26 Merge branch 'develop' 2023-02-15 18:01:33 -03:00
66bf12c353 Merge branch 'develop' 2023-02-14 17:27:30 -03:00
3 changed files with 4 additions and 33 deletions

View File

@ -2,37 +2,10 @@
@section('page_content') @section('page_content')
<div class="ui container"> <div class="ui container">
<table class="ui table" id="logs"> <div class="ui list">
<thead> @foreach ($files as $file)
<tr> <a class="item" href="{{$urls->base}}/log/{{urlencode($file->getBasename())}}">[{{(new DateTimeImmutable)->setTimestamp($file->getCTime())->format('Y-m-d H:i:s')}}] {{$file->getBasename()}}</a>
<th>Date <i class="calendar icon"></i></th>
<th>File <i class="file icon"></i></th>
</tr>
</thead>
<tbody>
@foreach($files as $file)
<tr>
<td class="collapsing">
{{(new DateTimeImmutable)->setTimestamp($file->getCTime())->format('Y-m-d H:i:s')}}
</td>
<td>
<a href="{{$urls->base}}/log/{{urlencode($file->getBasename())}}">
{{$file->getBasename()}}
</a>
</td>
</tr>
@endforeach @endforeach
</tbody> </div>
</table>
</div> </div>
@endsection @endsection
@push('page_scripts')
<script type="text/javascript">
$(document).ready(() => {
new DataTable('#logs', {
order: [[0, 'desc']]
})
})
</script>
@endpush

View File

@ -1,5 +1,4 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.3/jquery.min.js" integrity="sha512-STof4xm1wgkfm7heWqFJVn58Hm3EtS31XFaagaa8VMReCXAkQnJZ+jEy8PCC/iT18dFy95WcExNHFTqLyp72eQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.3/jquery.min.js" integrity="sha512-STof4xm1wgkfm7heWqFJVn58Hm3EtS31XFaagaa8VMReCXAkQnJZ+jEy8PCC/iT18dFy95WcExNHFTqLyp72eQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fomantic-ui/2.9.2/semantic.min.js" integrity="sha512-5cguXwRllb+6bcc2pogwIeQmQPXEzn2ddsqAexIBhh7FO1z5Hkek1J9mrK2+rmZCTU6b6pERxI7acnp1MpAg4Q==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/fomantic-ui/2.9.2/semantic.min.js" integrity="sha512-5cguXwRllb+6bcc2pogwIeQmQPXEzn2ddsqAexIBhh7FO1z5Hkek1J9mrK2+rmZCTU6b6pERxI7acnp1MpAg4Q==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdn.datatables.net/1.13.6/js/jquery.dataTables.min.js"></script>
@stack('page_scripts') @stack('page_scripts')

View File

@ -1,4 +1,3 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fomantic-ui/2.9.2/semantic.min.css" integrity="sha512-n//BDM4vMPvyca4bJjZPDh7hlqsQ7hqbP9RH18GF2hTXBY5amBwM2501M0GPiwCU/v9Tor2m13GOTFjk00tkQA==" crossorigin="anonymous" referrerpolicy="no-referrer" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fomantic-ui/2.9.2/semantic.min.css" integrity="sha512-n//BDM4vMPvyca4bJjZPDh7hlqsQ7hqbP9RH18GF2hTXBY5amBwM2501M0GPiwCU/v9Tor2m13GOTFjk00tkQA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="http://cdn.datatables.net/1.13.6/css/jquery.dataTables.min.css" />
@stack('page_styles') @stack('page_styles')