- replaced/improved static system links to Dotlan and Anoik, fixed #605
This commit is contained in:
@@ -434,6 +434,7 @@ define([
|
||||
statusInfoClass: config.systemInfoStatusLabelClass,
|
||||
|
||||
systemTypeName: MapUtil.getSystemTypeInfo(systemData.type.id, 'name'),
|
||||
systemIsWormhole: MapUtil.getSystemTypeInfo(systemData.type.id, 'name') === 'w-space',
|
||||
systemStatusId: systemData.status.id,
|
||||
systemStatusClass: Util.getStatusInfoForSystem(systemData.status.id, 'class'),
|
||||
systemStatusLabel: Util.getStatusInfoForSystem(systemData.status.id, 'label'),
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
BIN
public/img/icons/anoik_logo.png
Normal file
BIN
public/img/icons/anoik_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.6 KiB |
@@ -434,6 +434,7 @@ define([
|
||||
statusInfoClass: config.systemInfoStatusLabelClass,
|
||||
|
||||
systemTypeName: MapUtil.getSystemTypeInfo(systemData.type.id, 'name'),
|
||||
systemIsWormhole: MapUtil.getSystemTypeInfo(systemData.type.id, 'name') === 'w-space',
|
||||
systemStatusId: systemData.status.id,
|
||||
systemStatusClass: Util.getStatusInfoForSystem(systemData.status.id, 'class'),
|
||||
systemStatusLabel: Util.getStatusInfoForSystem(systemData.status.id, 'label'),
|
||||
|
||||
@@ -20,12 +20,16 @@
|
||||
<h5><span class="{{systemRegionLinkClass}}" data-toggle="tooltip" data-placement="top" data-container="body" title="region">{{system.region.name}}</span> <i class="fas fa-fw fa-angle-double-right"></i></h5>
|
||||
<h5><span class="{{systemTypeLinkClass}}" data-toggle="tooltip" data-placement="top" data-container="body" title="type">{{systemTypeName}}</span></h5>
|
||||
|
||||
<a href="http://evemaps.dotlan.net/system/{{system.name}}" target="_blank">
|
||||
<div data-toggle="tooltip" data-placement="top" data-container="body" title="dotlan" class="pf-icon pf-icon-dotlan"></div>
|
||||
</a>
|
||||
<a href="http://wh.pasta.gg/{{system.name}}" target="_blank">
|
||||
<div data-toggle="tooltip" data-placement="top" data-container="body" title="wormhol" class="pf-icon pf-icon-wormhol-es"></div>
|
||||
</a>
|
||||
{{#systemIsWormhole}}
|
||||
<a href="http://evemaps.dotlan.net/system/{{system.name}}" class="pf-icon pf-icon-dotlan" data-toggle="tooltip" data-placement="top" data-container="body" title="dotlan" target="_blank"></a>
|
||||
{{/systemIsWormhole}}
|
||||
{{^systemIsWormhole}}
|
||||
<a href="http://evemaps.dotlan.net/map/{{system.region.name}}/{{system.name}}" class="pf-icon pf-icon-dotlan" data-toggle="tooltip" data-placement="top" data-container="body" title="dotlan" target="_blank"></a>
|
||||
{{/systemIsWormhole}}
|
||||
|
||||
{{#systemIsWormhole}}
|
||||
<a href="http://anoik.is/systems/{{system.name}}" class="pf-icon pf-icon-anoik" data-toggle="tooltip" data-placement="top" data-container="body" title="anoik" target="_blank"></a>
|
||||
{{/systemIsWormhole}}
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
@@ -7,18 +7,32 @@
|
||||
}
|
||||
}
|
||||
|
||||
.pf-icon-dotlan{
|
||||
background: inline-image("/icons/dotlan_logo.png");
|
||||
.pf-icon-dotlan,.pf-icon-anoik{
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
opacity: 0.8;
|
||||
margin: -5px 0px 0 10px;
|
||||
}
|
||||
|
||||
.pf-icon-wormhol-es{
|
||||
background: inline-image("/icons/wormhol_es_logo.png");
|
||||
width: 17px;
|
||||
.pf-icon-dotlan:after{
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 17px;
|
||||
opacity: 0.8;
|
||||
margin: -5px 0px 0 10px;
|
||||
width: 17px;
|
||||
margin-top: 4px;
|
||||
background: inline-image("/icons/dotlan_logo.png") no-repeat;
|
||||
}
|
||||
.pf-icon-anoik:after{
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 17px;
|
||||
width: 17px;
|
||||
margin-top: 4px;
|
||||
background: inline-image("/icons/anoik_logo.png") no-repeat;
|
||||
}
|
||||
Reference in New Issue
Block a user