choose bookmarklet reading order

This commit is contained in:
Athou
2013-07-03 07:32:18 +02:00
parent 55d342861f
commit 4565a7c43f
30 changed files with 221 additions and 162 deletions

View File

@@ -1272,6 +1272,7 @@ function($scope, CategoryService, AnalyticsService) {
AnalyticsService.track();
$scope.CategoryService = CategoryService;
$scope.categoryId = 'all';
$scope.order = 'desc';
} ]);

View File

@@ -3,7 +3,7 @@
line-height: 10px;
}
.help .category-select {
.help .bookmarklet-select {
margin: 0;
padding: 0;
height: auto;

View File

@@ -57,9 +57,13 @@
<p>
${about.goodies.next_unread_bookmarklet}: ${subscribe.category}
<select ng-model="categoryId" ng-options="cat.id as cat.name for cat in CategoryService.flatCategories"
class="category-select">
class="bookmarklet-select">
</select>
<a href="next?category={{categoryId}}" target="_blank">${global.link}</a>
<select ng-model="order" class="bookmarklet-select">
<option value="desc">${about.goodies.subscribe_bookmarklet_desc}</option>
<option value="asc">${about.goodies.subscribe_bookmarklet_asc}</option>
</select>
<a href="next?category={{categoryId}}&order={{order}}" target="_blank">${global.link}</a>
</p>
</div>