summaryrefslogtreecommitdiff
blob: 74d172fc7b0d2aa3d3d1e163f664957c6718ed0c (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
<form>
<label for="bug_title"><strong>Bug title:</strong></label><br />
<input type="text" id="bug_title" value="<%= @package %>: Unspecified vulnerability (<%= bugs_unify_cvenames(@cve_ids) %>)" style="width: 100%; font-size: 115%;" />
<br /><br />
<strong>File in:</strong>
<input type="radio" name="bug_type" id="type_1" value="vuln" checked="checked" />
<label for="type_1">Vulnerabilities</label>&nbsp;&nbsp;&nbsp;
<input type="radio" name="bug_type" id="type_2" value="kernel" />
<label for="type_2">Kernel</label>
<br /><br />

<input type="checkbox" id="cc_maint" value="1" checked="checked" />
<label for="cc_maint"><strong>CC the maintainers:</strong></label> <%= @maintainers.join ', ' %>
<br /><br />
<label for="custom_cc"><strong>Add other people to CC:</strong> (comma separated)</label><br />
<input type="text" id="custom_cc" style="width: 100%" />
<br /><br />

<strong>Whiteboard:</strong><br />
<select id="wb_1">
  <option>--</option>
  <option>A0</option>
  <option>A1</option>
  <option>A2</option>
  <option>A3</option>
  <option>A4</option>
  <option>A?</option>
  <option>B0</option>
  <option>B1</option>
  <option>B2</option>
  <option>B3</option>
  <option>B4</option>
  <option>B?</option>
  <option>C0</option>
  <option>C1</option>
  <option>C2</option>
  <option>C3</option>
  <option>C4</option>
  <option>C?</option>
  <option>~0</option>
  <option>~1</option>
  <option>~2</option>
  <option>~3</option>
  <option>~4</option>
  <option>~?</option>
  <option>?0</option>
  <option>?1</option>
  <option>?2</option>
  <option>?3</option>
  <option>?4</option>
  <option>??</option>
</select>

<select id="wb_2">
  <option>[ebuild cve]</option>
  <option>[upstream cve]</option>
  <option>[upstream/ebuild cve]</option>
  <option>[stable cve]</option>
  <option>[stable? cve]</option>
  <option>[cleanup cve]</option>
  <option>[?]</option>
</select>

<input type="text" id="wb_ext" />

<br /><br />
<input type="checkbox" id="add_comment" value="1" />
<label for="add_comment"><strong>Add a comment:</strong> (appears after the CVE descriptions)</label>

<textarea id="comment" rows="5" style="width: 100%;" onchange="$('add_comment').checked = true;"></textarea>

<br /><br />
<strong>
  <input type="checkbox" id="add_cves" value="1" checked="checked" />
  <label for="add_cves">Add CVE descriptions:</label>
</strong>

<p><pre><%= @cve_txt %></pre></p>

<input type="hidden" name="package" id="package" value="<%= @package %>" />
</form>