diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2016-10-17 23:09:21 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-05-29 21:01:53 +0200 |
commit | 599b6aab677439ae1bdea2cdca3233d0b763fd3f (patch) | |
tree | 8766f124271d056c8e8c22fd1a8a1ada08284275 /website2/templates/features/_features.html | |
parent | 4e75ed8f8661033662b2d26c4a42fafa9d61b75f (diff) | |
download | lombok-599b6aab677439ae1bdea2cdca3233d0b763fd3f.tar.gz lombok-599b6aab677439ae1bdea2cdca3233d0b763fd3f.tar.bz2 lombok-599b6aab677439ae1bdea2cdca3233d0b763fd3f.zip |
Updated just about all of the pages to the template-based redesign.
Added ajaxified loading for feature pages.
Diffstat (limited to 'website2/templates/features/_features.html')
-rw-r--r-- | website2/templates/features/_features.html | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/website2/templates/features/_features.html b/website2/templates/features/_features.html new file mode 100644 index 00000000..bcfdee63 --- /dev/null +++ b/website2/templates/features/_features.html @@ -0,0 +1,80 @@ +<#import "/_scaffold.html" as main> + +<#macro featureSection> + <div class="row"> + <#nested> + </div> +</#macro> + +<#macro history> + <div class="row"> + <#nested> + </div> +</#macro> + +<#macro overview> + <div class="row"> + <h3>Overview</h3> + <#nested> + </div> +</#macro> + +<#macro experimental> + <div class="row"> + <h3>Experimental</h3> + + Experimental because: + <#nested> + </div> +</#macro> + +<#macro snippets name> + <div class="row container-fluid"> + <div class="col-lg-6"> + <h3>With Lombok</h3> + + <div class="snippet">${usages.pre(name)?no_esc}</div> + </div> + <div class="sep"></div> + <div class="col-lg-6"> + <h3>Vanilla Java</h3> + + <div class="snippet">${usages.post(name)?no_esc}</div> + </div> + </div> +</#macro> + +<#macro confKeys> + <div class="row"> + <h3>Supported configuration keys:</h3> + <dl> + <#nested> + </dl> + </div> +</#macro> + +<#macro smallPrint> + <div class="row"> + <h3>Small print</h3> + + <div class="smallprint"> + <#nested> + </div> + </div> +</#macro> + +<#macro scaffold title logline load=[]> + <#assign load2=load + ["/js/history.js"]> + <@main.scaffold load2> + <div class="page-header top5" id="featureContent"> + <div class="row text-center"> + <div class="header-group"> + <h1>${title}</h1> + + <h3>${logline}</h3> + </div> + </div> + <#nested> + </div> + </@main.scaffold> +</#macro> |