Skip to content

Commit 0732efa

Browse files
Full hi-DPI support (#786)
* Support retina screens * Update menu assets * Update active state of clipboard icon * Update menu color * Update small menu
1 parent 4be64e6 commit 0732efa

File tree

13 files changed

+33
-16
lines changed

13 files changed

+33
-16
lines changed

app/classes/Transvision/ShowResults.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ public static function resultsTable($search_object, $search_results, $page)
387387
$target_string = '<em class="error">Warning: Empty string</em>';
388388
} else {
389389
$meta_target = "
390-
<span class='clipboard' data-clipboard-target='#{$clipboard_target_string}' alt='Copy to clipboard'><img src='/img/copy_icon_black_18x18.png'></span>
390+
<span class='clipboard' data-clipboard-target='#{$clipboard_target_string}' alt='Copy to clipboard'></span>
391391
{$error_message}";
392392
}
393393

@@ -397,7 +397,7 @@ public static function resultsTable($search_object, $search_results, $page)
397397
} elseif (! $target_string2) {
398398
$target_string2 = '<em class="error">Warning: Empty string</em>';
399399
} else {
400-
$meta_target2 = "<span class='clipboard' data-clipboard-target='#{$clipboard_target_string2}' alt='Copy to clipboard'><img src='/img/copy_icon_black_18x18.png'></span>";
400+
$meta_target2 = "<span class='clipboard' data-clipboard-target='#{$clipboard_target_string2}' alt='Copy to clipboard'></span>";
401401
}
402402

403403
// Replace / and : in the key name and use it as an anchor name

app/views/results_entities.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
} elseif (! $target_string2) {
7676
$target_string2 = '<em class="error">Warning: Empty string</em>';
7777
} else {
78-
$meta_target2 = "<span class='clipboard' data-clipboard-target='#{$clipboard_target_string2}' alt='Copy to clipboard'><img src='/img/copy_icon_black_18x18.png'></span>";
78+
$meta_target2 = "<span class='clipboard' data-clipboard-target='#{$clipboard_target_string2}' alt='Copy to clipboard'></span>";
7979
}
8080

8181
$extra_column_rows = "
@@ -138,7 +138,7 @@
138138
} else {
139139
$meta_target = "
140140
{$error_message}
141-
<span class='clipboard' data-clipboard-target='#{$clipboard_target_string}' alt='Copy to clipboard'><img src='/img/copy_icon_black_18x18.png'></span>";
141+
<span class='clipboard' data-clipboard-target='#{$clipboard_target_string}' alt='Copy to clipboard'></span>";
142142
}
143143

144144
$table .= "

web/img/copy_icon_black_18x18.png

-140 Bytes
Binary file not shown.

web/img/github.png

-483 Bytes
Binary file not shown.

web/img/github.svg

Lines changed: 2 additions & 0 deletions
Loading

web/img/menu.png

100644100755
-726 Bytes
Loading

web/img/menu_highres.png

1.72 KB
Loading

web/img/menus.png

-4 Bytes
Loading

web/img/swap_icon_horiz_18x18.png

-146 Bytes
Binary file not shown.

web/img/swap_icon_vert_18x18.png

-152 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)