Source

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

Full commit
<#include "../template/header.html">

<h2>Admin (${subject.name})</h2>

<h3>Actions</h3>
<ul id="actions">
  <li>
    <a rel="${contextPath}/admin/action/scann">Scann Directories</a>
  </li>
</ul>

<script type="text/javascript">
  $(document).ready(function(){
    $('#actions a').click(function(){
      var action = $(this).attr('rel');
      $.post(action, function(text){
        
      });
    });
  });
</script>

<#include "../template/footer.html">