server/bo_client/app/templates/index.hbs
author ymh <ymh.work@gmail.com>
Thu, 02 Jun 2016 18:24:19 +0200
changeset 168 17f10b56c079
parent 4 f55970e41793
permissions -rw-r--r--
improve document model and propagate changes. This include the change of document fixtures to better reflect what the api is effectively returning

<div class="container-fluid">
    <div class="row">
        <div class="col-md-10 col-md-offset-1">
            <div class="panel panel-default">
                <div class="panel-heading">{{t 'bo.document_list'}}</div>

                <div class="panel-body">
                    <table class="table table-striped">
                        <thead>
                            <tr><th>{{t 'bo.document_list.uri_col'}}</th><th>{{t 'bo.document_list.id_col'}}</th></tr>
                        </thead>
                        <tbody>
                        {{#each model as |doc|}}
                            <tr><td>{{ doc.uri }}</td><td>{{#link-to 'doc' doc.encodedId}}{{doc.id}}{{/link-to}}</td></tr>
                        {{/each}}
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

{{outlet}}