]> BookStack Code Mirror - bookstack/commit
Reorganised and split out export templates & styles
authorDan Brown <redacted>
Wed, 8 Jun 2022 16:56:59 +0000 (17:56 +0100)
committerDan Brown <redacted>
Wed, 8 Jun 2022 16:56:59 +0000 (17:56 +0100)
commit88012449f3ae52f8d5d4913fb994b3b6936fd505
tree153cb79ff486393af17457ae605b5ae919d558b4
parente00d88f45dc6f3ab8855aa10f8d9200f923f1bf5
Reorganised and split out export templates & styles

Moved export templates elements into their own folder for better
grouping of logical usage.
Within the base export template, added some body classes to allow easier
targeted customisation via custom head css.
Split content of export templates into smaller partials for easier
future customization.

Closes #3443
17 files changed:
app/Entities/Tools/ExportFormatter.php
resources/sass/export-styles.scss
resources/views/books/export.blade.php [deleted file]
resources/views/chapters/export.blade.php [deleted file]
resources/views/common/export-styles.blade.php [deleted file]
resources/views/exports/book.blade.php [new file with mode: 0644]
resources/views/exports/chapter.blade.php [new file with mode: 0644]
resources/views/exports/page.blade.php [moved from resources/views/pages/export.blade.php with 71% similarity]
resources/views/exports/parts/book-contents-menu.blade.php [new file with mode: 0644]
resources/views/exports/parts/chapter-contents-menu.blade.php [new file with mode: 0644]
resources/views/exports/parts/chapter-item.blade.php [new file with mode: 0644]
resources/views/exports/parts/custom-head.blade.php [moved from resources/views/common/export-custom-head.blade.php with 100% similarity]
resources/views/exports/parts/meta.blade.php [moved from resources/views/entities/export-meta.blade.php with 100% similarity]
resources/views/exports/parts/page-item.blade.php [new file with mode: 0644]
resources/views/exports/parts/styles.blade.php [new file with mode: 0644]
resources/views/layouts/export.blade.php
tests/Entity/ExportTest.php