diff --git a/resources/css/pedigree-chart.css b/resources/css/pedigree-chart.css index 4f49e25..d942e44 100644 --- a/resources/css/pedigree-chart.css +++ b/resources/css/pedigree-chart.css @@ -20,9 +20,6 @@ .webtrees-pedigree-chart-container svg { display: block; margin: auto; - cursor: move; - /*cursor: -webkit-grab;*/ - /*cursor: -moz-grab;*/ cursor: grab; /*-webkit-filter: drop-shadow(3px 1px 3px rgba(0, 0, 0, 0.4));*/ /*filter: drop-shadow(3px 1px 3px rgba(0, 0, 0, 0.4));*/ @@ -30,7 +27,6 @@ .webtrees-pedigree-chart-container svg:active { cursor: grabbing; - /*cursor: -webkit-grabbing;*/ } .webtrees-pedigree-chart-container svg .person { @@ -71,8 +67,6 @@ position: relative; margin: 0; top: 50%; - /*-webkit-transform: translateY(-50%);*/ - /*-ms-transform: translateY(-50%);*/ transform: translateY(-50%); opacity: 1; text-align: center; diff --git a/resources/views/modules/pedigree-chart/form/generations.phtml b/resources/views/modules/pedigree-chart/form/generations.phtml index 22bd5f8..672a90e 100644 --- a/resources/views/modules/pedigree-chart/form/generations.phtml +++ b/resources/views/modules/pedigree-chart/form/generations.phtml @@ -17,18 +17,18 @@ use MagicSunday\Webtrees\PedigreeChart\Configuration; */ ?> -
+
'generations', - 'selected' => $configuration->getGenerations(), - 'options' => $configuration->getGenerationsList(), - 'class' => 'form-control-sm', - ]) + view('components/select', [ + 'name' => 'generations', + 'selected' => $configuration->getGenerations(), + 'options' => $configuration->getGenerationsList(), + 'class' => 'form-control-sm', + ]) ?>
-
+ diff --git a/resources/views/modules/pedigree-chart/form/layout.phtml b/resources/views/modules/pedigree-chart/form/layout.phtml index 3c952dc..8b263f0 100644 --- a/resources/views/modules/pedigree-chart/form/layout.phtml +++ b/resources/views/modules/pedigree-chart/form/layout.phtml @@ -18,10 +18,10 @@ use MagicSunday\Webtrees\PedigreeChart\Configuration; */ ?> -
- +
+
- +
-
+ diff --git a/resources/views/modules/pedigree-chart/form/orientation.phtml b/resources/views/modules/pedigree-chart/form/orientation.phtml index 3b09455..1dfd9ea 100644 --- a/resources/views/modules/pedigree-chart/form/orientation.phtml +++ b/resources/views/modules/pedigree-chart/form/orientation.phtml @@ -17,17 +17,17 @@ use MagicSunday\Webtrees\PedigreeChart\Configuration; */ ?> -
- +
+
- +
'layout', - 'options' => $configuration->getLayouts(), - 'selected' => $configuration->getLayout(), - ]) + view('components/radios-inline', [ + 'name' => 'layout', + 'options' => $configuration->getLayouts(), + 'selected' => $configuration->getLayout(), + ]) ?>
-
+ diff --git a/resources/views/modules/pedigree-chart/page.phtml b/resources/views/modules/pedigree-chart/page.phtml index 2e2a642..f276226 100644 --- a/resources/views/modules/pedigree-chart/page.phtml +++ b/resources/views/modules/pedigree-chart/page.phtml @@ -34,7 +34,7 @@ use MagicSunday\Webtrees\PedigreeChart\Configuration;
-
+
@@ -48,7 +48,7 @@ use MagicSunday\Webtrees\PedigreeChart\Configuration; ]) ?>
-
+ $configuration]) ?> $configuration]) ?> @@ -57,7 +57,7 @@ use MagicSunday\Webtrees\PedigreeChart\Configuration; $configuration, 'moduleName' => $moduleName]) ?> -
+
@@ -94,7 +94,7 @@ use MagicSunday\Webtrees\PedigreeChart\Configuration;
-
+