Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <#macro optAttribute attribute value="">
- <#if value?has_content>${attribute}="${value}"</#if>
- </#macro>
- <#macro svgUse cssClass spriteUrl symbolId>
- <svg <@optAttribute "class" cssClass/>>
- <use xlink:href="${spriteUrl}#${symbolId}"></use>
- </svg>
- </#macro>
- <#macro svgUseObject svgIcon>
- <@svgUse svgIcon.cssClass!"" svgIcon.spriteUrl svgIcon.symbolId />
- </#macro>
- <#macro flexOrder xs="" sm="" md="" lg="" xl="">
- <#if xs?has_content>order-${xs}</#if> <#if sm?has_content>order-sm-${sm}</#if> <#if md?has_content>order-md-${md}</#if> <#if lg?has_content>order-lg-${lg}</#if> <#if xl?has_content>order-xl-${xl}</#if>
- </#macro>
- <#macro a href="javascript:void(0);" id="" class="" target="" title="">
- <a href="${href}" <@optAttribute "id" id/> <@optAttribute "class" class/> <@optAttribute "target" target/> <@optAttribute "title" title/> >
- <#nested>
- </a>
- </#macro>
- <#macro csrfInput>
- <#if _csrf??>
- <input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" />
- </#if>
- </#macro>
Add Comment
Please, Sign In to add comment