blob: 5c2a9b604bacf6064ce9d3a38cb2971ebe96db6a (
plain)
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
|
{% extends "layout/base.html" %}
{% block content %}
<div class="row">
<h2>{{ BLI.C }}/{{ BLI.P }}-{{ BLI.V }}::{{ BLI.R }}
{% if BLI.Fail %}
{% for BE in BLI.BE_tmp %}
{% if BE.ErrorId.ErrorId == 1 %}
<span class="label label-warning">{{ BE.ErrorId.ErrorName|upper }}</span>
{% elif BE.ErrorId.ErrorId == 2 %}
<span class="label label-warning">{{ BE.ErrorId.ErrorName|upper }}</span>
{% elif BE.ErrorId.ErrorId == 3 %}
<span class="label label-info">OTHERS</span>
{% else %}
<span class="label label-danger">{{ BE.ErrorId.ErrorName|upper }}</span>
{% endif %}
{% endfor %}
{% else %}
<span class="label label-success">OK</span>
{% endif %}
</h2>
</div>
<div class="row-fluid">
<div class=span3>
<p class="lead">Host information</p>
Host: {{ BLI.hostname }}<br />
Config: {{BLI.config }}<br />
Profile: {{BLI.profile }}<br/>
Emerge options :
</div>
{% if BLI.use_enable %}
<div class="span3 ">
<p class="lead">Enabled useflags</p>
{% for use in BLI.use_enable %}
{{ use }}
{% endfor %}
</div>
{% endif %}
{% if BLI.use_disable %}
<div class=span3>
<p class="lead">Disabled useflags</p>
{% for use in BLI.use_disable %}
{{ use }}
{% endfor %}
</div>
{% endif %}
</div>
<div class="row-fluid">
<div class=span12>
{% if BLI.Summery_text %}
<p class="lead">Summery: </p>
{{ BLI.Summery_text|linebreaks }}
{% endif %}
</div>
</div>
<div class="row-fluid">
<div class=span12>
{% if BLI.Repoman %}
<p class="lead">Repoman Summery: </p>
{{ BLI.Repoman|linebreaks }}
{% endif %}
</div>
</div>
<div class="row-fluid">
<div class=span12>
{% if BLI.QA %}
<p class="lead">QA Summery: </p>
{{ BLI.QA|linebreaks }}
{% endif %}
</div>
</div>
<div class="row-fluid">
<div class=span12>
<p class="lead">Emerge Info: </p>
{{ BLI.emerge_info_text|linebreaks }}
</div>
</div>
<div class="row-fluid">
<div class="span12">
{% if BLI.logname %}
<br />
Log file name:{{ BLI.logname }}<br />
<a href="{{ STATIC_URL }}logs/{{BLI.hostname}}/{{BLI.config}}/{{ BLI.logname }}">Raw log<a/><br />
{% endif %}
</div>
</div>
{% endblock %}
|