Sha256: 4d38d8744de761caba92f9bf333ad0546b5e3e2a685d8aee627b1264645bf4e1

Contents?: true

Size: 1000 Bytes

Versions: 3

Compression:

Stored size: 1000 Bytes

Contents

<div class="row" ng-if="type">
  <div class="col-lg-12">
    <h2>Schema</h2>
    <p ng-if="type.identifier"><b>Media-type: {{ type.identifier }}</b></p>
    <div ng-if="type.description" ng-bind-html="type.description | markdown"></div>

    <attribute-table attributes="type.attributes"></attribute-table>
  </div>
</div>
<div class="row" ng-if="views.length">
  <div class="col-lg-12">
    <h3>Available views</h3>
    <tabset>
      <tab ng-repeat="view in views" heading="{{view.name}}">
        <div class="row">
          <div class="col-md-4">
            <h4>Attributes</h4>
            <ul>
              <li ng-repeat="(name,value) in view.attributes">{{name}} <span class="label label-default" ng-if="value.view">rendered with {{value.view}} view</span></li>
            </ul>
          </div>
          <div class="col-md-8">
            <h4>Example</h4>
            <pre>{{view.example | friendlyJson}}</pre>
          </div>
        </div>
      </tab>
    </tabset>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
praxis-0.18.0 lib/api_browser/app/views/type/details.html
praxis-0.17.1 lib/api_browser/app/views/type/details.html
praxis-0.17.0 lib/api_browser/app/views/type/details.html