Sha256: e26d6515bba0dc19bd2bef294f06492249613c10f3d09c3bec2fa8748bd93b53

Contents?: true

Size: 1.46 KB

Versions: 2

Compression:

Stored size: 1.46 KB

Contents

<div class="apidoc-page" ng-controller='ApidocController' ng-init="setData('<%= lina.data_path %>')">

  <div class="api-left-tree" ng-class='{ expandedTree: expanded }'>
    <h4 class='apidoc-left-title'> <%= t('lina.tree') %> </h4>
    <abn-tree tree-data="my_data" tree-control="my_tree" on-select='showApi(branch)'></abn-tree>
	</div>
  <div class="api-contents ng-cloak" ng-class='{ expandedTree: expanded }'>
    <h4 class='apidoc-title'>
      <span class='api-expand-handle glyphicon glyphicon-menu-hamburger' ng-click='expanded = ! expanded'></span>
      <%= t('lina.apidoc') %>
    </h4>
    <ul class='list-unstyled'>
      <li class='api-content-wrapper' ng-repeat='api in currentApi'>
        <div class='path'>
          <span class='path-verb'> {{ api.verb }} </span>
          <span class='path-path'> {{ api.path }} </span>
        </div>
        <div class="name">{{ api.schema.name }}</div>
        <p class='description'>{{ api.schema.description }}</p>
        <h4 class='parameters-title'><%= t('lina.parameter') %></h4>
        <div class="table-wrapper">
          <json-schema schema='api.schema.params'></json-schema>
        </div><!-- .table-wrapper -->

        <h4 class='return-title'><%= t('lina.return') %></h4>
        <p class='description'>{{ api.schema.return.description }}</p>
        <div class="table-wrapper">
          <json-schema schema='api.schema.return'></json-schema>
        </div><!-- .table-wrapper -->
      </li>
    </ul>
	</div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lina-0.0.4 app/views/lina/apidoc/index.html.erb
lina-0.0.3 app/views/lina/apidoc/index.html.erb