Source

scm-manager / scm-plugin-backend / src / main / webapp / WEB-INF / ftl / index.html

<#include "template/header.html">

<div id="categories">
<#list categories as category>
  <div style="padding-bottom: 20px">
    <h2>${category.name}</h2>
    <div class="plugins">
      <#list category.plugins as plugin>
        <h3><a href="#">${plugin.name}</a></h3>
        <div>
          ${plugin.description}<br />
          <a href="${contextPath}/page/detail/${plugin.groupId}/${plugin.artifactId}.html" style="color: #1C94C4;">more</a>
        </div>
      </#list>
    </div>
  </div>
</#list>
</div>

<script type="text/javascript">
  jQuery(document).ready(function(){
    $( "div.plugins" ).accordion({
      active: false
    });
  });
</script>

<#include "template/footer.html">