UI Changes according to Ofir requirements
[unimgr.git] / dlux / cpeui / cpeui-module / src / main / resources / cpeui / tenantsTable.tpl.html
1 <div>
2         <div class="table-header">Tenants</div>
3         <table class="footable table table-striped">
4            <thead>
5                    <tr>
6                    <th>Name</th>
7                    <th>
8                       <button class="btn btn-md btn-info" ng-click="tenantDialog.show($event)">
9                            <i class="icon-plus"></i> 
10                            <md-tooltip>Create Tenant</md-tooltip>
11               </button>
12                    </th>
13                    </tr>
14            </thead>
15                 <tbody id="tenants_table">
16                         <tr ng-repeat="item in tenantArray | orderBy : 'name'">
17                                 <td><a class="link" href="#cpeui/tenant/{{ item.name }}/">{{ item.name }}</a></td>
18                                 <td class="minimal-width"><button class="btn btn-md btn-danger" ng-click="DeleteTenant(item.name)"> <i class="icon-trash"></i> </button></td>
19                         </tr>
20                 </tbody>
21         </table>        
22 </div>