Sha256: 004b53b536e340fb30791e51565b2ef165902e485fde9455b7f8b45ce2781591

Contents?: true

Size: 1.16 KB

Versions: 1

Compression:

Stored size: 1.16 KB

Contents

<div class="row" ng-if="type">
  <div class="col-lg-12">
    <div ng-if="type.attributes">
      <h2>Schema</h2>
      <p ng-if="type.identifier"><b>Media-type identifier: {{ 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 ng-if="type.attributes === undefined" type-placeholder type="type" template="standalone" name="type.name" details="type"></div>
  </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">{{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

1 entries across 1 versions & 1 rubygems

Version Path
praxis-0.21 lib/api_browser/app/views/type/details.html