mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Some CSS additions (#1280)
This commit is contained in:
parent
0a190bf98a
commit
2f8952b3bf
3 changed files with 15 additions and 1 deletions
|
@ -1252,7 +1252,7 @@ function get_user_torrent_client(string $peer_id): mixed
|
|||
}
|
||||
|
||||
if (!empty($bestMatch)) {
|
||||
return '<img width="auto" height="auto" style="display:inline!important;vertical-align:middle" src="' . FULL_URL . 'styles/images/clients/' . $bestMatch . $iconExtension . '" alt="' . $bestMatch . '" title="' . $peer_id . '">';
|
||||
return '<img class="clients" src="' . FULL_URL . 'styles/images/clients/' . $bestMatch . $iconExtension . '" alt="' . $bestMatch . '" title="' . $peer_id . '">';
|
||||
}
|
||||
|
||||
return $peer_id;
|
||||
|
@ -1513,6 +1513,7 @@ function render_flag($code) {
|
|||
'WS' => 'Samoa',
|
||||
'XK' => 'Kosovo',
|
||||
'YE' => 'Yemen',
|
||||
'YU' => 'Yugoslavia',
|
||||
'YT' => 'Mayotte',
|
||||
'ZA' => 'South Africa',
|
||||
'ZM' => 'Zambia',
|
||||
|
|
6
styles/images/flags/YU.svg
Normal file
6
styles/images/flags/YU.svg
Normal file
|
@ -0,0 +1,6 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 300">
|
||||
<path fill="#003893" d="M0 0h600v300H0z"/>
|
||||
<path fill="#fff" d="M0 100h600v200H0z"/>
|
||||
<path fill="#de0000" d="M0 200h600v100H0z"/>
|
||||
<path d="M300 60l-21 64h-67l55 40-21 64 55-39 55 39-21-64 55-40h-67z" fill="#de0000" stroke="#fcd115" stroke-width="3"/>
|
||||
</svg>
|
After Width: | Height: | Size: 321 B |
|
@ -610,6 +610,13 @@ table.peers td {
|
|||
border: 1px #A5AFB4 solid;
|
||||
}
|
||||
|
||||
.clients {
|
||||
width: auto;
|
||||
height: auto;
|
||||
display: inline!important;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
.dl_list {
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue