diff options
Diffstat (limited to 'lib/srtgui/templates/srtool_metadata_include.html')
-rwxr-xr-x | lib/srtgui/templates/srtool_metadata_include.html | 36 |
1 files changed, 25 insertions, 11 deletions
diff --git a/lib/srtgui/templates/srtool_metadata_include.html b/lib/srtgui/templates/srtool_metadata_include.html index 7471f0f9..eb83c05f 100755 --- a/lib/srtgui/templates/srtool_metadata_include.html +++ b/lib/srtgui/templates/srtool_metadata_include.html @@ -9,15 +9,12 @@ <i>Status:</i> {{object.get_status_text}}, {% if default_category == "CVE" %} {% if request.user.is_creator %} - <i>Publish</i> = {{object.get_publish_text}}, <i>Publish Date</i> = {{object.publish_date}} + <i>Publish</i> = {{object.get_publish_text}}, <i>Publish Date</i> = {{object.publish_date}}, <i>Acknowledge Date</i> = {{object.acknowledge_date|date:'Y-m-d'}}, <i>Initial Release</i> = {{object.publishedDate}}, <i>Last Modified</i> = {{object.lastModifiedDate}} <!--<a class="btn btn-default navbar-btn " id="login-button" href="">Publish Now</a> --> {% else %} <i>Publish = {{object.get_publish_text}}</i> {% endif %} </LI> - <LI> - <i>Packages:</i> {{object.packages}} - </LI> {% else %} <i>Outcome:</i> {{object.get_outcome_text}} <p> @@ -26,9 +23,17 @@ <i>Public Notes:</i> {{object.comments}} </LI> {% if request.user.is_creator %} + <LI> + <i>Private Notes:</i> {{object.comments_private}} + </LI> + {% endif %} <LI> - <i>Private Notes:</i> {{object.comments_private}} + <i>Tags:</i> {{object.tags}} </LI> + {% if default_category == "CVE" %} + <LI> + <i>Affected Components:</i> {{object.packages}} + </LI> {% endif %} </UL> </fieldset> @@ -42,10 +47,10 @@ <p><i>Priority</i> = <select name="Priority" id="select-priority-state"> <option value="0" {% if 0 == object.priority %}selected{% endif %}>Undefined</option> - <option value="1" {% if 1 == object.priority %}selected{% endif %}>Minor</option> - <option value="2" {% if 2 == object.priority %}selected{% endif %}>Low</option> - <option value="3" {% if 3 == object.priority %}selected{% endif %}>Medium</option> - <option value="4" {% if 4 == object.priority %}selected{% endif %}>High</option> + <option value="1" {% if 1 == object.priority %}selected{% endif %}>Low</option> + <option value="2" {% if 2 == object.priority %}selected{% endif %}>Medium</option> + <option value="3" {% if 3 == object.priority %}selected{% endif %}>High</option> + <option value="4" {% if 4 == object.priority %}selected{% endif %}>Critical</option> </select> <i>Status</i> = @@ -56,6 +61,10 @@ <option value="3" {% if 3 == object.status %}selected{% endif %}>Investigate</option> <option value="4" {% if 4 == object.status %}selected{% endif %}>Vulnerable</option> <option value="5" {% if 5 == object.status %}selected{% endif %}>Not Vulnerable</option> + <option value="6" {% if 6 == object.status %}selected{% endif %}>(New)</option> + <option value="7" {% if 7 == object.status %}selected{% endif %}>(Investigate)</option> + <option value="8" {% if 8 == object.status %}selected{% endif %}>(Vulnerable)</option> + <option value="9" {% if 9 == object.status %}selected{% endif %}>(Not Vulnerable)</option> </select> <p> {% if default_category == "CVE" %} @@ -78,9 +87,14 @@ <option value="3" {% if 3 == object.outcome_state %}selected{% endif %}>Closed (Won't Fix)</option> </select> {% endif %} - <p>Note: <input type="text" placeholder="Edit Note" id="text-note" size="80" value="{{object.comments}}"></p> + <p>Comments: <input type="text" placeholder="Edit comments" id="text-note" size="80" value="{{object.comments}}"></p> {% if request.user.is_creator %} - <p>Private Note: <input type="text" placeholder="Edit Private Note" id="text-private-note" size="80" value="{{object.comments_private}}"></p> + <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> + {% 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> </fieldset> |