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.
|
|
|
<b>Export presets:</b>
|
|
|
|
|
|
|
|
<ul class="mt-2">
|
|
|
|
@foreach([
|
|
|
|
'json' => 'JSON array of objects',
|
|
|
|
'js' => 'JavaScript module',
|
|
|
|
'php' => 'PHP include',
|
|
|
|
'csv' => 'CSV table',
|
|
|
|
'csv-tab' => 'CSV table, tabbed',
|
|
|
|
'c' => 'C structs array',
|
|
|
|
'xmacro' => 'C X Macro',
|
|
|
|
] 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>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Note: In the X Macro option, add <code>&noq=foo,bar</code> to the URL
|
|
|
|
to strip quotes from specified columns
|
|
|
|
</p>
|