<%@ page import="com.atlassian.jira.ComponentManager"%>
<%@ page import="com.atlassian.jira.plugin.webfragment.model.JiraHelper"%>
<%@ page import="com.atlassian.jira.web.component.webfragment.WebFragmentWebComponent"%>
<%@ page import="com.atlassian.util.profiling.UtilTimerStack"%>
<%@ include file="/includes/decorators/header.jsp" %>
<%@ taglib uri="webwork" prefix="webwork" %>
<%@ taglib uri="sitemesh-page" prefix="page" %>
<script language="JavaScript" src="<%= request.getContextPath() %>/includes/js/adminMenu.js"></script>

<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#ffffff">
<tr>
    <td width="170" valign="top" bgcolor="#f0f0f0">
        <div id="adminMenu">
        <%
            UtilTimerStack.push("Rendering Admin menu");
            WebFragmentWebComponent webFragment = (WebFragmentWebComponent) ComponentManager.getComponentInstanceOfType(WebFragmentWebComponent.class);
        %>
        <%= webFragment.getHtml("templates/plugins/webfragments/system-admin.vm", "system.admin", new JiraHelper(request)) %>
        <%
            UtilTimerStack.pop("Rendering Admin menu");
        %>
        </div>
    </td>
    <td width="1" bgcolor="#bbbbbb"><img src="<%= request.getContextPath() %>/images/border/spacer.gif" height="1" width="1"></td>
    <td valign="top">
        <table cellspacing="0" cellpadding="10" border="0" width="100%"><tr><td>
            <decorator:body />
        </td></tr></table>
    </td>
</tr>
</table>

<%@ include file="/includes/decorators/footer.jsp" %>
