Skip to content

tduchateau/thymeleaf-bootstrap-dialect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Thymeleaf Bootstrap dialect

This is a draft of a Twitter's Bootstrap Thymeleaf dialect.

For now, it only allows to generate Nav (tabs and pills) using custom Thymeleaf tags.

Requirements

  • Java 6
  • Thymeleaf 2.0.15

Installation

TODO

Usage

Nav tabs

<bootstrap:nav type="tabs">
    <tab id="firstId" label="First tab" active="true">
        any content here : plain text, HTML tags (even if they need to be processed by Thymeleaf !)
    </tab>
    <tab id="secondId" label="Second tab">
        any content here too !
    </tab>
</bootstra:nav>

Nav pills

Just replace the type attribute value by pills !

<bootstrap:nav type="pills">

Bitdeli Badge

About

A draft of Thymeleaf Bootstrap dialect that uses custom tags

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages