GithubHelp home page GithubHelp logo

grand-partners-html-form's Introduction

Project overview

In this project, there are HTML templates source for PDF generator.

This source is connected to PHP backend using Mustache template engine a dynamic pages.

graph
    gen[generate PDF request] --> be[Backend]
    subgraph PDF generator
        be --> |collect user data, html source `this project`| engine[Mustache Engine]
        engine --> |PDF generate| file[PDF file]
    end

File desciption

  • cash.html cash form

  • margin.html margin form

Dynamic variables

Variables value will be assigned by backend Musache template engine.

Checkboxes

<input type="checkbox" id="No3" class="{{account_info.structured_product_experience_id_no_checkbox_class}}" />

if the checkbox is checked, the class will be assigned value as checkbox-checked, see below example:

<input type="checkbox" id="No3" class="checkbox-checked" />

if the checkbox is not checked, the class will be assigned value _not_checked as below example

<input type="checkbox" id="No3" class="_not_checked" />

Input fields

Similarly, form fields usage is as below

<strong>  {{account_info.firstname_zh}} {{account_info.lastname_zh}}</strong>

variable will be assigned

<strong> John Deo</strong>

styling

common style should be centrailse to style.css, or inline for simple style

IMOPRTANT

only css/style.css and specific html files are configured as extenal source, adding else files will break the program.

grand-partners-html-form's People

Contributors

mz-bug avatar ahmartariq avatar lncknight avatar webuiprovider avatar succesfull888 avatar webuimaker avatar

Watchers

 avatar

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.