2
0
Fork 0
tcrud/lib/www_views/node-ff-tcrud/uiAngularServerRoutes/thtml/routes-group.ejs

20 lines
899 B
Plaintext
Raw Normal View History

2017-06-10 14:53:29 +00:00
<div class="table-responsive">
<h3><%= routeGroup.toUpperCase() %></h3>
<table class="table table-bordered table-hover table-striped">
<thead>
<tr>
<th>Path</th>
<th>Method</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="route in serverRoutes['<%= routeGroup %>']">
<td ng-if="route.httpMethod!=='GET'">
<a href="{{route.uriPath}}" target="_blank">{{route.uriPath}}<a>
</td>
<td ng-if="route.httpMethod==='GET'">{{route.uriPath}}</td>
<td>{{route.httpMethod}}</td>
</tr>
</tbody>
</table>
</div>