jsdoc-i18n
Version:
A internationlization workflow developed around JSDoc
62 lines (53 loc) • 1.88 kB
HTML
<div class="dashboard">
<div class="center">
<div class="content-wrapper">
<div class="form-inline options">
<!-- Pagination -->
<ul uib-pagination class="pagination"
boundary-links="true"
boundary-link-numbers="true"
force-ellipses="true"
total-items="dataCount"
items-per-page="pageSize"
ng-model="pageCurrent"
first-text="«" last-text="»"
previous-text="‹" next-text="›"
></ul>
<!-- Language Drop Down -->
<select class="form-control languages" ng-model="lang">
<option ng-repeat="language in languages">{{ language }}</option>
</select>
</div>
<div class="entry panel panel-default"
ng-repeat="entry in data | filter:q | startFrom:(pageCurrent-1)*pageSize | limitTo:pageSize"
ng-if="entry.contentChanged"
>
<div class="panel-heading">
<h3 class="panel-title pull-left">{{ entry.longname }}</h3>
<a class="btn btn-primary btn-xs pull-right" href="#!/edit?{{ editParams(entry.longname) }}">Edit</a>
<div ng-show="!entry.content" class="label label-success pull-right">New</div>
</div>
<div class="panel-body">
<pre class="diff" ng-bind-html="diff(entry.contentWas, entry.contentBecame)"></pre>
</div>
</div>
<div class="form-inline options">
<!-- Pagination -->
<ul uib-pagination class="pagination"
boundary-links="true"
boundary-link-numbers="true"
force-ellipses="true"
total-items="dataCount"
items-per-page="pageSize"
ng-model="pageCurrent"
first-text="«" last-text="»"
previous-text="‹" next-text="›"
></ul>
<!-- Language Drop Down -->
<select class="form-control languages" ng-model="lang">
<option ng-repeat="language in languages">{{ language }}</option>
</select>
</div>
</div>
</div>
</div>