datatable.directory codebase https://datatable.directory/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
datatable.directory/resources/views/table/_panel-export.blade.php

22 lines
556 B

<b>Export presets:</b>
<ul class="mt-2">
@foreach([
'json' => 'JSON array of objects',
'csv' => 'CSV table',
'c' => 'C structs array',
] as $type => $title)
<li><a target="_blank" href="{{ route('table.export', [
'user' => $table->owner->name,
'table' => $table->name,
'format' => $type
]) }}">{{ $title }}</a><a href="{{ route('table.export', [
'user' => $table->owner->name,
'table' => $table->name,
'format' => $type,
'dl' => 1
]) }}">@icon(fa-download px-1, Download)</a>
@endforeach
</ul>