oneplace/oneplace-templates
Composer 安装命令:
composer require oneplace/oneplace-templates
包简介
onePlace Templates
README 文档
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>
统计信息
- 总下载量: 155
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2021-03-30