Subversion Repositories SmartDukaan

Rev

Rev 2838 | Rev 4755 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2838 Rev 4129
Line 3... Line 3...
3
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
    
4
    
5
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
<head>
6
<head>
7
<title>List of Entities</title>
7
<title>List of Entities</title>
-
 
8
<link rel="stylesheet" href="css/colorbox.css" type="text/css" />
8
<script type="text/javascript" src="jquery/jquery-1.4.2.js"></script>
9
<script type="text/javascript" src="jquery/jquery-1.4.2.js"></script>
9
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.core.js"></script>
10
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.core.js"></script>
10
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.widget.js"></script>
11
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.widget.js"></script>
11
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.position.js"></script>
12
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.position.js"></script>
12
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.autocomplete.js"></script>
13
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.autocomplete.js"></script>
Line 19... Line 20...
19
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.effects.core.js"></script>
20
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.effects.core.js"></script>
20
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.effects.blind.js"></script>
21
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.effects.blind.js"></script>
21
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.effects.drop.js"></script>
22
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.effects.drop.js"></script>
22
<script type="text/javascript" src="jquery/jquery.chained.js"></script>
23
<script type="text/javascript" src="jquery/jquery.chained.js"></script>
23
<script type="text/javascript" src="jquery/jquery.tablesorter.js"></script>
24
<script type="text/javascript" src="jquery/jquery.tablesorter.js"></script>
-
 
25
<script type="text/javascript" src="jquery/thirdparty/jquery.colorbox-min.js"></script>
-
 
26
<script type="text/javascript" src="js/common.js"></script>
-
 
27
<script type="text/javascript" src="js/events.js"></script>
24
<script>
28
<script>
25
// increase the default animation speed to exaggerate the effect
29
// increase the default animation speed to exaggerate the effect
26
jQuery.fx.speeds._default = 1000;
30
jQuery.fx.speeds._default = 1000;
27
$(function() {
31
$(function() {
28
 
32
 
Line 234... Line 238...
234
 
238
 
235
	</fieldset> 
239
	</fieldset> 
236
	</form>
240
	</form>
237
</div> 
241
</div> 
238
</div>
242
</div>
-
 
243
<div id="items">
239
 
244
</div>
240
</body>
245
</body>
241
</html>
246
</html>
242
 
247
 
243
#macro (drawAllEntities $entitiesState)
248
#macro (drawAllEntities $entitiesState)
244
	    <table id="myTable">
249
	    <table id="myTable">
Line 248... Line 253...
248
                <th>Entity ID</th>
253
                <th>Entity ID</th>
249
                <th>Category</th>
254
                <th>Category</th>
250
                <th>Brand</th>
255
                <th>Brand</th>
251
                <th>Model Name</th>
256
                <th>Model Name</th>
252
                <th>Model Number</th>
257
                <th>Model Number</th>
-
 
258
                <th>Item details</th>
253
				<th>Current Status</th>
259
				<th>Current Status</th>
254
				<th>Created By</th>
260
				<th>Created By</th>
255
				<th>Assigned To</th>
261
				<th>Assigned To</th>
256
				<th>Completed By</th>
262
				<th>Completed By</th>
257
                <th colspan="5">Actions</th>
263
                <th colspan="5">Actions</th>
Line 267... Line 273...
267
                <td><a href="/content/entity/$entityid/edit">$entityid</a></td>
273
                <td><a href="/content/entity/$entityid/edit">$entityid</a></td>
268
                <td>$action.getCategoryName($entityState.getCategoryID())</td>
274
                <td>$action.getCategoryName($entityState.getCategoryID())</td>
269
                <td>$entityState.getBrand()</td>
275
                <td>$entityState.getBrand()</td>
270
                <td>$entityState.getModelName()</td>
276
                <td>$entityState.getModelName()</td>
271
                <td>$entityState.getModelNumber()</td>
277
                <td>$entityState.getModelNumber()</td>
272
				
278
				<td>
-
 
279
                    <a class="details-from-catalog" entityId="$entityid" href="#">
-
 
280
                        see items
-
 
281
                    </a>
-
 
282
                </td>
273
				<td>$entityState.getStatus()</td>
283
				<td>$entityState.getStatus()</td>
274
                <td>$entityState.getCreatedBy()</td>
284
                <td>$entityState.getCreatedBy()</td>
275
				<td>#if($entityState.getAssignedTo())$entityState.getAssignedTo()#end</td>
285
				<td>#if($entityState.getAssignedTo())$entityState.getAssignedTo()#end</td>
276
				<td>#if($entityState.getCompletedBy())$entityState.getCompletedBy()#end</td>
286
				<td>#if($entityState.getCompletedBy())$entityState.getCompletedBy()#end</td>
277
					
287