Subversion Repositories SmartDukaan

Rev

Rev 7286 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!DOCTYPE html>
    
<html lang="en-US">
<head>
<title>List of Entities</title>
<link rel="stylesheet" href="css/colorbox.css" type="text/css" />
<link rel="stylesheet" href="css/datatable.css" type="text/css" />
<script type="text/javascript" src="jquery/jquery-1.4.2.js"></script>
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.position.js"></script>
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.autocomplete.js"></script>
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.dialog.js"></script>
<script type="text/javascript" src="jquery/validation/jquery.validate.js"></script>
<script type="text/javascript" src="jquery/jquery.dataTables.js"></script>

<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.mouse.js"></script>
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.draggable.js"></script>
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.ui.resizable.js"></script>
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.effects.core.js"></script>
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.effects.blind.js"></script>
<script type="text/javascript" src="jquery/jqueryui/ui/jquery.effects.drop.js"></script>
<script type="text/javascript" src="jquery/jquery.chained.js"></script>
<script type="text/javascript" src="jquery/jquery.tablesorter.js"></script>
<script type="text/javascript" src="jquery/thirdparty/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/events.js"></script>


<link type="text/css" href="jquery/jqueryui/themes/ui-lightness/jquery.ui.all.css" rel="stylesheet" />
<style type="text/css">
    
* { font-family: Verdana; font-size: 96%; }
fieldset.label { width: 10em; float: left; }
label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }
p { clear: both; }
.submit { margin-left: 12em; }
em { font-weight: bold; padding-right: 1em; vertical-align: top; }

table {
    border-width: 1px 1px 1px 1px;
    border-spacing: 0px;
    border-color: gray gray gray gray;
    border-collapse: separate;
    border-style: solid;
    background-color: white;
}
th {
    border-width: 1px 1px 1px 1px;
    border-style: solid;
    padding: 1px 1px 1px 1px;
    border-color: gray gray gray gray;
    background-color: white;
    -moz-border-radius: 0px 0px 0px 0px;
}
td {
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    padding: 1px 1px 1px 1px;
    border-color: gray gray gray gray;
    background-color: white;
    -moz-border-radius: 0px 0px 0px 0px;
}
div.dialog {
    padding:12px;
    font-family: "Trebuchet MS", "Arial", "Helvetica", "Verdana", "sans-serif";
}
</style>

</head>
<body>
<div>
        <span align="right"> Welcome $action.getUsername()   <a href="$request.contextPath/logout">logout</a></span>
</div>
<div>
        <h2>All Entities</h2>
        <a style="padding:2px" href="expert-review/new">Create New Entity</a>
        
        <table cellpadding="0" cellspacing="0">
                <tr>
                        <th>Entity ID</th>
                        <th>Brand</th>
                        <th>Model Name</th>
                        <th>Model Number</th>
                        #if ($action.canDelete())
                        <th>Action</th>
                        #end
                </tr>
                #foreach($review in $reviews)
                        <tr>
                        <td><a href="expert-review/$review.getID()">$review.getID()</a></td>
                        <td>$review.getBrand()</td>
                        <td>$review.getModelNumber()</td>
                        <td>$review.getModelName()</td>
                        #if ($action.canDelete())
                        <td><a href="expert-review/$review.getID()?_method=delete" onclick="return confirm('Are you Sure?');">Delete</a></td>
                        #end
                        </tr>
                #end
                </tr>
        </table>
</div>
</body>
</html>