Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<!DOCTYPE html PUBLIC 
    "-//W3C//DTD XHTML 1.1 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<style>

* { font-family: Verdana;}
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; }
.textarea {width: 400px; height: 200px}

table {
    border-width: 1px 1px 1px 1px;
    border-spacing: 2px;
    border-style: outset outset outset outset;
    border-color: gray gray gray gray;
    border-collapse: separate;
    background-color: white;
        width: 16%;
}
th {
    border-width: 1px 1px 1px 1px;
    padding: 1px 1px 1px 1px;
    border-style: inset inset inset inset;
    border-color: gray gray gray gray;
    background-color: white;
    -moz-border-radius: 0px 0px 0px 0px;
        text-align: center;
        font-size: 13px;
}
td {
    border-width: 1px 1px 1px 1px;
    padding: 1px 1px 1px 1px;
    border-style: inset inset inset inset;
    border-color: gray gray gray gray;
    background-color: white;
    -moz-border-radius: 0px 0px 0px 0px;
        text-align: center;
        font-size: 14px;
}

</style>


<title>Show $action.getDisplayName()</title>
</head>
<body>
        <h5>Tag Name : $action.getDisplayName()</h5>
        <h5>List Of Entities :</h5>
<div>
         #drawAllentities($action.getAllEntitiesByTagName())
</div>

</body>
</html>
#macro (drawAllentities $ent)
    <table id="showTable">
        <thead>
            <tr style="border: 1px">
                <th>#</th>
                <th>Entity ID</th>
            </tr>
        </thead>
        <tbody>
    #foreach ( $entId in $ent )
            <tr style="border: 1px">
                <td>$velocityCount</td>
                <td>$entId</td>
            </tr>
    #end
        </tbody>
    </table>

#end