html structure

This commit is contained in:
Sanj 2012-04-22 19:48:43 +05:30
parent 767b262c16
commit e6461e58aa

View File

@ -25,8 +25,9 @@ $(function() {
<div id="status"> <div id="status">
No of results: {{ no_of_results }} &nbsp; displaying page {{ page }} of {{ no_of_pages }} &nbsp; Results per page: {{ page_size }} No of results: {{ no_of_results }} &nbsp; displaying page {{ page }} of {{ no_of_pages }} &nbsp; Results per page: {{ page_size }}
</div> </div>
<div id="leftCol"> <div id="formDiv">
<form id="shipFilterForm" action="" method="GET"> <form id="shipFilterForm" action="" method="GET">
<fieldset>
<label for="id_sort">Sort By:</label> <label for="id_sort">Sort By:</label>
<select id="id_sort" name="sort"> <select id="id_sort" name="sort">
<option value="number" {% ifequal params.sort "number" %} selected="selected" {% endifequal %}>Ship Number Ascending</option> <option value="number" {% ifequal params.sort "number" %} selected="selected" {% endifequal %}>Ship Number Ascending</option>
@ -37,41 +38,46 @@ No of results: {{ no_of_results }} &nbsp; displaying page {{ page }} of {{ no_of
<option value="-ship_name_trans" {% ifequal params.sort "-ship_name_trans" %} selected="selected" {% endifequal %}>Ship Name Descending</option> <option value="-ship_name_trans" {% ifequal params.sort "-ship_name_trans" %} selected="selected" {% endifequal %}>Ship Name Descending</option>
<option value="port" {% ifequal params.sort "port" %} selected="selected" {% endifequal %}>Port Name Ascending</option> <option value="port" {% ifequal params.sort "port" %} selected="selected" {% endifequal %}>Port Name Ascending</option>
<option value="-port" {% ifequal params.sort "-port" %} selected="selected" {% endifequal %}>Port Name Descending</option> <option value="-port" {% ifequal params.sort "-port" %} selected="selected" {% endifequal %}>Port Name Descending</option>
</select><br /> </select>
</fieldset>
<fieldset>
<label for="id_start_date">Start Date:</label> <label for="id_start_date">Start Date:</label>
<input type="date" name="start_date" value="{{ params.start_date }}" id="id_start_date" /> <br /> <input type="date" name="start_date" value="{{ params.start_date }}" id="id_start_date" />
<label for="id_end_date">End Date:</label> <label for="id_end_date">End Date:</label>
<input type="date" name="end_date" value="{{ params.end_date }}" id="id_end_date" /> <br /> <input type="date" name="end_date" value="{{ params.end_date }}" id="id_end_date" />
</fieldset>
<fieldset>
<label for="id_bill_type">Bill Type:</label> <label for="id_bill_type">Bill Type:</label>
<select name="bill_type" id="id_bill_type"> <select name="bill_type" id="id_bill_type">
<option value="">-----</option> <option value="">-----</option>
<option value="Import" {% ifequal params.bill_type "Import" %} selected="selected" {% endifequal %}>Import</option> <option value="Import" {% ifequal params.bill_type "Import" %} selected="selected" {% endifequal %}>Import</option>
<option value="Export" {% ifequal params.bill_type "Export" %} selected="selected" {% endifequal %}>Export</option> <option value="Export" {% ifequal params.bill_type "Export" %} selected="selected" {% endifequal %}>Export</option>
<option value="Rexport" {% ifequal params.bill_type "Rexport" %} selected="selected" {% endifequal %}>Rexport</option> <option value="Rexport" {% ifequal params.bill_type "Rexport" %} selected="selected" {% endifequal %}>Rexport</option>
</select><br /> </select>
<label for="id_ship_name">Ship Name:</label> <label for="id_ship_name">Ship Name:</label>
<input type="text" name="ship_name" value="{{ params.ship_name }}" id="id_ship_name" /> <br /> <input type="text" name="ship_name" value="{{ params.ship_name }}" id="id_ship_name" />
<label for="id_port">Port:</label> <label for="id_port">Port:</label>
<input type="text" name="port" id="id_port" value="{{ params.port }}" /><br /> <input type="text" name="port" id="id_port" value="{{ params.port }}" />
<label for="id_captain">Captain:</label> <label for="id_captain">Captain:</label>
<input type="text" name="captain" id="id_captain" value="{{ params.captain }}" /><br /> <input type="text" name="captain" id="id_captain" value="{{ params.captain }}" />
<label for="id_owner">Owner:</label> <label for="id_owner">Owner:</label>
<input type="text" name="owner" id="id_owner" value="{{ params.owner }}" /><br /> <input type="text" name="owner" id="id_owner" value="{{ params.owner }}" />
<label for="id_goods">Goods:</label> <label for="id_goods">Goods:</label>
<input type="text" name="goods" id="id_goods" value="{{ params.goods }}" /><br /> <input type="text" name="goods" id="id_goods" value="{{ params.goods }}" />
</fieldset>
<input type="submit" value="Submit" /> <input type="submit" value="Submit" />
</form> </form>
</div> </div>
<div id="rightCol"> <div id="tableDiv">
<table> <table>
<thead> <thead>
<td>Ship Number</td> <td>Ship Number</td>