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>
8
<style type="text/css">
9
table {
10
    border-width: 1px 1px 1px 1px;
11
    border-spacing: 2px;
12
    border-style: outset outset outset outset;
13
    border-color: gray gray gray gray;
14
    border-collapse: separate;
15
    background-color: white;
16
}
17
th {
18
    border-width: 1px 1px 1px 1px;
19
    padding: 1px 1px 1px 1px;
20
    border-style: inset inset inset inset;
21
    border-color: gray gray gray gray;
22
    background-color: white;
23
    -moz-border-radius: 0px 0px 0px 0px;
24
}
25
td {
26
    border-width: 1px 1px 1px 1px;
27
    padding: 1px 1px 1px 1px;
28
    border-style: inset inset inset inset;
29
    border-color: gray gray gray gray;
30
    background-color: white;
31
    -moz-border-radius: 0px 0px 0px 0px;
32
}
33
</style>
34
</head>
35
<body>
36
    <h1>Entities</h1>
37
    <a href="/content/entity/new">Create New</a>
38
    <p></p>
39
    <table>
40
        <thead>
41
            <tr style="border: 1px">
42
                <th>#</th>
43
                <th>Entity ID</th>
44
                <th>Category</th>
45
                <th>Brand</th>
46
                <th>Model Number</th>
47
                <th>Model Name</th>
48
            </tr>
49
        </thead>
50
        <tbody>
51
    #set ( $entities = $action.getEntities() )
52
    #foreach ( $entity in $entities )
53
            <tr style="border: 1px">
54
                <td>$velocityCount</td>
55
                #set ( $entityid = $entity.getID() )
56
                <td><a href="/content/entity/$entityid/edit">$entityid</a></td>
57
                <td>$entity.getCategoryID()</td>
58
                <td>$entity.getBrand()</td>
59
                <td>$entity.getModelNumber()</td>
60
                <td>$entity.getModelName()</td>
61
            </tr>
62
    #end
63
        </tbody>
64
    </table>
65
</body>
66
</html>