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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
metal:use-macro="view/macro:page/main_only"
i18n:domain="launchpad"
>
<body>
<metal:block fill-slot="head_epilogue">
<meta http-equiv="refresh" content="300" />
</metal:block>
<metal:heading fill-slot="heading">
<h1 tal:content="context/title">Bob the builder</h1>
</metal:heading>
<div metal:fill-slot="main" tal:define="job context/currentjob">
<div class="top-portlet">
<span style="float:right;"
tal:content="structure view/menu:overview/edit/fmt:icon-link" />
<p style="max-width: 100%; margin-top: .5em;">
<tal:title content="context/title">Bob the builder</tal:title>
builds
<tal:arch content="context/processor/title">Intel 386</tal:arch>
binaries and is owned by
<a tal:replace="structure context/owner/fmt:link">OWNER</a>.
</p>
</div>
<div class="yui-ge">
<div class="first yui-u">
<div metal:use-macro="template/macros/status" />
</div><!-- yui-u -->
<div class="yui-u">
<div class="portlet">
<h2>Builder information</h2>
<dl>
<dt>Architecture:</dt>
<dd>
<span tal:replace="context/processor/title">Intel 386</span>
<tal:virtual condition="context/virtualized">(virtual)
</tal:virtual>
</dd>
<dt>Location:</dt>
<dd tal:content="context/url" />
<dt>Owner:</dt>
<dd><a tal:replace="structure context/owner/fmt:link">OWNER</a>
</dd>
<dt>Mode:</dt>
<dd>
<tal:manual condition="context/manual">This builder is in
manual-mode and not accepting jobs from the auto-build system.
</tal:manual>
<tal:auto condition="not: context/manual">This builder is in
auto-mode and accepting jobs from the auto-build system.
</tal:auto>
<form tal:attributes="action view/menu:overview/edit/fmt:url"
tal:condition="view/menu:overview/mode/enabled"
method="post" style="display:inline">
<input type="hidden" value="" name="field.manual.used"
id="field.manual.used" class="hiddenType"/>
<input id="field.manual" name="field.manual" type="hidden"
value="on" tal:condition="not: context/manual" />
<button type="submit" name="field.actions.update"
id="field.actions.update"
tal:content="view/toggle_mode_text">
Switch to x-mode</button>
</form>
</dd>
</dl>
</div><!-- portlet -->
</div><!-- yui-u -->
<tal:menu replace="structure view/@@+related-pages" />
</div>
</div>
<metal:macros fill-slot="bogus">
<metal:macro define-macro="status-summary">
<tal:comment replace="nothing">
Status summary.
:param builder: IBuilder, context builder.
:param job: IBuildQueue, job assigned to the builder.
</tal:comment>
<tal:no_job condition="not: job">
<tal:builderok condition="builder/builderok">
<tal:idle condition="not: builder/manual">
<span class="sortkey" tal:content="string:0" />
<span class="sprite yes green">Idle</span>
</tal:idle>
<tal:manual tal:condition="builder/manual">
<span class="sortkey" tal:content="string:1" />
<span class="sprite info">Manual</span>
</tal:manual>
</tal:builderok>
<tal:buildernok condition="not: builder/builderok">
<span class="sortkey" tal:content="string:2" />
<span class="sprite no red">Disabled</span>
</tal:buildernok>
</tal:no_job>
<tal:job-header condition="job">
<span class="sortkey" tal:content="job/id" />
<img src="/@@/processing" alt="[building]" />
<tal:specific-job replace="structure job/specific_job/@@+current" />
</tal:job-header>
</metal:macro>
<metal:macro define-macro="status">
<tal:comment replace="nothing">
Status summary.
:param job: IBuildQueue, job assigned to the context builder.
</tal:comment>
<div class="portlet">
<h2>
<span class="see-all"><a
tal:replace="structure view/menu:overview/history/fmt:link" />
</span>
Current status</h2>
<p tal:define="builder context" id="current-build-summary">
<metal:summary use-macro="template/macros/status-summary" />
</p>
<tal:buildernok condition="not: context/builderok">
<div tal:content="structure
context/failnotes/fmt:text-to-html" />
</tal:buildernok>
<tal:job condition="job" replace="structure job/@@+current" />
</div>
</metal:macro>
</metal:macros>
</body>
</html>
|