Skip to content

Commit

Permalink
views/life_MD: Disable tours in museum display #810
Browse files Browse the repository at this point in the history
The tours contain media copyright links we can't remove, and once
followed you're outside the onezoom sandbox.

We either need to pop-up-ize them like we do with wikipedia, or pull an
attribution line in javascript. Either is relatively fiddly.

Disable tours for now. NB: the tours tab is already disabled, so we
just have to hide the controls at the side.
  • Loading branch information
lentinj committed Apr 23, 2024
1 parent c9f1d96 commit 7709801
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion views/treeviewer/UI_layer.load
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ advSchbx='<li class="searchbox uk-search uk-search-default"><div><div class="sea
</div>

<div class="ui-bottomleft">
<ul class="ui-controls uk-iconnav uk-iconnav-vertical">
<ul class="ui-controls ui-controls-tours uk-iconnav uk-iconnav-vertical">
<li id="toursButton">
<div class="icon-container">
<a href="#tours-modal" uk-toggle uk-icon="icon: location"></a>
Expand Down
1 change: 1 addition & 0 deletions views/treeviewer/life_MDmouse.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
.ui-controls #hideControlsButton,
.ui-controls #howToUseButton { display: block; }

.ui-controls.ui-controls-tours { display: none; }
.ui-controls #settingsButton { display: none; }
</style>
<!-- bespoke css file for museum display -->
Expand Down
1 change: 1 addition & 0 deletions views/treeviewer/life_MDtouch.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
.ui-controls #hideControlsButton,
.ui-controls #howToUseButton { display: block; }

.ui-controls.ui-controls-tours { display: none; }
.ui-controls #settingsButton { display: none; }
</style>
<!-- bespoke css file for museum display -->
Expand Down

0 comments on commit 7709801

Please sign in to comment.