Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
162 naveen 1
<!DOCTYPE html PUBLIC 
2
    "-//W3C//DTD XHTML 1.1 Transitional//EN"
3
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
 
5
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
<head>
7
<title>List of Entities</title>
198 naveen 8
<link type="text/css" href="jquery/jqueryui/themes/ui-lightness/jquery.ui.all.css" rel="stylesheet" />
162 naveen 9
<style type="text/css">
10
table {
11
    border-width: 1px 1px 1px 1px;
12
    border-spacing: 2px;
13
    border-style: outset outset outset outset;
14
    border-color: gray gray gray gray;
15
    border-collapse: separate;
16
    background-color: white;
17
}
18
th {
19
    border-width: 1px 1px 1px 1px;
20
    padding: 1px 1px 1px 1px;
21
    border-style: inset inset inset inset;
22
    border-color: gray gray gray gray;
23
    background-color: white;
24
    -moz-border-radius: 0px 0px 0px 0px;
25
}
26
td {
27
    border-width: 1px 1px 1px 1px;
28
    padding: 1px 1px 1px 1px;
29
    border-style: inset inset inset inset;
30
    border-color: gray gray gray gray;
31
    background-color: white;
32
    -moz-border-radius: 0px 0px 0px 0px;
33
}
34
</style>
35
</head>
36
<body>
198 naveen 37
<div class="ui-widget">
162 naveen 38
    <h1>Entities</h1>
39
    <a href="/content/entity/new">Create New</a>
40
    <p></p>
41
    <table>
42
        <thead>
43
            <tr style="border: 1px">
44
                <th>#</th>
45
                <th>Entity ID</th>
46
                <th>Category</th>
47
                <th>Brand</th>
48
                <th>Model Number</th>
49
                <th>Model Name</th>
50
            </tr>
51
        </thead>
52
        <tbody>
53
    #set ( $entities = $action.getEntities() )
54
    #foreach ( $entity in $entities )
55
            <tr style="border: 1px">
56
                <td>$velocityCount</td>
57
                #set ( $entityid = $entity.getID() )
58
                <td><a href="/content/entity/$entityid/edit">$entityid</a></td>
59
                <td>$entity.getCategoryID()</td>
60
                <td>$entity.getBrand()</td>
61
                <td>$entity.getModelNumber()</td>
62
                <td>$entity.getModelName()</td>
63
            </tr>
64
    #end
65
        </tbody>
66
    </table>
198 naveen 67
</div>
162 naveen 68
</body>
69
</html>