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">
212 naveen 10
 
11
* { font-family: Verdana; font-size: 96%; }
12
label { width: 10em; float: left; }
13
label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }
14
p { clear: both; }
15
.submit { margin-left: 12em; }
16
em { font-weight: bold; padding-right: 1em; vertical-align: top; }
17
 
162 naveen 18
table {
19
    border-width: 1px 1px 1px 1px;
20
    border-spacing: 2px;
21
    border-style: outset outset outset outset;
22
    border-color: gray gray gray gray;
23
    border-collapse: separate;
24
    background-color: white;
25
}
26
th {
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
td {
35
    border-width: 1px 1px 1px 1px;
36
    padding: 1px 1px 1px 1px;
37
    border-style: inset inset inset inset;
38
    border-color: gray gray gray gray;
39
    background-color: white;
40
    -moz-border-radius: 0px 0px 0px 0px;
41
}
42
</style>
43
</head>
44
<body>
208 naveen 45
<div>
162 naveen 46
    <h1>Entities</h1>
47
    <a href="/content/entity/new">Create New</a>
48
    <p></p>
49
    <table>
50
        <thead>
51
            <tr style="border: 1px">
52
                <th>#</th>
53
                <th>Entity ID</th>
54
                <th>Category</th>
55
                <th>Brand</th>
56
                <th>Model Number</th>
57
                <th>Model Name</th>
58
            </tr>
59
        </thead>
60
        <tbody>
61
    #set ( $entities = $action.getEntities() )
62
    #foreach ( $entity in $entities )
63
            <tr style="border: 1px">
64
                <td>$velocityCount</td>
65
                #set ( $entityid = $entity.getID() )
66
                <td><a href="/content/entity/$entityid/edit">$entityid</a></td>
67
                <td>$entity.getCategoryID()</td>
68
                <td>$entity.getBrand()</td>
69
                <td>$entity.getModelNumber()</td>
70
                <td>$entity.getModelName()</td>
71
            </tr>
72
    #end
73
        </tbody>
74
    </table>
198 naveen 75
</div>
162 naveen 76
</body>
77
</html>