Files
commafeed/src/main/webapp/templates/admin.duplicate_feeds.html

36 lines
1.1 KiB
HTML
Raw Normal View History

2013-07-08 16:38:09 +02:00
<div class="row">
Limit <input type="number" ng-model="limit" />
Page <input type="number" ng-model="page" />
2013-07-08 20:38:06 +02:00
Min. count <input type="number" ng-model="minCount" />
2013-07-08 16:38:09 +02:00
<input type="button" class="btn" ng-click="refreshData()" value="Refresh" />
<table class="table table-condensed table-hover" ui-if="counts">
<thead>
<tr>
<th>url</th>
<th>count</h>
</tr>
</thead>
<tbody>
<tr ng-repeat="count in counts" ng-click="focus(count)" class="pointer">
<td>{{count.normalizedUrlHash}}</td>
<td>{{count.feeds.length}}</td>
</tr>
</tbody>
</table>
<div ui-if="current">
<div>
Merge
2013-07-08 19:01:08 +02:00
<select ng-model="mergeData.feedIds" size="30" multiple="multiple" class="input-block-level"
2013-07-08 16:38:09 +02:00
ng-options="feed.id as feed.url for feed in current.feeds">
</select>
2013-07-08 19:01:08 +02:00
</div>
<div>
2013-07-08 16:38:09 +02:00
Into
2013-07-08 19:01:08 +02:00
<select ng-model="mergeData.intoFeedId" ng-options="feed.id as feed.url for feed in current.feeds" class="input-block-level">
2013-07-08 16:38:09 +02:00
</select>
</div>
<input type="button" class="btn" ng-click="merge()" value="Merge" />
</div>
</div>