Coder Social home page Coder Social logo

oneplc / plc_x_templates Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10 KB

A Set of View Templates to Build Sofware wih onePlace or any other laminas-mvc based application

License: BSD 3-Clause "New" or "Revised" License

PHP 51.81% HTML 48.19%
oneplace bootstrap4 bootstrap-templates laminas-mvc laminas-module bootstrap laminas oneplace-module

plc_x_templates's Introduction

oneplace-templates

Packagist Downloads Stable Version GitHub Release Date Open Issues

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>

plc_x_templates's People

Contributors

praesidiarius avatar

Watchers

 avatar

plc_x_templates's Issues

add progressbar

Feature Request

Q A
New Feature yes
RFC yes/no
BC Break yes/no

Summary

add alert

Feature Request

Q A
New Feature yes
RFC yes/no
BC Break yes/no

Summary

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.