aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/maps/noscript_map.html
blob: 8418c4eb826ca4aaf66f19d8f814a0f3fffc7ba8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[% SET start = c.config.ADMIN_BASE_URL IF admin -%]
<div class="noscript">
    <div id="[% nsm_prefix %]drag">
        <[% map.img_type %]
            alt="NW map tile" id="[% nsm_prefix %]t2.2"
            name="tile_[% map.x_tile - 1 %].[% map.y_tile - 1 %]"
            src="[% map.tiles.0 %]"
            style="top:0; left:0;">
        <[% map.img_type %]
            alt="NE map tile" id="[% nsm_prefix %]t2.3"
            name="tile_[% map.x_tile %].[% map.y_tile - 1 %]"
            src="[% map.tiles.1 %]"
            style="top:0px; left:256px;">
        <br>
        <[% map.img_type %]
            alt="SW map tile" id="[% nsm_prefix %]t3.2"
            name="tile_[% map.x_tile - 1 %].[% map.y_tile %]"
            src="[% map.tiles.2 %]"
            style="top:256px; left:0;">
        <[% map.img_type %]
            alt="SE map tile" id="[% nsm_prefix %]t3.3"
            name="tile_[% map.x_tile %].[% map.y_tile %]"
            src="[% map.tiles.3 %]"
            style="top:256px; left:256px;">
    </div>
    <div id="[% nsm_prefix %]pins">[% FOR pin IN map.pins %][% INCLUDE 'maps/pin.html' %][% END %]</div>
    [% INCLUDE 'maps/_compass.html' %]
</div>