oneplace / oneplace-templates
onePlace Templates
Installs: 149
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 3
Type:oneplace-module
Requires
- php: ^7.1
- oneplace/oneplace-core: ^1.0.33
- phpoffice/phpspreadsheet: ^1.10
Requires (Dev)
- laminas/laminas-test: ^3.3.0
- oneplace/oneplace-core: ^1.0.33
- phpunit/phpunit: ^8
This package is auto-updated.
Last update: 2024-09-29 05:56:32 UTC
README
Introduction
This is a collection of templates to build software with onePlace
You can actually use this collection of bootstrap based html templates for every laminas-mvc based application
Included Components
Installation
The easiest way to install onePlace Templates is via composer
composer require oneplace/oneplace-templates
Quick Start
Just use the templates you want and customize them in the way you need. Here is an example of an form based on a bootstrap card
# Define Body $sCardBody = 'YOUR-HTML-OR-PARTIAL-HERE'; # Define Footer $sCardFooter = $this->partial('templates/card/basic_footer', [ 'sButtonLabel' => $this->translate('Save Calendar'), 'sButtonIcon' => 'fas fa-save', 'bCancelButton' => true, 'sCancelButtonAction' => '/calendar', ]); ?> <form action="" method="POST"> <div class="row"> <?php # Print Card echo $this->partial('templates/card/basic', [ 'sCardTitle' => $this->translate('Manage Calendar'), 'sCardBody' => $sCardBody, 'sCardFooter' => $sCardFooter, ]); ?> </div> </form>