Skip to content

Commit

Permalink
new icon for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
rocket13011 committed Sep 28, 2023
1 parent ff0f00e commit c5491e7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Binary file added core/img/v2app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 10 additions & 3 deletions desktop/php/mobile.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,21 @@
if ($eqLogic->getConfiguration('appVersion', '1') == '2') {
$opacity = ($eqLogic->getIsEnable()) ? '' : 'disableCard';
echo '<div class="eqLogicDisplayCard cursor ' . $opacity . '" data-eqLogic_id="' . $eqLogic->getId() . '">';
$file = 'plugins/mobile/core/img/' . $eqLogic->getConfiguration('type_mobile') . '.png';
$file = 'plugins/mobile/core/img/v2app.png';
if (file_exists($file)) {
$path = 'plugins/mobile/core/img/' . $eqLogic->getConfiguration('type_mobile') . '.png';
echo '<img src="' . $path . '" />';
$path = 'plugins/mobile/core/img/v2app.png';
echo '<img src="' . $path . '" style="border-radius: 15px;"/>';
} else {
$path = 'plugins/mobile/core/img/mobile_icon.png';
echo '<img src="' . $path . '" />';
}
echo '<a style="width: 30px;height: 30px;border-radius: 15px;background-color: #94CA02;position: absolute;bottom: 65px;right: 7px;">';
if($eqLogic->getConfiguration('type_mobile') == 'android'){
echo '<i class="fab fa-android" style="margin: 8px;color: #FFFFFF;"></i>';
}else{
echo '<i class="fab fa-apple" style="margin: 8px;color: #FFFFFF;"></i>';
}
echo '</a>';
echo '<br>';
echo '<span class="name">' . $eqLogic->getHumanName(true, true) . '</span>';
echo '<span class="hidden hiddenAsCard displayTableRight">';
Expand Down

0 comments on commit c5491e7

Please sign in to comment.