mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-02 13:33:29 +00:00
* Added a proc to the map datum which returns what zlevels a nanomap capable computer should display. * Updated the atmos control, power monitoring, crew monitoring, and camera consoles to use it. * Changed templates to not show the map button if no map levels are available.
21 lines
882 B
Cheetah
21 lines
882 B
Cheetah
<!--
|
|
Title: Atmos Control Console (Map Header)
|
|
Used In File(s): \code\modules\nano\modules\atmos_control.dm
|
|
-->
|
|
{{:helper.link('Show List', 'script', {'showMap' : 0})}}
|
|
{{if data.map_levels.length > 1}}
|
|
<div style="float: right;">
|
|
<span style="float: left;">Z Level: </span>
|
|
{{for data.map_levels }}
|
|
{{:helper.link(value, null, {'mapZLevel' : value}, null, config.mapZLevel == value ? 'selected' : null)}}
|
|
{{/for}}
|
|
</div>
|
|
{{/if}}
|
|
<div style="float: right; width: 240px;">
|
|
<span style="float: left;">Zoom Level: </span>
|
|
<div unselectable="on" class="link zoomLink" data-zoom-level="4">x1.0</div>
|
|
<div unselectable="on" class="link zoomLink" data-zoom-level="6">x1.5</div>
|
|
<div unselectable="on" class="link zoomLink" data-zoom-level="8">x2.0</div>
|
|
<div unselectable="on" class="link zoomLink" data-zoom-level="12">x2.5</div>
|
|
</div>
|