|
From: Benjamin C. <bc...@us...> - 2002-03-05 23:54:22
|
Update of /cvsroot/phpbt/phpbt/templates/default/admin
In directory usw-pr-cvs1:/tmp/cvs-serv15820/templates/default/admin
Modified Files:
oslist.html resolutionlist.html severitylist.html
statuslist.html
Log Message:
Allow for deleting items
Index: oslist.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/oslist.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- oslist.html 11 Oct 2001 14:24:04 -0000 1.1
+++ oslist.html 5 Mar 2002 23:54:15 -0000 1.2
@@ -9,15 +9,28 @@
<th><a href="{nameurl}">Name</a></th>
<th><a href="{regexurl}">Regex</a></th>
<th><a href="{sortorderurl}">Sort Order</a></th>
+ <th>Delete</th>
</tr>
<!-- BEGIN row -->
<tr class="{trclass}">
<td><a href="{me}?op=edit&id={osid}">{name}</a></td>
<td> {regex}</td>
<td align="center">{sortorder}</td>
+ <td align="center">
+ <!-- BEGIN deleteblock -->
+ <a href="{me}?op=del&id={osid}" onClick="return confirm('Are you sure you want to delete this OS?')">Delete</a>
+ <!-- END deleteblock -->
+ </td>
</tr>
<!-- END row -->
</table>
+ <center>
+ <font size="-1">
+ OSes with a Sort Order = 0 will not be selectable by users
+ <br>
+ Only those OSes that have no bugs referencing them can be deleted
+ </font>
+ </center>
</td>
<td valign="top">
<div align="right"><b>{action} OS </b></div>
Index: resolutionlist.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/resolutionlist.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- resolutionlist.html 11 Oct 2001 14:24:04 -0000 1.1
+++ resolutionlist.html 5 Mar 2002 23:54:15 -0000 1.2
@@ -9,15 +9,28 @@
<th><a href="{nameurl}">Name</a></th>
<th><a href="{descriptionurl}">Description</a></th>
<th><a href="{sortorderurl}">Sort Order</a></th>
+ <th>Delete</th>
</tr>
<!-- BEGIN row -->
<tr class="{trclass}">
<td><a href="{me}?op=edit&id={resolutionid}">{name}</a></td>
<td> {description}</td>
<td align="center">{sortorder}</td>
+ <td align="center">
+ <!-- BEGIN deleteblock -->
+ <a href="{me}?op=del&id={resolutionid}" onClick="return confirm('Are you sure you want to delete this resolution?')">Delete</a>
+ <!-- END deleteblock -->
+ </td>
</tr>
<!-- END row -->
</table>
+ <center>
+ <font size="-1">
+ Resolutions with a Sort Order = 0 will not be selectable by users
+ <br>
+ Only those Resolutions that have no bugs referencing them can be deleted
+ </font>
+ </center>
</td>
<td valign="top">
<div align="right"><b>{action} resolution </b></div>
Index: severitylist.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/severitylist.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- severitylist.html 11 Oct 2001 14:24:04 -0000 1.1
+++ severitylist.html 5 Mar 2002 23:54:15 -0000 1.2
@@ -2,22 +2,35 @@
<table border="0" width="640">
<tr>
<td valign="top">
- <b> Status List</b>
+ <b> Severity List</b>
<hr size="1">
<table border="0">
<tr>
<th><a href="{nameurl}">Name</a></th>
<th><a href="{descriptionurl}">Description</a></th>
<th><a href="{sortorderurl}">Sort Order</a></th>
+ <th>Delete</th>
</tr>
<!-- BEGIN row -->
<tr class="{trclass}" bgcolor="{bgcolor}">
<td><a href="{me}?op=edit&id={severityid}">{name}</a></td>
<td> {description}</td>
<td align="center">{sortorder}</td>
+ <td align="center">
+ <!-- BEGIN deleteblock -->
+ <a href="{me}?op=del&id={severityid}" onClick="return confirm('Are you sure you want to delete this severity?')">Delete</a>
+ <!-- END deleteblock -->
+ </td>
</tr>
<!-- END row -->
</table>
+ <center>
+ <font size="-1">
+ Severities with a Sort Order = 0 will not be selectable by users
+ <br>
+ Only those Severities that have no bugs referencing them can be deleted
+ </font>
+ </center>
</td>
<td valign="top">
<div align="right"><b>{action} severity </b></div>
Index: statuslist.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/statuslist.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- statuslist.html 11 Oct 2001 14:24:04 -0000 1.1
+++ statuslist.html 5 Mar 2002 23:54:15 -0000 1.2
@@ -4,20 +4,33 @@
<td valign="top">
<b> Status List</b>
<hr size="1">
- <table border="0">
+ <table border="0" cellpadding="2" cellspacing="1">
<tr bgcolor="#eeeeee">
<th><a href="{nameurl}">Name</a></th>
<th><a href="{descriptionurl}">Description</a></th>
<th><a href="{sortorderurl}">Sort Order</a></th>
+ <th>Delete</th>
</tr>
<!-- BEGIN row -->
<tr class="{trclass}">
<td><a href="{me}?op=edit&id={statusid}">{name}</a></td>
<td> {description}</td>
<td align="center">{sortorder}</td>
+ <td align="center">
+ <!-- BEGIN deleteblock -->
+ <a href="{me}?op=del&id={statusid}" onClick="return confirm('Are you sure you want to delete this status?')">Delete</a>
+ <!-- END deleteblock -->
+ </td>
</tr>
<!-- END row -->
</table>
+ <center>
+ <font size="-1">
+ Statuses with a Sort Order = 0 will not be selectable by users
+ <br>
+ Only those Statuses that have no bugs referencing them can be deleted
+ </font>
+ </center>
</td>
<td valign="top">
<div align="right"><b>{action} status </b></div>
|