Files
vulture/client/partials/document.html
T
2014-05-08 22:57:22 -04:00

44 lines
1.4 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<div class="row">
<div class="large-9 columns">
<input type="text" ng-model="newQuery">
</div>
<div class="large-3 columns right">
<ul class="button-group">
<li><a class="button tiny" ng-href="{{ getQueryPath() }}">Query</a></li>
<li><a class="button tiny">Clear</a></li>
</ul>
</div>
</div>
<div class="row">
<div class="large-12 columns" style="text-align: center;">
<a class="fa fa-angle-left" ng-href="{{ previousDocumentUrl() }}" ng-show="{{ hasPreviousDocument() }}"></a>
<kbd>{{idx}} / {{ meta.count | number | replaceAllCommasBySpaces }}</kbd>
<a class="fa fa-angle-right" ng-href="{{ nextDocumentUrl() }}"></a>
</div>
</div>
<div class="row">
<div class="large-12 columns">
<table style="width: 100%;">
<thead>
<tr>
<th style="min-width:50px;">Keys</th>
<th >Values</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="(key, value) in doc">
<td style="vertical-align: top;">
<vul-key key-name="key" indexes="meta.indexes" ></vul-key>
</td>
<td>
<vul-value value="value"></vul-value>
</td>
</tr>
</tbody>
</table>
</div>
</div>