aboutsummaryrefslogtreecommitdiffstats
path: root/lib/srtgui/templates
diff options
context:
space:
mode:
Diffstat (limited to 'lib/srtgui/templates')
-rw-r--r--lib/srtgui/templates/defect.html3
-rw-r--r--lib/srtgui/templates/investigation.html5
-rwxr-xr-xlib/srtgui/templates/maintenance.html4
-rw-r--r--lib/srtgui/templates/management.html6
-rwxr-xr-xlib/srtgui/templates/srtool_metadata_include.html10
-rw-r--r--lib/srtgui/templates/vulnerability.html2
6 files changed, 21 insertions, 9 deletions
diff --git a/lib/srtgui/templates/defect.html b/lib/srtgui/templates/defect.html
index ed00fd90..2cae9514 100644
--- a/lib/srtgui/templates/defect.html
+++ b/lib/srtgui/templates/defect.html
@@ -63,6 +63,9 @@
<dt>SRTool Outcome:</dt>
<dd>{{object.get_outcome_text}}</dd>
+ <dt>Affected Components:</dt>
+ <dd>{{object.packages}}</dd>
+
<dt>Publish:</dt>
<dd>{{object.publish}}</dd>
diff --git a/lib/srtgui/templates/investigation.html b/lib/srtgui/templates/investigation.html
index f934d052..c2bf92d7 100644
--- a/lib/srtgui/templates/investigation.html
+++ b/lib/srtgui/templates/investigation.html
@@ -477,6 +477,9 @@ Created={{object.srt_created}} Updated={{object.srt_updated}}
alert("error on request:\n" + data.error);
return;
}
+ if (data.note.startsWith("DEFECT-")) {
+ alert("ERROR:Defect creation failed, temporary defect '" + data.note + "' created. See Error Log.");
+ }
// reload the page with the updated tables
location.reload(true);
}
@@ -745,6 +748,7 @@ Created={{object.srt_created}} Updated={{object.srt_updated}}
var priority=$('#select-priority-state').val();
var status=$('#select-status-state').val();
var outcome=$('#select-outcome-state').val();
+ var affected_components=$('#text-affected-components').val();
postCommitAjaxRequest({
"action" : 'submit-quickedit',
"priority" : priority,
@@ -753,6 +757,7 @@ Created={{object.srt_created}} Updated={{object.srt_updated}}
"private_note" : private_note,
"tags" : tags,
"outcome" : outcome,
+ "affected_components" : affected_components,
});
});
diff --git a/lib/srtgui/templates/maintenance.html b/lib/srtgui/templates/maintenance.html
index 63c60f33..a0bb1845 100755
--- a/lib/srtgui/templates/maintenance.html
+++ b/lib/srtgui/templates/maintenance.html
@@ -25,6 +25,10 @@
</thead>
<tr>
+ <td><a class="btn btn-info btn-lg" href="{% url 'error_logs' %}">Error Logs</a></td>
+ <td>Examine Error Logs ({{errorlog_total}})</td>
+ </tr>
+ <tr>
<td><a class="btn btn-info btn-lg" href="{% url 'history_cve' %}">History CVE</a></td>
<td>Examine History for CVEs</td>
</tr>
diff --git a/lib/srtgui/templates/management.html b/lib/srtgui/templates/management.html
index 9b1e6456..b99f4613 100644
--- a/lib/srtgui/templates/management.html
+++ b/lib/srtgui/templates/management.html
@@ -26,12 +26,12 @@
<tr>
<td><a class="btn btn-info btn-lg" href="{% url 'triage_cves' %}">Triage CVE's</a></td>
- <td>Triage the CVE's</td>
+ <td>Triage the CVE's ({{cve_new}})</td>
</tr>
<tr>
<td><a class="btn btn-info btn-lg" href="{% url 'manage_notifications' %}">Pending notifications</a></td>
- <td>Triage the pending notifications</td>
+ <td>Triage the pending notifications ({{notification_total}})</td>
</tr>
<tr>
@@ -57,7 +57,7 @@
<tr>
<td><a class="btn btn-info btn-lg" href="{% url 'maintenance' %}?nocache=1">Maintenance</a></td>
- <td>Maintenance utilities</td>
+ <td>Maintenance utilities ({{errorlog_total}})</td>
</tr>
{% endif %}
diff --git a/lib/srtgui/templates/srtool_metadata_include.html b/lib/srtgui/templates/srtool_metadata_include.html
index eb83c05f..05c62d3d 100755
--- a/lib/srtgui/templates/srtool_metadata_include.html
+++ b/lib/srtgui/templates/srtool_metadata_include.html
@@ -30,11 +30,9 @@
<LI>
<i>Tags:</i> {{object.tags}}
</LI>
- {% if default_category == "CVE" %}
- <LI>
- <i>Affected Components:</i> {{object.packages}}
- </LI>
- {% endif %}
+ <LI>
+ <i>Affected Components:</i> {{object.packages}}
+ </LI>
</UL>
</fieldset>
@@ -92,8 +90,8 @@
<p>Private Comments: <input type="text" placeholder="Edit private comments" id="text-private-note" size="80" value="{{object.comments_private}}"></p>
{% endif %}
<p>Tags: <input type="text" placeholder="Edit tags" id="text-tags" size="80" value="{{object.tags}}"></p>
+ <p>Affected Components: <input type="text" placeholder="Edit affected components" id="text-affected-components" size="80" value="{{object.packages}}"></p>
{% if default_category == "CVE" %}
- <p>Affected Components: <input type="text" placeholder="Edit affected components" id="text-affected-components" size="80" value="{{object.packages}}"></p>
<i>Acknowledge Date</i> = <input type="text" placeholder="Acknowledge Date" id="text-acknowledge-date" size="40" value="{{object.acknowledge_date|date:'Y-m-d'}}"> (YYYY-MM-DD, or empty string for None)<p>
{% endif %}
<p><p>
diff --git a/lib/srtgui/templates/vulnerability.html b/lib/srtgui/templates/vulnerability.html
index 9290a1ef..cd174737 100644
--- a/lib/srtgui/templates/vulnerability.html
+++ b/lib/srtgui/templates/vulnerability.html
@@ -716,6 +716,7 @@ Created={{object.srt_created}} Updated={{object.srt_updated}}
var priority=$('#select-priority-state').val();
var status=$('#select-status-state').val();
var outcome=$('#select-outcome-state').val();
+ var affected_components=$('#text-affected-components').val();
postCommitAjaxRequest({
"action" : 'submit-quickedit',
"note" : note,
@@ -724,6 +725,7 @@ Created={{object.srt_created}} Updated={{object.srt_updated}}
"status" : status,
"outcome" : outcome,
"priority" : priority,
+ "affected_components" : affected_components,
});
});