Sha256: 2ae9218367db9d42d89921143af11579a6efbae7c9cf31730ee14cb0261fc53a
Contents?: true
Size: 1.8 KB
Versions: 3
Compression:
Stored size: 1.8 KB
Contents
<div ng-if="error" class="alert alert-danger"> <p>The requested controller could not be found.</p> </div> <div ng-if="controller"> <div class="row"> <div class="col-lg-12"> <h1 class="page-header"> {{ controller.name | resourceName }} </h1> <p ng-bind-html="controller.description | markdown"></p> <p class="traits" ng-if="controller.traits.length > 0"> This resource is <readable-list repeat="trait in controller.traits"><a ui-sref="root.trait({version: apiVersion, trait: trait})">{{trait}}</a></readable-list>. </p> </div> </div> <div class="row" ng-if="controller.actions.length"> <div class="col-lg-12"> <h2>Actions</h2> <div class="table-responsive"> <table class="table table-striped table-bordered"> <thead> <tr> <th>Name</th> <th>Route</th> <th>Description</th> </tr> </thead> <tbody> <tr ng-repeat="action in controller.actions"> <td> <a ui-sref="root.action({action: action.name, controller: controllerName, version: apiVersion})">{{ action.name }}</a> </td> <td> <url action="action"></url> </td> <td style="font-size: 110%;"> <p ng-bind-html="action.description | markdown"></p> </td> </tr> </tbody> </table> </div> </div> </div> <div ng-if="controller.media_type && controller.media_type.family != 'string'" ng-controller="TypeCtrl"> <ng-include src="'views/type/details.html'" /> </div> <div ng-if="controller.media_type && controller.media_type.family == 'string'"> <h2>Schema</h2> <p ><b>Internet Media-type: {{ controller.media_type.identifier }}</b></p> </div> </div>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
praxis-0.20.1 | lib/api_browser/app/views/controller.html |
praxis-0.20.0 | lib/api_browser/app/views/controller.html |
praxis-0.19.0 | lib/api_browser/app/views/controller.html |