mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-12 21:43:48 +08:00
21ccfa97dd
Some checks failed
analyse-php / build (push) Has been cancelled
lint-php / build (push) Has been cancelled
test-migrations / build (8.1) (push) Has been cancelled
test-migrations / build (8.2) (push) Has been cancelled
test-migrations / build (8.3) (push) Has been cancelled
test-php / build (8.1) (push) Has been cancelled
test-php / build (8.2) (push) Has been cancelled
test-php / build (8.3) (push) Has been cancelled
25 lines
1.3 KiB
PHP
25 lines
1.3 KiB
PHP
<div component="dropdown"
|
|
class="dropdown-container"
|
|
id="export-menu">
|
|
|
|
<div refs="dropdown@toggle"
|
|
class="icon-list-item"
|
|
aria-haspopup="true"
|
|
aria-expanded="false"
|
|
aria-label="{{ trans('entities.export') }}"
|
|
data-shortcut="export"
|
|
tabindex="0">
|
|
<span>@icon('export')</span>
|
|
<span>{{ trans('entities.export') }}</span>
|
|
</div>
|
|
|
|
<ul refs="dropdown@menu" class="wide dropdown-menu" role="menu">
|
|
<li><a href="{{ $entity->getUrl('/export/html') }}" target="_blank" class="label-item"><span>{{ trans('entities.export_html') }}</span><span>.html</span></a></li>
|
|
<li><a href="{{ $entity->getUrl('/export/pdf') }}" target="_blank" class="label-item"><span>{{ trans('entities.export_pdf') }}</span><span>.pdf</span></a></li>
|
|
<li><a href="{{ $entity->getUrl('/export/plaintext') }}" target="_blank" class="label-item"><span>{{ trans('entities.export_text') }}</span><span>.txt</span></a></li>
|
|
<li><a href="{{ $entity->getUrl('/export/markdown') }}" target="_blank" class="label-item"><span>{{ trans('entities.export_md') }}</span><span>.md</span></a></li>
|
|
<li><a href="{{ $entity->getUrl('/export/zip') }}" target="_blank" class="label-item"><span>{{ trans('entities.export_zip') }}</span><span>.zip</span></a></li>
|
|
</ul>
|
|
|
|
</div>
|