2013-07-08 16:38:09 +02:00
|
|
|
<div class="row">
|
|
|
|
|
|
2013-07-10 15:06:04 +02:00
|
|
|
<div>
|
2013-07-08 16:38:09 +02:00
|
|
|
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-10 15:06:04 +02:00
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
Mode
|
|
|
|
|
<select ng-model="mode">
|
|
|
|
|
<option value="NORMALIZED_URL">Normalized URLs</option>
|
|
|
|
|
<option value="LAST_CONTENT">Last content</option>
|
|
|
|
|
<option value="PUSH_TOPIC">Pubsubhubbub topic URL</option>
|
|
|
|
|
</select>
|
|
|
|
|
<input type="button" class="btn" ng-click="refreshData()" value="Refresh" />
|
|
|
|
|
<input type="button" class="btn" ng-click="autoMerge()" value="Auto merge selected" />
|
|
|
|
|
</div>
|
|
|
|
|
|
2013-07-08 16:38:09 +02:00
|
|
|
<table class="table table-condensed table-hover" ui-if="counts">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
2013-07-08 22:20:32 +02:00
|
|
|
<th></th>
|
2013-07-08 16:38:09 +02:00
|
|
|
<th>url</th>
|
|
|
|
|
<th>count</h>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr ng-repeat="count in counts" ng-click="focus(count)" class="pointer">
|
2013-07-08 22:20:32 +02:00
|
|
|
<td><input type="checkbox" ng-model="count.autoMerge" /> </td>
|
|
|
|
|
<td>{{count.feeds[0].url}}</td>
|
2013-07-08 16:38:09 +02:00
|
|
|
<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>
|