Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: b0590be5f31da91b65cbfc32f586d4daa5adfd65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!-- **************************************************************************
#
# Copyright  (c) 2004-2009 Oracle Corporation.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors: 
#
#    Kohsuke Kawaguchi
#        
#
#************************************************************************** --> 


<!--
  Used to asynchronously update executor queue
-->
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:s="/lib/form" xmlns:p="/lib/hudson/project">
  <l:ajax>
    <p:matrix autoRefresh="true">
      <j:choose>
        <j:when test="${p==null}">
          <!-- Do nothing. Clutters large sparse matrix
          <img src="${imagesURL}/24x24/grey.png" tooltip="${%Not configured}" alt="${%Not configured}"/>
          -->
        </j:when>
        <j:otherwise>
          <a href="${p.shortUrl}">
            <j:if test="${p.isBuilding()}">
                  <img src="${imagesURL}/24x24/grey_anime.gif" tooltip="Building" alt="Building"/>
            </j:if>
            <j:if test="${!p.isBuilding()}">
                  <img src="${imagesURL}/24x24/${p.buildStatusUrl}" tooltip="${p.iconColor.description}" alt="${p.iconColor.description}"/>
            </j:if>
             
            <j:if test="${empty(o.x) and empty(o.y)}">
              ${p.combination.toString(o.z)}
            </j:if>
          </a>
        </j:otherwise>
      </j:choose>
    </p:matrix>
  </l:ajax>
</j:jelly>

Back to the top