aboutsummaryrefslogtreecommitdiff
path: root/website/templates/features/_features.html
diff options
context:
space:
mode:
Diffstat (limited to 'website/templates/features/_features.html')
-rw-r--r--website/templates/features/_features.html79
1 files changed, 79 insertions, 0 deletions
diff --git a/website/templates/features/_features.html b/website/templates/features/_features.html
new file mode 100644
index 00000000..2e338834
--- /dev/null
+++ b/website/templates/features/_features.html
@@ -0,0 +1,79 @@
+<#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="snippet-col first-snippet">
+ <h3>With Lombok</h3>
+
+ <div class="snippet">${usages.pre(name)?no_esc}</div>
+ </div>
+ <div class="sep"></div>
+ <div class="snippet-col second-snippet">
+ <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=[]>
+ <@main.scaffold load>
+ <div class="page-header top5" id="featureContent">
+ <div class="row text-center">
+ <div class="header-group">
+ <h1>${title}</h1>
+
+ <h3>${logline?no_esc}</h3>
+ </div>
+ </div>
+ <#nested>
+ </div>
+ </@main.scaffold>
+</#macro>