index.jelly 964 字节
Newer Older
K
kohsuke 已提交
1
<st:compress xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt">
2
	<st:header name="X-Hudson" value="${servletContext.getAttribute('version')}" />
K
kohsuke 已提交
3
  <j:new var="h" className="hudson.Functions" /><!-- instead of JSP functions -->
4
	<l:layout title="${h.ifThenElse(it.class.name=='hudson.model.AllView','%Dashboard',it.viewName)}">
5
    <st:include page="sidepanel.jelly" />
K
kohsuke 已提交
6 7
		<l:main-panel>
		  <div id="view-message">
8
        <t:editableDescription permission="${app.ADMINISTER}"/>
K
kohsuke 已提交
9
		  </div>
K
kohsuke 已提交
10
      <j:set var="items" value="${it.items}"/>
11
      <st:include page="main.jelly" />
K
kohsuke 已提交
12
		</l:main-panel>
13 14 15 16 17 18 19
    <l:header>
      <!-- for screen resolution detection -->
      <l:yui module="cookie" suffix="-beta" />
      <script>
        YAHOO.util.Cookie.set("screenResolution", screen.width+"x"+screen.height); 
      </script>
    </l:header>
K
kohsuke 已提交
20
	</l:layout>
K
kohsuke 已提交
21
</st:compress>