-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathapplication.hbs
54 lines (49 loc) · 2.04 KB
/
application.hbs
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<MainHeader @bookmarks={{this.model.bookmarks}} />
<div class="{{if this.printSvc.enabled "print-view"}}">
<LinkTo @route="index" class="index-active-detector sr-only">Homepage</LinkTo>
{{#if this.printSvc.enabled}}
<PrintViewControls
@printSvc={{this.printSvc}}
/>
{{/if}}
<div class="site-main grid-x {{this.printSvc.printViewClasses}}">
<div class="navigation-area cell large-auto">
{{#if this.leftSideMenuVisibilty}}
<MapResourceSearch />
{{/if}}
<div class="content-toggle-layer-palette-container">
<span aria-hidden="true" class="close-button" onclick={{action this.toggleLeftSideMenuVisibility}} style={{if this.leftSideMenuVisibilty "" "left: 0;"}}>
{{#if this.leftSideMenuVisibilty}}<{{else}}>{{/if}}
</span>
</div>
<div class="map-grid">
<Mapbox::LoadSpinner
@map={{this.mainMap.mapInstance}}
/>
<MainMap
@bookmarks={{this.model.bookmarks}}
@layerGroups={{this.model.layerGroups}}
@layerGroupsMeta={{this.model.meta}}
@onPrint={{action (mut this.printSvc.enabled) true}}
/>
{{#if this.leftSideMenuVisibilty}}
<LayerPalette
@selectedZoning={{this.selectedZoning}}
@selectedOverlays={{this.selectedOverlays}}
@selectedFirm={{this.selectedFirm}}
@selectedPfirm={{this.selectedPfirm}}
@selectedCouncilDistricts={{this.selectedCouncilDistricts}}
@layerGroups={{this.model.layerGroupsObject}}
@isDefault={{this.isDefault}}
@resetQueryParams={{action this.setModelsToDefault}}
@setAllLayerVisibilityToFalse={{action this.setAllLayerVisibilityToFalse}}
@undoSetAllLayerVisibilityToFalse={{action this.undoSetAllLayerVisibilityToFalse}}
@handleLayerGroupChange={{action this.handleLayerGroupChange}}
@showToggleLayersBackOn={{this.showToggleLayersBackOn}}
/>
{{/if}}
</div>
</div>
{{outlet}}
</div>
</div>