-
-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(map): ensure map view height is 100% of available area
- Loading branch information
1 parent
4a6ec7c
commit 649fae8
Showing
3 changed files
with
42 additions
and
45 deletions.
There are no files selected for viewing
80 changes: 41 additions & 39 deletions
80
base_geoengine/static/src/js/views/geoengine/geoengine_controller/geoengine_controller.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,47 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<templates> | ||
<t t-name="base_geoengine.GeoengineController"> | ||
<Layout display="props.display" className="'h-100'"> | ||
<t t-set-slot="layout-actions"> | ||
<SearchBar | ||
t-if="searchBarToggler.state.showSearchBar" | ||
autofocus="firstLoad" | ||
/> | ||
</t> | ||
<t t-set-slot="layout-buttons"> | ||
<t t-if="model.root.editedRecord"> | ||
<button | ||
type="button" | ||
class="btn btn-primary o_list_button_save" | ||
data-hotkey="s" | ||
t-on-click.stop="onClickSave" | ||
> | ||
Save | ||
</button> | ||
<button | ||
type="button" | ||
class="btn btn-secondary o_list_button_discard" | ||
data-hotkey="j" | ||
t-on-click.stop="onClickDiscard" | ||
> | ||
Discard | ||
</button> | ||
<div class="o_action"> | ||
<Layout display="props.display" className="'h-100'"> | ||
<t t-set-slot="layout-actions"> | ||
<SearchBar | ||
t-if="searchBarToggler.state.showSearchBar" | ||
autofocus="firstLoad" | ||
/> | ||
</t> | ||
<t t-set-slot="layout-buttons"> | ||
<t t-if="model.root.editedRecord"> | ||
<button | ||
type="button" | ||
class="btn btn-primary o_list_button_save" | ||
data-hotkey="s" | ||
t-on-click.stop="onClickSave" | ||
> | ||
Save | ||
</button> | ||
<button | ||
type="button" | ||
class="btn btn-secondary o_list_button_discard" | ||
data-hotkey="j" | ||
t-on-click.stop="onClickDiscard" | ||
> | ||
Discard | ||
</button> | ||
</t> | ||
</t> | ||
</t> | ||
<t | ||
t-component="props.Renderer" | ||
isSavedOrDiscarded="state.isSavedOrDiscarded" | ||
archInfo="props.archInfo" | ||
data="model.root" | ||
editable="editable" | ||
openRecord.bind="openRecord" | ||
updateRecord.bind="updateRecord" | ||
onClickDiscard.bind="onClickDiscard" | ||
createRecord.bind="createRecord" | ||
onDrawStart.bind="onDrawStart" | ||
/> | ||
</Layout> | ||
<t | ||
t-component="props.Renderer" | ||
isSavedOrDiscarded="state.isSavedOrDiscarded" | ||
archInfo="props.archInfo" | ||
data="model.root" | ||
editable="editable" | ||
openRecord.bind="openRecord" | ||
updateRecord.bind="updateRecord" | ||
onClickDiscard.bind="onClickDiscard" | ||
createRecord.bind="createRecord" | ||
onDrawStart.bind="onDrawStart" | ||
/> | ||
</Layout> | ||
</div> | ||
</t> | ||
</templates> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
base_geoengine/static/src/js/views/geoengine/geoengine_renderer/geoengine_renderer.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters