| 7286 |
amit.gupta |
1 |
<!DOCTYPE html>
|
|
|
2 |
|
|
|
3 |
<html lang="en-US">
|
|
|
4 |
<head>
|
|
|
5 |
<title>List of Entities</title>
|
|
|
6 |
<link rel="stylesheet" href="css/colorbox.css" type="text/css" />
|
|
|
7 |
<link rel="stylesheet" href="css/datatable.css" type="text/css" />
|
|
|
8 |
<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.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.autocomplete.js"></script>
|
|
|
13 |
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.dialog.js"></script>
|
|
|
14 |
<script type="text/javascript" src="jquery/validation/jquery.validate.js"></script>
|
|
|
15 |
<script type="text/javascript" src="jquery/jquery.dataTables.js"></script>
|
|
|
16 |
|
|
|
17 |
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.mouse.js"></script>
|
|
|
18 |
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.draggable.js"></script>
|
|
|
19 |
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.resizable.js"></script>
|
|
|
20 |
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.effects.core.js"></script>
|
|
|
21 |
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.effects.blind.js"></script>
|
|
|
22 |
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.effects.drop.js"></script>
|
|
|
23 |
<script type="text/javascript" src="jquery/jquery.chained.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>
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
<link type="text/css" href="jquery/jqueryui/themes/ui-lightness/jquery.ui.all.css" rel="stylesheet" />
|
|
|
31 |
<style type="text/css">
|
|
|
32 |
|
|
|
33 |
* { font-family: Verdana; font-size: 96%; }
|
|
|
34 |
fieldset.label { width: 10em; float: left; }
|
|
|
35 |
label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }
|
|
|
36 |
p { clear: both; }
|
|
|
37 |
.submit { margin-left: 12em; }
|
|
|
38 |
em { font-weight: bold; padding-right: 1em; vertical-align: top; }
|
|
|
39 |
|
|
|
40 |
table {
|
|
|
41 |
border-width: 1px 1px 1px 1px;
|
|
|
42 |
border-spacing: 0px;
|
|
|
43 |
border-color: gray gray gray gray;
|
|
|
44 |
border-collapse: separate;
|
|
|
45 |
border-style: solid;
|
|
|
46 |
background-color: white;
|
|
|
47 |
}
|
|
|
48 |
th {
|
|
|
49 |
border-width: 1px 1px 1px 1px;
|
|
|
50 |
border-style: solid;
|
|
|
51 |
padding: 1px 1px 1px 1px;
|
|
|
52 |
border-color: gray gray gray gray;
|
|
|
53 |
background-color: white;
|
|
|
54 |
-moz-border-radius: 0px 0px 0px 0px;
|
|
|
55 |
}
|
|
|
56 |
td {
|
|
|
57 |
border-style: solid;
|
|
|
58 |
border-width: 1px 1px 1px 1px;
|
|
|
59 |
padding: 1px 1px 1px 1px;
|
|
|
60 |
border-color: gray gray gray gray;
|
|
|
61 |
background-color: white;
|
|
|
62 |
-moz-border-radius: 0px 0px 0px 0px;
|
|
|
63 |
}
|
|
|
64 |
div.dialog {
|
|
|
65 |
padding:12px;
|
|
|
66 |
font-family: "Trebuchet MS", "Arial", "Helvetica", "Verdana", "sans-serif";
|
|
|
67 |
}
|
|
|
68 |
</style>
|
|
|
69 |
|
|
|
70 |
</head>
|
|
|
71 |
<body>
|
|
|
72 |
<div>
|
|
|
73 |
<span align="right"> Welcome $action.getUsername() <a href="$request.contextPath/logout">logout</a></span>
|
|
|
74 |
</div>
|
|
|
75 |
<div>
|
| 7312 |
amit.gupta |
76 |
<h2>All Entities</h2>
|
|
|
77 |
<a style="padding:2px" href="expert-review/new">Create New Entity</a>
|
| 7286 |
amit.gupta |
78 |
|
|
|
79 |
<table cellpadding="0" cellspacing="0">
|
|
|
80 |
<tr>
|
|
|
81 |
<th>Entity ID</th>
|
|
|
82 |
<th>Brand</th>
|
|
|
83 |
<th>Model Name</th>
|
|
|
84 |
<th>Model Number</th>
|
|
|
85 |
#if ($action.canDelete())
|
|
|
86 |
<th>Action</th>
|
|
|
87 |
#end
|
|
|
88 |
</tr>
|
|
|
89 |
#foreach($review in $reviews)
|
|
|
90 |
<tr>
|
|
|
91 |
<td><a href="expert-review/$review.getID()">$review.getID()</a></td>
|
|
|
92 |
<td>$review.getBrand()</td>
|
|
|
93 |
<td>$review.getModelNumber()</td>
|
|
|
94 |
<td>$review.getModelName()</td>
|
|
|
95 |
#if ($action.canDelete())
|
|
|
96 |
<td><a href="expert-review/$review.getID()?_method=delete" onclick="return confirm('Are you Sure?');">Delete</a></td>
|
|
|
97 |
#end
|
|
|
98 |
</tr>
|
|
|
99 |
#end
|
|
|
100 |
</tr>
|
|
|
101 |
</table>
|
|
|
102 |
</div>
|
|
|
103 |
</body>
|
|
|
104 |
</html>
|