<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="com.atlassian.plugin.webresource.UrlMode" %>
<%@ page import="com.atlassian.plugin.webresource.WebResourceManager" %>
<%@ page import="com.atlassian.spring.container.ContainerManager" %>
<%@ taglib uri="/webwork" prefix="ww" %>
<html>
<head>
    <title>
        <ww:text name="menu.viewapplication.label"/>
    </title>
    <meta name="section" content="applications"/>
    <meta name="pagename" content="view"/>
    <meta name="help.url" content="<ww:text name="help.application.view.groups"/>"/>
    <%
        //Pull in crowd groups specific resources.
        WebResourceManager manager = (WebResourceManager) ContainerManager.getComponent("webResourceManager");
        manager.requireResource("crowd.web.resources:crowd-group-permissions");
        manager.includeResources(out, UrlMode.AUTO);
    %>
</head>
<body>


<h2 id="application-name">
    <img class="application-icon" style="padding-bottom:3px;" title="<ww:property value="getImageTitle(application.active, application.type)"/>" alt="<ww:property value="getImageTitle(application.active, application.type)"/>"
         src="<ww:property value="getImageLocation(application.active, application.type)" />"/>
    <ww:property value="application.name"/>
</h2>

<div class="page-content">

    <ww:component template="application_tab_headers.jsp">
        <ww:param name="pagekey" value="'application-groups'"/>
    </ww:component>

    <div class="tabContent static" id="tab3">

        <div id="group-data">
            <span id="data-loading" class="aui-icon aui-icon-wait"></span>
        </div>
    </div>

</div>
</body>
</html>