Commit f6c60438 authored by Evren Kutar's avatar Evren Kutar

implement index.html design changes to crud list

parent 7fabbe24
<table class="table table-bordered table-responsive"> <div class="starter-template">
<thead> <h1>{{model}}</h1>
<tr> <table class="table table-bordered" style="background-color:#fff;">
<!--<th>{{ objects[0].key }}</th>--> <thead>
<th ng-repeat="(key,value) in objects[0].data">{{ key }}</th> <tr>
<th>action</th> <th colspan="2">#</th>
</tr> <th ng-repeat="(key,value) in objects[0].data">{{ key }}</th>
</thead> <th>action</th>
<tbody> </tr>
<tr ng-repeat="object in objects"> </thead>
<!--<td><a ng-href="#/object/{{object.id}}">{{object.name}}</a></td>--> <tbody>
<td ng-repeat="(key,value) in object.data">{{value}}</td> <tr ng-repeat="object in objects">
<td> <td width="60">
<a ng-href="#/crud/{{model}}/edit/{{object.key}}">Edit</a><br> <label>
<a ng-href="#/crud/{{model}}/{{object.key}}">Show</a> <input type="checkbox" style="zoom:1.5; margin:5px 0 0 8px;">
</td> </label>
</tr> </td>
</tbody> <th scope="row" style="text-align:center">1</th>
</table> <td ng-repeat="(key,value) in object.data">{{value}}</td>
\ No newline at end of file <td>
<a ng-href="#/crud/{{model}}/edit/{{object.key}}">Edit</a><br>
<a ng-href="#/crud/{{model}}/{{object.key}}">Show</a>
</td>
</tr>
</tbody>
</table>
</div>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment