|
From: Chris W. <la...@us...> - 2001-10-24 16:35:02
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_error/template
In directory usw-pr-cvs1:/tmp/cvs-serv16116/template
Added Files:
error_search_form.meta error_search_form.tmpl
error_search_results.meta error_search_results.tmpl
Log Message:
add new templates for the CommonHandler conversion
--- NEW FILE: error_search_form.meta ---
name: error_search_form
title: Search form for filtering errors
package: base_error
Search form for filtering errors
--- NEW FILE: error_search_form.tmpl ---
[%- DEFAULT theme = OI.theme_properties -%]
[%- PROCESS error_message -%]
[%- PROCESS status_message -%]
<div align="center">
<h2>Search Error Log</h2>
<p align="left">Enter criteria below to search the error log. The more
criteria you enter, the more restrictive your search and the fewer
results you will retrieve.</p>
[% PROCESS base_error::error_filter -%]
</div>
--- NEW FILE: error_search_results.meta ---
name: error_search_results
title: Show errors matching criteria
package: base_error
Display matching errors using the error_list template
--- NEW FILE: error_search_results.tmpl ---
[%- DEFAULT theme = OI.theme_properties;
DEFAULT table_width = '90%'; -%]
[%- PROCESS error_message -%]
[%- PROCESS status_message -%]
<div align="center">
<h2>Browse the Error Log</h2>
[%- INCLUDE base_error::error_filter -%]
<form name="error_action" method="POST" action="/Error/remove/">
[% IF iterator AND iterator.has_next -%]
<p>Following are the errors that match your criteria.</p>
[% PROCESS base_error::error_list( is_form = 1 ) -%]
<table border="0" cellpadding="2" cellspacing="0" width="[% table_width %]">
<tr bgcolor="[% theme.bgcolor %]">
<td colspan="6" align="right"><font size="-1">
<input type="button" value="Remove Tagged" onClick="submit_it( 'remove' )"><br>
<input type="button" value="Notify Tagged" onClick="submit_it( 'notify' )"><br>
<input type="button" value="Select All Toggle" onClick="tag_all()">
</font></td>
</tr>
</table>
<input type="hidden" name="email" value="">
</form>
[% ELSE -%]
<p align="left">No errors matching your criteria are currently in the
system.</p>
[% END -%]
</div>
|