summaryrefslogtreecommitdiff
path: root/resources/views
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2022-11-24 13:32:20 +0000
committerGreg Roach <greg@subaqua.co.uk>2022-11-25 00:42:54 +0000
commit55ea0389265044fcb3160ddbc1c79c969b53d093 (patch)
tree99b340ddbb4d0b86f87afd84fd293a0407d4718c /resources/views
parente95f22dbac3bcdbcaeca3553ed0a8dec8ab0c71d (diff)
downloadwebtrees-55ea0389265044fcb3160ddbc1c79c969b53d093.tar.gz
webtrees-55ea0389265044fcb3160ddbc1c79c969b53d093.tar.bz2
webtrees-55ea0389265044fcb3160ddbc1c79c969b53d093.zip
Merge #4606 - add fullscreen controls
Diffstat (limited to 'resources/views')
-rw-r--r--resources/views/icons/enter-fullscreen.phtml1
-rw-r--r--resources/views/icons/exit-fullscreen.phtml1
-rw-r--r--resources/views/icons/fullscreen.phtml1
-rw-r--r--resources/views/modules/pedigree-map/chart.phtml2
-rw-r--r--resources/views/modules/place-hierarchy/map.phtml2
-rw-r--r--resources/views/modules/places/tab.phtml2
6 files changed, 5 insertions, 4 deletions
diff --git a/resources/views/icons/enter-fullscreen.phtml b/resources/views/icons/enter-fullscreen.phtml
new file mode 100644
index 0000000000..765bfe9694
--- /dev/null
+++ b/resources/views/icons/enter-fullscreen.phtml
@@ -0,0 +1 @@
+<span class="wt-icon-enter-fullscreen"><i class="fas fa-expand fa-fw" aria-hidden="true"></i></span><?php
diff --git a/resources/views/icons/exit-fullscreen.phtml b/resources/views/icons/exit-fullscreen.phtml
new file mode 100644
index 0000000000..329e9972c5
--- /dev/null
+++ b/resources/views/icons/exit-fullscreen.phtml
@@ -0,0 +1 @@
+<span class="wt-icon-exit-fullscreen"><i class="fas fa-compress fa-fw" aria-hidden="true"></i></span><?php
diff --git a/resources/views/icons/fullscreen.phtml b/resources/views/icons/fullscreen.phtml
deleted file mode 100644
index ac3cdefdf8..0000000000
--- a/resources/views/icons/fullscreen.phtml
+++ /dev/null
@@ -1 +0,0 @@
-<span class="wt-icon-fullscreen"><i class="fas fa-expand fa-fw" aria-hidden="true"></i></span><?php
diff --git a/resources/views/modules/pedigree-map/chart.phtml b/resources/views/modules/pedigree-map/chart.phtml
index 0ef363c380..7e53408e2e 100644
--- a/resources/views/modules/pedigree-map/chart.phtml
+++ b/resources/views/modules/pedigree-map/chart.phtml
@@ -11,7 +11,7 @@ use Fisharebest\Webtrees\View;
*/
?>
-<div id="wt-fullscreen-wrapper" class="row my-4 gchart wt-pedigree-map-wrapper">
+<div class="row my-4 gchart wt-pedigree-map-wrapper wt-fullscreen-container">
<div id="wt-map" class="col-sm-9 wt-ajax-load wt-map wt-pedigree-map-map" dir="ltr"></div>
<ul class="col-sm-3 wt-pedigree-map-sidebar wt-page-options-value list-unstyled px-1"></ul>
</div>
diff --git a/resources/views/modules/place-hierarchy/map.phtml b/resources/views/modules/place-hierarchy/map.phtml
index bf380d37df..4d564463ca 100644
--- a/resources/views/modules/place-hierarchy/map.phtml
+++ b/resources/views/modules/place-hierarchy/map.phtml
@@ -11,7 +11,7 @@ use Fisharebest\Webtrees\View;
?>
-<div id="wt-fullscreen-wrapper" class="row gchart wt-place-hierarchy-wrapper">
+<div class="row gchart wt-place-hierarchy-wrapper wt-fullscreen-container">
<div id="wt-map" class="col-sm-9 wt-ajax-load wt-map wt-place-hierarchy-map" dir="ltr"></div>
<ul class="col-sm-3 wt-place-hierarchy-sidebar wt-page-options-value list-unstyled px-md-1"></ul>
</div>
diff --git a/resources/views/modules/places/tab.phtml b/resources/views/modules/places/tab.phtml
index 1e4d02f3db..68dd95485d 100644
--- a/resources/views/modules/places/tab.phtml
+++ b/resources/views/modules/places/tab.phtml
@@ -12,7 +12,7 @@ use Fisharebest\Webtrees\I18N;
?>
<div class="py-4">
- <div id="wt-fullscreen-wrapper" class="row gchart wt-places-tab-wrapper">
+ <div class="row gchart wt-places-tab-wrapper wt-fullscreen-container">
<div id="wt-map" class="col-sm-9 wt-ajax-load wt-map wt-places-tab-map" dir="ltr"></div>
<ul class="col-sm-3 wt-places-tab-sidebar wt-page-options-value list-unstyled px-md-1"></ul>
</div>