Project Claire: case list.html

From PikaDocs

 Valid XHTML 1.0!

Last modified: September 6, 2005

<!-- case_list.html = Search Results: Case List subtemplate -->
<!-- called from case_list_php at lines 93 and 174 -->

<!-- "content-container" DIV -->

<div class="content-container">

    <!-- "side-content" DIV -->

    <div class="side-content">

        <!-- Quick Lists -->

        <h2>Quick Lists</h2>

        <ul>
        <li><a href="%%[base_url]%%/cases.php/">My Open Cases</a></li>
        <li><a href="%%[base_url]%%/cases.php/?show_open=0&show_closed=1&user_id=%%[user_id]%%">My Closed Cases</a></li>
        <li><a href="%%[base_url]%%/cases.php/?status=1&show_open=1&show_closed=1&user_id=%%[user_id]%%">My Pending Cases</a></li>
        <li><a href="%%[base_url]%%/cases.php/?show_open=1&show_closed=0&user_id=">All Open Cases</a></li>
        <li><a href="%%[base_url]%%/cases.php/?show_open=1&show_closed=1&user_id=">All Cases</a></li>
        </ul>
        
        <!-- Custom Lists -->

        <h2 id="custom-search">Custom Lists</h2>
				
        <form name="form1" method="get" action="%%[base_url]%%/cases.php/">

            <!-- "side-form" DIV -->
            
            <div id="side-form">

                Client Name<br />
                <input type="text" name="client_name" id="client_name" value="%%[client_name]%%" tabindex="1" />
                <br />
				
                Counsel<br/>
                %%[user_id menu]%%
                <br />
				
                Status<br />
                %%[status menu source=case_status]%%
                <br />
				
                Office<br />
                %%[office menu]%%
                <br />
				
            </div> <!-- "side-form" closing DIV -->
				
            <div class="case-list-checkbox">
            
                %%[show_open checkbox source=yes_no]%%Show open cases
                <br />
                %%[show_closed checkbox source=yes_no]%%Show closed cases

            </div>
			    
            <!-- "side-form" DIV -->
            
            <div id="side-form">

                Opened before...<br />
                <input type="text" name="opened_before" id="opened_before" value="%%[opened_before]%%" maxlength="10" tabindex="1"/>
                <br />

                Closed before...<br />
                <input type="text" name="closed_before" id="closed_before" value="%%[closed_before]%%" maxlength="10" tabindex="1"/>
                <br />
			    
                Opened on/after...<br />
                <input type="text" name="opened_on_after" id="opened_on_after" value="%%[opened_on_after]%%" maxlength="10" tabindex="1"/>
                <br />

                Closed on/after...</span><br />
                <input type="text" name="closed_on_after" id="closed_on_after" value="%%[closed_on_after]%%" maxlength="10" tabindex="1"/>
			
            </div> <!-- "side-form" closing DIV -->
            

            <!-- Search Records submit button -->
			
            <div id="side-form-submit">                            
            <input id="search-records" type="image" value="submit" src="/pika/images/buttons/search_records.gif" tabindex="1" alt="Search case records" title="Search case records" />
            </div>
            
        </form> <!-- closing FORM  -->
				
    </div> <!-- "side-content" closing DIV -->
    
    

<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~` -->



    <!-- "main-content" DIV = "wrapper" -->

    <div class="main-content">
    
    <h2 id="case-list-results">Search Results: Case List</h2>

    <!-- Parent TABLE-->

    <table id="case-list">

        <tr>

            <td>
			
            %%[begin:flex_header]%%
			
                <!-- nested TABLE -->

                <table id="case-list-table">

                    <thead>
	
                    <tr>
					
                        <th class="first"><a href="%%[number_url]%%">Case No.</a> %%[number_img]%%</th>
                        <th><a href="%%[client_name_url]%%">Name</a> %%[client_img]%%</th>
                        <th><a href="%%[office_url]%%">Office</a> %%[office_img]%%</th>
                        <th><a href="%%[open_date_url]%%">Opened</a> %%[open_date_img]%%</th>
                        <th><a href="%%[close_date_url]%%">Closed</a> %%[close_date_img]%%</th>
                        <th class="last">Time</th>
		
                    </tr>
                    
            %%[end:flex_header]%%
                
                    </thead>
                
                    <tbody>
			
            %%[begin:flex_row]%%
			
                    <tr class="row%%[row_class]%%">
					
                        <td class="row-bottom">
                        <a href='%%[base_url]%%/cases.php/%%[case_id]%%/'>%%[number]%%</a><br />
                        <span style="color: %%[open_closed_color]%%;">%%[open_closed]%%</span>
                        </td>
						
                        <td class="row-bottom">
                        %%[client_name]%%
                        </td>
						
                        <td class="row-bottom">
                        %%[office text]%%
                        </td>
						
                        <td class="row-bottom">
                        %%[open_date]%%
                        </td>
						
                        <td class="row-bottom">
                        %%[close_date]%%
                        </td>
						
                        <td class="last row-bottom">
                        <a href="%%[base_url]%%/activity.php?screen=compose&case_id=%%[case_id]%%&funding=%%[funding]%%&number=%%[number]%%&act_type=T">
                        <img class="time-icon" src="%%[base_url]%%/images/stopwatch.gif" alt="Record time on this case." /></a>
                        </td>
					
                    </tr>
					
                %%[end:flex_row]%%
				
                %%[begin:flex_footer]%%
				
                    </tbody>
				
                </table> <!-- nested TABLE closing tag -->
				
                <div id="page-links">                    				
                %%[end:flex_footer]%%
                </div>

            </td> <!-- Parent TABLE closing TD -->
			
        </tr> <!-- Parent TABLE closing TR -->
		
    </table> <!-- Parent TABLE closing tag -->
    
    </div> <!-- "main-content" closing DIV -->
	
</div> <!-- "content-container" closing DIV -->



<!-- Scripts -->

<script type="text/javascript">
<!--
document.form1.client_name.focus();
//-->
</script>


Return to Table of Contents

Related articles and files: