[PR #1527] [MERGED] Page Templates Implementation #5833

Closed
opened 2026-02-05 10:18:19 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/1527
Author: @ssddanbrown
Created: 7/7/2019
Status: Merged
Merged: 8/11/2019
Merged by: @ssddanbrown

Base: masterHead: 129-page-templates


📝 Commits (4)

  • 7116742 Started implementation of page template
  • 2ebbc6b Merge branch 'master' into 129-page-templates
  • de3e9ab Added ability to use templates
  • 5fdab3b Updated template test to be more stable

📊 Changes

25 files changed (+628 additions, -128 deletions)

View changed files

📝 app/Entities/Repos/PageRepo.php (+37 -2)
📝 app/Http/Controllers/PageController.php (+8 -2)
app/Http/Controllers/PageTemplateController.php (+63 -0)
database/migrations/2019_07_07_112515_add_template_support.php (+54 -0)
resources/assets/icons/chevron-down.svg (+1 -0)
resources/assets/icons/template.svg (+1 -0)
📝 resources/assets/js/components/index.js (+3 -1)
📝 resources/assets/js/components/markdown-editor.js (+32 -0)
resources/assets/js/components/template-manager.js (+85 -0)
📝 resources/assets/js/components/wysiwyg-editor.js (+26 -0)
📝 resources/assets/sass/_blocks.scss (+4 -0)
📝 resources/assets/sass/_components.scss (+28 -0)
📝 resources/assets/sass/_pages.scss (+1 -1)
📝 resources/lang/en/entities.php (+7 -0)
📝 resources/lang/en/settings.php (+1 -0)
resources/views/pages/attachment-manager.blade.php (+99 -0)
📝 resources/views/pages/edit.blade.php (+1 -1)
resources/views/pages/editor-toolbox.blade.php (+32 -0)
resources/views/pages/form-toolbox.blade.php (+0 -121)
📝 resources/views/pages/show.blade.php (+6 -0)

...and 5 more files

📄 Description

As per proposal here: https://github.com/BookStackApp/BookStack/issues/129#issuecomment-460412403

This branch & pull request is a work-in-progress.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/1527 **Author:** [@ssddanbrown](https://github.com/ssddanbrown) **Created:** 7/7/2019 **Status:** ✅ Merged **Merged:** 8/11/2019 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `master` ← **Head:** `129-page-templates` --- ### 📝 Commits (4) - [`7116742`](https://github.com/BookStackApp/BookStack/commit/71167426bb5196483b85ebcaecc33745bcfa25b6) Started implementation of page template - [`2ebbc6b`](https://github.com/BookStackApp/BookStack/commit/2ebbc6b658e80c1a291de9d699627c82ed07577f) Merge branch 'master' into 129-page-templates - [`de3e9ab`](https://github.com/BookStackApp/BookStack/commit/de3e9ab094eb58b400cd5206bd5b4246094363a9) Added ability to use templates - [`5fdab3b`](https://github.com/BookStackApp/BookStack/commit/5fdab3b8afc4d4885b37f128598cb5862ecfaae1) Updated template test to be more stable ### 📊 Changes **25 files changed** (+628 additions, -128 deletions) <details> <summary>View changed files</summary> 📝 `app/Entities/Repos/PageRepo.php` (+37 -2) 📝 `app/Http/Controllers/PageController.php` (+8 -2) ➕ `app/Http/Controllers/PageTemplateController.php` (+63 -0) ➕ `database/migrations/2019_07_07_112515_add_template_support.php` (+54 -0) ➕ `resources/assets/icons/chevron-down.svg` (+1 -0) ➕ `resources/assets/icons/template.svg` (+1 -0) 📝 `resources/assets/js/components/index.js` (+3 -1) 📝 `resources/assets/js/components/markdown-editor.js` (+32 -0) ➕ `resources/assets/js/components/template-manager.js` (+85 -0) 📝 `resources/assets/js/components/wysiwyg-editor.js` (+26 -0) 📝 `resources/assets/sass/_blocks.scss` (+4 -0) 📝 `resources/assets/sass/_components.scss` (+28 -0) 📝 `resources/assets/sass/_pages.scss` (+1 -1) 📝 `resources/lang/en/entities.php` (+7 -0) 📝 `resources/lang/en/settings.php` (+1 -0) ➕ `resources/views/pages/attachment-manager.blade.php` (+99 -0) 📝 `resources/views/pages/edit.blade.php` (+1 -1) ➕ `resources/views/pages/editor-toolbox.blade.php` (+32 -0) ➖ `resources/views/pages/form-toolbox.blade.php` (+0 -121) 📝 `resources/views/pages/show.blade.php` (+6 -0) _...and 5 more files_ </details> ### 📄 Description As per proposal here: https://github.com/BookStackApp/BookStack/issues/129#issuecomment-460412403 This branch & pull request is a work-in-progress. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:18:19 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5833