Browse Source

Merge pull request #10190 from Piccirello/webui-sorted-icon

Fix direction of Web UI sorted column icon
adaptive-webui-19844
Mike Tzou 6 years ago committed by GitHub
parent
commit
0facdf3dfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/webui/www/private/css/dynamicTable.css
  2. 4
      src/webui/www/private/scripts/download.js

4
src/webui/www/private/css/dynamicTable.css

@ -78,14 +78,14 @@ tr.dynamicTableHeader {
} }
.dynamicTable th.sorted { .dynamicTable th.sorted {
background-image: url(../images/qbt-theme/go-down.svg); background-image: url(../images/qbt-theme/go-up.svg);
background-position: right; background-position: right;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 15px; background-size: 15px;
} }
.dynamicTable th.sorted.reverse { .dynamicTable th.sorted.reverse {
background-image: url(../images/qbt-theme/go-up.svg); background-image: url(../images/qbt-theme/go-down.svg);
} }
.dynamicTable td img.flags { .dynamicTable td img.flags {

4
src/webui/www/private/scripts/download.js

@ -79,7 +79,7 @@ var changeCategorySelect = function(item) {
item.nextElementSibling.value = ""; item.nextElementSibling.value = "";
item.nextElementSibling.select(); item.nextElementSibling.select();
if ($('autotmm').selectedIndex == 1) if ($('autoTMM').selectedIndex == 1)
$('savepath').value = defaultSavePath; $('savepath').value = defaultSavePath;
} }
else { else {
@ -87,7 +87,7 @@ var changeCategorySelect = function(item) {
var text = item.options[item.selectedIndex].innerHTML; var text = item.options[item.selectedIndex].innerHTML;
item.nextElementSibling.value = text; item.nextElementSibling.value = text;
if ($('autotmm').selectedIndex == 1) { if ($('autoTMM').selectedIndex == 1) {
var categoryName = item.value; var categoryName = item.value;
var category = categories[categoryName]; var category = categories[categoryName];
var savePath = defaultSavePath; var savePath = defaultSavePath;

Loading…
Cancel
Save