Quick Base Discussions

Expand all | Collapse all

Examples of Mustache Templates

  • 1.  Examples of Mustache Templates

    Posted 02-28-2016 15:35

    Mustache rendering.

    Wondering if there is a place where you can go a see different templates already formatted, select one you like, and go to the moustache code template, and adapt it to your needs, just changing the data which you have already taken out from quick base.

     

    Thanks



  • 2.  RE: Examples of Mustache Templates

    Top
    Contributor
    Posted 02-29-2016 13:31
    The first place to look is within the source of a QuickBase page where you will see dozens of Mustache templates (search for double braces {{ or }}). For example:

    http://pastie.org/pastes/10742126/text

    You will probably recognize fragments of HTML that are associated with various dialogs you use which have been peppered with various {{tags}} where specific data is inserted.
    Next, use Google to search for examples, tutorials, and other resources. Here is a popular tutorial:
    http://coenraets.org/blog/2011/12/tutorial-html-templates-with-mustache-js/


  • 3.  RE: Examples of Mustache Templates

    Top
    Contributor
    Posted 09-07-2017 14:30
    Thanks, I will look into it.