mirror of
https://github.com/unraid/webgui.git
synced 2026-04-24 02:58:57 -05:00
Refactor: Larger Arrow on Share Edit page
This commit is contained in:
@@ -724,8 +724,8 @@ function updateScreen(cache, slow) {
|
||||
}
|
||||
|
||||
if ((secondaryValue !== "0") && (secondaryValue !== primaryValue)) {
|
||||
$('#moverDirection1 option:eq(0)').text($('#primary option:eq(' + z(0) + ')').text() + ' → ' + $('#secondary option:eq(' + z(1) + ')').text());
|
||||
$('#moverDirection1 option:eq(1)').text($('#secondary option:eq(' + z(1) + ')').text() + ' → ' + $('#primary option:eq(' + z(0) + ')').text());
|
||||
$('#moverDirection1 option:eq(0)').text($('#primary option:eq(' + z(0) + ')').text() + ' ⮕ ' + $('#secondary option:eq(' + z(1) + ')').text());
|
||||
$('#moverDirection1 option:eq(1)').text($('#secondary option:eq(' + z(1) + ')').text() + ' ⮕ ' + $('#primary option:eq(' + z(0) + ')').text());
|
||||
$('#moverDirection1').val('0').show();
|
||||
$('#moverDirection2').hide();
|
||||
$('#moverAction1').html("<i class='fa fa-info i'></i>" + moverAction1Text);
|
||||
@@ -769,8 +769,8 @@ function updateScreen(cache, slow) {
|
||||
$('#primary option:eq(' + z(0) + ')').prop('selected', true);
|
||||
$('#secondary option:eq(' + z(1) + ')').prop('selected', true);
|
||||
$('#secondary option:eq(1)').prop('disabled', poolsOnly);
|
||||
$('#moverDirection1 option:eq(0)').text($('#primary option:eq(' + z(0) + ')').text() + ' → ' + $('#secondary option:eq(' + z(1) + ')').text());
|
||||
$('#moverDirection1 option:eq(1)').text($('#secondary option:eq(' + z(1) + ')').text() + ' → ' + $('#primary option:eq(' + z(0) + ')').text());
|
||||
$('#moverDirection1 option:eq(0)').text($('#primary option:eq(' + z(0) + ')').text() + ' ⮕ ' + $('#secondary option:eq(' + z(1) + ')').text());
|
||||
$('#moverDirection1 option:eq(1)').text($('#secondary option:eq(' + z(1) + ')').text() + ' ⮕ ' + $('#primary option:eq(' + z(0) + ')').text());
|
||||
|
||||
for (let i = 0; i < secondaryDropdown.options.length; i++) {
|
||||
if (secondaryDropdown.options[i].value === primaryValue || (i === 1 && poolsOnly) || secondaryDropdown.options[i].id === 'cachePoolOption2') {
|
||||
@@ -787,8 +787,8 @@ function updateScreen(cache, slow) {
|
||||
}
|
||||
|
||||
if ((secondaryValue !== "0") && (secondaryValue !== primaryValue)) {
|
||||
$('#moverDirection1 option:eq(0)').text($('#primary option:eq(' + z(0) + ')').text() + ' → ' + $('#secondary option:eq(' + z(1) + ')').text());
|
||||
$('#moverDirection1 option:eq(1)').text($('#secondary option:eq(' + z(1) + ')').text() + ' → ' + $('#primary option:eq(' + z(0) + ')').text());
|
||||
$('#moverDirection1 option:eq(0)').text($('#primary option:eq(' + z(0) + ')').text() + ' ⮕ ' + $('#secondary option:eq(' + z(1) + ')').text());
|
||||
$('#moverDirection1 option:eq(1)').text($('#secondary option:eq(' + z(1) + ')').text() + ' ⮕ ' + $('#primary option:eq(' + z(0) + ')').text());
|
||||
$('#moverDirection1').val('0').show();
|
||||
$('#moverDirection2').hide();
|
||||
$('#moverAction1').html("<i class='fa fa-info i'></i>" + moverAction2Text);
|
||||
|
||||
Reference in New Issue
Block a user