Sha256: bfa7c0ef8206b6b9f94f48273cf0423c451f044fb46644524d3e6414f534e38e
Contents?: true
Size: 1.69 KB
Versions: 3
Compression:
Stored size: 1.69 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> </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.controller.action({action: action.name, controller: controllerName, version: apiVersion})">{{ action.name }}</a> </td> <td> <div ng-repeat="url in action.urls"> <div class="label label-default verb" ng-class="url.verb | lowercase">{{ url.verb }}</div> <strong>{{ url.path }}</strong> </div> </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" ng-controller="TypeCtrl"> <ng-include src="'views/type/details.html'" /> </div> <h1>Actions</h1> <div ng-controller="ActionCtrl" ng-repeat="action in controller.actions"> <div id="action-{{action.name}}" ng-include="'views/action.html'"></div> </div> </div>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
praxis-0.18.0 | lib/api_browser/app/views/controller.html |
praxis-0.17.1 | lib/api_browser/app/views/controller.html |
praxis-0.17.0 | lib/api_browser/app/views/controller.html |