From 8add1155cb77caede54752196ff44696d1346431 Mon Sep 17 00:00:00 2001 From: Rico Sonntag Date: Wed, 30 Jan 2019 13:24:27 +0100 Subject: 2059 (#2156) * 2059 - Split other charts into separate views * 2059 - Added some basic bootstrap markup * 2059 - Moved distribution chart out of places table * 2059 - Moved HTML of other statistics (places list) into templates * 2059 - Removed tables, use cards instead * 2059 - Started adding chart.js charts * 2059: Moved template into sub directory * 2059: Refactor family statistics * 2059 - Started splitting places lists * 2059 - Refactor individual statistics * 2059: Moved HTML into templates * 2059: Handle list/nolist of top-10 oldest * 2059 - Use separate templates for lists * 2059: Use templates * 2059 - Minor enhancements * 2059: Moved distribution chart into own class * 2059: Splitted Stats into separate modules * 2059: Use repository pattern to hide complexity and structure methods * 2059: Use illuminate db * 2059: Google charts * 2059: Squash classes * 2059: Use PHPs number formatter to format century ordinal suffix * 2059: Place repository * 2059: Use repositories * 2059: Use illuminate db * 2059: Simplify event repository methods * 2059: Use @inheritDoc to avoid duplicate (or not updated) doc blocks * 2059: PlaceRepository - Use illuminate database * 2059: SexRepository * 2059: Removed not used percentage calculations * 2059: Consolidate classes * 2059: Event dates * 2059: Use constants * 2059: Refactoring Stats * 2059: Rename repo * 2059: Refactor media repository * 2059: Removed Chart.js stuff, doing this in a later update * 2059: Reduce code complexity * 2059: Moved age calculation to separate method * 2059: Fixes after rebase * 2059: Removed obsolete method parameters * 2059: Use view to render hitcounter * 2059: Update phpdoc * 2059: Removed debug output * 2059: Use consts * 2059: Fixed method parameter type hints * 2059: Add missing const types * 2059: Simplify method * 2059: Refactor google charts * 2059: Fixed rebase issues --- .../views/modules/statistics-chart/families.phtml | 156 ++------------------- .../modules/statistics-chart/individuals.phtml | 146 ++----------------- .../views/modules/statistics-chart/other.phtml | 97 ++----------- .../views/statistics/families/age-difference.phtml | 55 ++++++++ .../views/statistics/families/birth-age.phtml | 61 ++++++++ resources/views/statistics/families/children.phtml | 59 ++++++++ .../views/statistics/families/marriage-age.phtml | 71 ++++++++++ .../statistics/families/marriage-length.phtml | 37 +++++ .../views/statistics/families/top10-list-age.phtml | 28 ++++ .../statistics/families/top10-list-grand.phtml | 21 +++ .../statistics/families/top10-list-spouses.phtml | 18 +++ .../views/statistics/families/top10-list.phtml | 21 +++ .../statistics/families/top10-nolist-age.phtml | 24 ++++ .../statistics/families/top10-nolist-grand.phtml | 15 ++ .../statistics/families/top10-nolist-spouses.phtml | 13 ++ .../views/statistics/families/top10-nolist.phtml | 15 ++ .../views/statistics/families/total-records.phtml | 112 +++++++++++++++ resources/views/statistics/hit-count.phtml | 8 ++ .../statistics/individuals/greatest-age.phtml | 33 +++++ .../views/statistics/individuals/lifespan.phtml | 52 +++++++ resources/views/statistics/individuals/names.phtml | 63 +++++++++ .../statistics/individuals/oldest-living.phtml | 33 +++++ .../views/statistics/individuals/top10-list.phtml | 18 +++ .../statistics/individuals/top10-nolist.phtml | 13 ++ .../statistics/individuals/total-events.phtml | 111 +++++++++++++++ .../statistics/individuals/total-records.phtml | 77 ++++++++++ .../statistics/other/chart-distribution.phtml | 31 ++++ .../views/statistics/other/chart-google.phtml | 1 + .../views/statistics/other/chart-objects.phtml | 23 +++ .../views/statistics/other/chart-sources.phtml | 39 ++++++ resources/views/statistics/other/places.phtml | 53 +++++++ resources/views/statistics/other/top10-list.phtml | 19 +++ .../views/statistics/other/total-events.phtml | 38 +++++ .../views/statistics/other/total-records.phtml | 52 +++++++ 34 files changed, 1250 insertions(+), 363 deletions(-) create mode 100644 resources/views/statistics/families/age-difference.phtml create mode 100644 resources/views/statistics/families/birth-age.phtml create mode 100644 resources/views/statistics/families/children.phtml create mode 100644 resources/views/statistics/families/marriage-age.phtml create mode 100644 resources/views/statistics/families/marriage-length.phtml create mode 100644 resources/views/statistics/families/top10-list-age.phtml create mode 100644 resources/views/statistics/families/top10-list-grand.phtml create mode 100644 resources/views/statistics/families/top10-list-spouses.phtml create mode 100644 resources/views/statistics/families/top10-list.phtml create mode 100644 resources/views/statistics/families/top10-nolist-age.phtml create mode 100644 resources/views/statistics/families/top10-nolist-grand.phtml create mode 100644 resources/views/statistics/families/top10-nolist-spouses.phtml create mode 100644 resources/views/statistics/families/top10-nolist.phtml create mode 100644 resources/views/statistics/families/total-records.phtml create mode 100644 resources/views/statistics/hit-count.phtml create mode 100644 resources/views/statistics/individuals/greatest-age.phtml create mode 100644 resources/views/statistics/individuals/lifespan.phtml create mode 100644 resources/views/statistics/individuals/names.phtml create mode 100644 resources/views/statistics/individuals/oldest-living.phtml create mode 100644 resources/views/statistics/individuals/top10-list.phtml create mode 100644 resources/views/statistics/individuals/top10-nolist.phtml create mode 100644 resources/views/statistics/individuals/total-events.phtml create mode 100644 resources/views/statistics/individuals/total-records.phtml create mode 100644 resources/views/statistics/other/chart-distribution.phtml create mode 100644 resources/views/statistics/other/chart-google.phtml create mode 100644 resources/views/statistics/other/chart-objects.phtml create mode 100644 resources/views/statistics/other/chart-sources.phtml create mode 100644 resources/views/statistics/other/places.phtml create mode 100644 resources/views/statistics/other/top10-list.phtml create mode 100644 resources/views/statistics/other/total-events.phtml create mode 100644 resources/views/statistics/other/total-records.phtml (limited to 'resources/views') diff --git a/resources/views/modules/statistics-chart/families.phtml b/resources/views/modules/statistics-chart/families.phtml index 9097fa3bd7..dbbab97f21 100644 --- a/resources/views/modules/statistics-chart/families.phtml +++ b/resources/views/modules/statistics-chart/families.phtml @@ -1,144 +1,12 @@ - - -

- totalFamilies()) ?> -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
totalMarriages() ?>totalDivorces() ?>
statsMarr() ?>statsDiv() ?>
firstMarriage() ?>firstDivorce() ?>
lastMarriage() ?>lastDivorce() ?>
- -

- - - - - - - - - - -
topAgeOfMarriage() ?>minAgeOfMarriage() ?>
topAgeOfMarriageFamily() ?>minAgeOfMarriageFamily() ?>
- -

- - - - - - - - - - - - - - - - - - - - - -
youngestMarriageMaleAge(true) ?>youngestMarriageFemaleAge(true) ?>
youngestMarriageMale() ?>youngestMarriageFemale() ?>
oldestMarriageMaleAge(true) ?>oldestMarriageFemaleAge(true) ?>
oldestMarriageMale() ?>oldestMarriageFemale() ?>
statsMarrAge() ?>
- -

- - - - - - - - - - - - - - - - - - -
youngestFatherAge(true) ?>youngestMotherAge(true) ?>
youngestFather() ?>youngestMother() ?>
oldestFatherAge(true) ?>oldestMotherAge(true) ?>
oldestFather() ?>oldestMother() ?>
- -

- - - - - - - - - - - - - - - - - - - - - - -
averageChildren() ?>noChildrenFamilies() ?>
statsChildren() ?>chartNoChildrenFamilies() ?>
topTenLargestFamilyList() ?>topTenLargestGrandFamilyList() ?>
- -

- - - - - - - - - - - - - - - - - - -
topAgeBetweenSiblingsList() ?>topAgeBetweenSiblingsFullName() ?>
ageBetweenSpousesMFList() ?>ageBetweenSpousesFMList() ?>
+ + +
+ $stats]) ?> + $stats]) ?> + $stats]) ?> + $stats]) ?> + $stats]) ?> + $stats]) ?> +
diff --git a/resources/views/modules/statistics-chart/individuals.phtml b/resources/views/modules/statistics-chart/individuals.phtml index 7980441272..9fadb3c699 100644 --- a/resources/views/modules/statistics-chart/individuals.phtml +++ b/resources/views/modules/statistics-chart/individuals.phtml @@ -1,136 +1,14 @@ -

- totalIndividuals()) ?> -

- - - - - - - - - - - - - - - - - - - - - - - - -
totalSexMales() ?>totalSexFemales() ?>totalLiving() ?>totalDeceased() ?>
chartSex() ?>chartMortality() ?>
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
totalBirths() ?>totalDeaths() ?>
statsBirth() ?>statsDeath() ?>
firstBirth() ?>firstDeath() ?>
lastBirth() ?>lastDeath() ?>
- -

- - - - - - - - - - - - - - - -
averageLifespan(true) ?>averageLifespanMale(true) ?>averageLifespanFemale(true) ?>
statsAge() ?>
- -

- - - - - - - - - - -
topTenOldestMaleList() ?>topTenOldestFemaleList() ?>
- - -

- - - - - - - - - - -
topTenOldestMaleListAlive() ?>topTenOldestFemaleListAlive() ?>
- - -

- - - - - - - - - - - - - - - - - - -
totalSurnames() ?>totalGivennames() ?>
chartCommonSurnames() ?>chartCommonGiven() ?>
+ + +
+ $stats]) ?> + $stats]) ?> + $stats]) ?> + $stats]) ?> + $stats]) ?> + $stats]) ?> +
diff --git a/resources/views/modules/statistics-chart/other.phtml b/resources/views/modules/statistics-chart/other.phtml index d30979de96..d6e374e4a0 100644 --- a/resources/views/modules/statistics-chart/other.phtml +++ b/resources/views/modules/statistics-chart/other.phtml @@ -1,85 +1,12 @@ - - -

- : totalRecords() ?> -

- - - - - - - - - - - - - - -
totalMedia() ?>totalSources() ?>totalNotes() ?>totalRepositories() ?>
- -

totalEvents() ?>

- - - - - - - - - - -
firstEventType() ?>lastEventType() ?>
firstEvent() ?>lastEvent() ?>
- -

totalMedia() ?>

- - - - - - - - -
chartMedia() ?>
- -

totalSources() ?>

- - - - - - - - - - - - - - -
totalIndisWithSources() ?>totalFamsWithSources() ?>
chartIndisWithSources() ?>chartFamsWithSources() ?>
- -

totalPlaces() ?>

- - - - - - - - - - - - - - - - - - - - - -
commonBirthPlacesList() ?>commonDeathPlacesList() ?>
commonMarriagePlacesList() ?>commonCountriesList() ?>
chartDistribution() ?>
+ + +
+ $stats]) ?> + $stats]) ?> + $stats]) ?> + $stats]) ?> + $stats]) ?> + chartDistribution() ?> +
diff --git a/resources/views/statistics/families/age-difference.phtml b/resources/views/statistics/families/age-difference.phtml new file mode 100644 index 0000000000..246770cb3e --- /dev/null +++ b/resources/views/statistics/families/age-difference.phtml @@ -0,0 +1,55 @@ + + +

+ +

+ +
+
+
+
+
+ +
+ topAgeBetweenSiblingsList() ?> +
+
+ +
+
+
+ +
+
+ topAgeBetweenSiblingsFullName() ?> +
+
+
+
+ +
+
+
+
+ +
+ ageBetweenSpousesMFList() ?> +
+
+ +
+
+
+ +
+ ageBetweenSpousesFMList() ?> +
+
+
+
diff --git a/resources/views/statistics/families/birth-age.phtml b/resources/views/statistics/families/birth-age.phtml new file mode 100644 index 0000000000..4635120b3f --- /dev/null +++ b/resources/views/statistics/families/birth-age.phtml @@ -0,0 +1,61 @@ + + +

+ +

+ +
+
+
+
+
+ youngestFatherAge('1') ?> +
+
+ youngestFather() ?> +
+
+
+ +
+
+
+ youngestMotherAge('1') ?> +
+
+ youngestMother() ?> +
+
+
+
+ +
+
+
+
+ oldestFatherAge('1') ?> +
+
+ oldestFather() ?> +
+
+
+ +
+
+
+ oldestMotherAge('1') ?> +
+
+ oldestMother() ?> +
+
+
+
+
diff --git a/resources/views/statistics/families/children.phtml b/resources/views/statistics/families/children.phtml new file mode 100644 index 0000000000..f45f62405e --- /dev/null +++ b/resources/views/statistics/families/children.phtml @@ -0,0 +1,59 @@ + + +

+ +

+ +
+
+
+
+
+ + averageChildren() ?> +
+
+ statsChildren() ?> +
+
+
+ +
+
+
+ + noChildrenFamilies() ?> +
+
+ chartNoChildrenFamilies() ?> +
+
+
+
+ +
+
+
+
+ +
+ topTenLargestFamilyList(); ?> +
+
+ +
+
+
+ +
+ topTenLargestGrandFamilyList(); ?> +
+
+
+
diff --git a/resources/views/statistics/families/marriage-age.phtml b/resources/views/statistics/families/marriage-age.phtml new file mode 100644 index 0000000000..fa8d52dbee --- /dev/null +++ b/resources/views/statistics/families/marriage-age.phtml @@ -0,0 +1,71 @@ + + +

+ +

+ +
+
+
+
+
+ youngestMarriageMaleAge('1') ?> +
+
+ youngestMarriageMale() ?> +
+
+
+ +
+
+
+ youngestMarriageFemaleAge('1') ?> +
+
+ youngestMarriageFemale() ?> +
+
+
+
+ +
+
+
+
+ oldestMarriageMaleAge('1') ?> +
+
+ oldestMarriageMale() ?> +
+
+
+ +
+
+
+ oldestMarriageFemaleAge('1') ?> +
+
+ oldestMarriageFemale() ?> +
+
+
+
+ +
+
+
+
+ statsMarrAge() ?> +
+
+
+
+
diff --git a/resources/views/statistics/families/marriage-length.phtml b/resources/views/statistics/families/marriage-length.phtml new file mode 100644 index 0000000000..82813995d3 --- /dev/null +++ b/resources/views/statistics/families/marriage-length.phtml @@ -0,0 +1,37 @@ + + +

+ +

+ +
+
+
+
+
+ topAgeOfMarriage() ?> +
+
+ topAgeOfMarriageFamily() ?> +
+
+
+ +
+
+
+ minAgeOfMarriage() ?> +
+
+ minAgeOfMarriageFamily() ?> +
+
+
+
+
diff --git a/resources/views/statistics/families/top10-list-age.phtml b/resources/views/statistics/families/top10-list-age.phtml new file mode 100644 index 0000000000..9728c2422f --- /dev/null +++ b/resources/views/statistics/families/top10-list-age.phtml @@ -0,0 +1,28 @@ + + + diff --git a/resources/views/statistics/families/top10-list-grand.phtml b/resources/views/statistics/families/top10-list-grand.phtml new file mode 100644 index 0000000000..bb2c1c2f64 --- /dev/null +++ b/resources/views/statistics/families/top10-list-grand.phtml @@ -0,0 +1,21 @@ + + + diff --git a/resources/views/statistics/families/top10-list-spouses.phtml b/resources/views/statistics/families/top10-list-spouses.phtml new file mode 100644 index 0000000000..3575f0eb8a --- /dev/null +++ b/resources/views/statistics/families/top10-list-spouses.phtml @@ -0,0 +1,18 @@ + + + diff --git a/resources/views/statistics/families/top10-list.phtml b/resources/views/statistics/families/top10-list.phtml new file mode 100644 index 0000000000..18e1fd470a --- /dev/null +++ b/resources/views/statistics/families/top10-list.phtml @@ -0,0 +1,21 @@ + + + diff --git a/resources/views/statistics/families/top10-nolist-age.phtml b/resources/views/statistics/families/top10-nolist-age.phtml new file mode 100644 index 0000000000..13e008cad3 --- /dev/null +++ b/resources/views/statistics/families/top10-nolist-age.phtml @@ -0,0 +1,24 @@ + + + + + + +formatList() ?> +
+ +
+formatList() ?> +
+[] diff --git a/resources/views/statistics/families/top10-nolist-grand.phtml b/resources/views/statistics/families/top10-nolist-grand.phtml new file mode 100644 index 0000000000..6c58c6b868 --- /dev/null +++ b/resources/views/statistics/families/top10-nolist-grand.phtml @@ -0,0 +1,15 @@ + + + + + getFullName() ?> + - + diff --git a/resources/views/statistics/families/top10-nolist-spouses.phtml b/resources/views/statistics/families/top10-nolist-spouses.phtml new file mode 100644 index 0000000000..50a09aac07 --- /dev/null +++ b/resources/views/statistics/families/top10-nolist-spouses.phtml @@ -0,0 +1,13 @@ + + + + + getFullName() ?> () + diff --git a/resources/views/statistics/families/top10-nolist.phtml b/resources/views/statistics/families/top10-nolist.phtml new file mode 100644 index 0000000000..a60d371fec --- /dev/null +++ b/resources/views/statistics/families/top10-nolist.phtml @@ -0,0 +1,15 @@ + + + + + getFullName() ?> + - + diff --git a/resources/views/statistics/families/total-records.phtml b/resources/views/statistics/families/total-records.phtml new file mode 100644 index 0000000000..e9b67e2806 --- /dev/null +++ b/resources/views/statistics/families/total-records.phtml @@ -0,0 +1,112 @@ + + +

+ + totalFamilies() ?> +

+ +
+
+
+
+
+
+
+ + totalMarriages() ?> +
+
+
+ +
+
+
+ +
+
+ statsMarr() ?> +
+
+
+
+ +
+
+
+
+ +
+
+ firstMarriage() ?> +
+
+
+ +
+
+
+ +
+
+ lastMarriage() ?> +
+
+
+
+
+ +
+
+
+
+
+ + totalDivorces() ?> +
+
+
+ +
+
+
+ +
+
+ statsDiv() ?> +
+
+
+
+ +
+
+
+
+ +
+
+ firstDivorce() ?> +
+
+
+ +
+
+
+ +
+
+ lastDivorce() ?> +
+
+
+
+
+
+
diff --git a/resources/views/statistics/hit-count.phtml b/resources/views/statistics/hit-count.phtml new file mode 100644 index 0000000000..cc015b6b7e --- /dev/null +++ b/resources/views/statistics/hit-count.phtml @@ -0,0 +1,8 @@ + + + + diff --git a/resources/views/statistics/individuals/greatest-age.phtml b/resources/views/statistics/individuals/greatest-age.phtml new file mode 100644 index 0000000000..caaa6b0014 --- /dev/null +++ b/resources/views/statistics/individuals/greatest-age.phtml @@ -0,0 +1,33 @@ + + +

+ +

+ +
+
+
+
+
+ +
+ topTenOldestMaleList() ?> +
+
+ +
+
+
+ +
+ topTenOldestFemaleList() ?> +
+
+
+
diff --git a/resources/views/statistics/individuals/lifespan.phtml b/resources/views/statistics/individuals/lifespan.phtml new file mode 100644 index 0000000000..637ce7c2df --- /dev/null +++ b/resources/views/statistics/individuals/lifespan.phtml @@ -0,0 +1,52 @@ + + +

+ +

+ +
+
+
+
+
+ + averageLifespan(true) ?> +
+
+
+ +
+
+
+ + averageLifespanMale(true) ?> +
+
+
+ +
+
+
+ + averageLifespanFemale(true) ?> +
+
+
+
+ +
+
+
+
+ statsAge() ?> +
+
+
+
+
diff --git a/resources/views/statistics/individuals/names.phtml b/resources/views/statistics/individuals/names.phtml new file mode 100644 index 0000000000..bc00056b9a --- /dev/null +++ b/resources/views/statistics/individuals/names.phtml @@ -0,0 +1,63 @@ + + +

+ +

+ +
+
+
+
+
+
+
+ + totalSurnames() ?> +
+
+
+ +
+
+
+ +
+
+ chartCommonSurnames() ?> +
+
+
+
+
+ +
+
+
+
+
+ + totalGivennames() ?> +
+
+
+ +
+
+
+ +
+
+ chartCommonGiven() ?> +
+
+
+
+
+
+
diff --git a/resources/views/statistics/individuals/oldest-living.phtml b/resources/views/statistics/individuals/oldest-living.phtml new file mode 100644 index 0000000000..288f6f934c --- /dev/null +++ b/resources/views/statistics/individuals/oldest-living.phtml @@ -0,0 +1,33 @@ + + +

+ +

+ +
+
+
+
+
+ +
+ topTenOldestMaleListAlive() ?> +
+
+ +
+
+
+ +
+ topTenOldestFemaleListAlive() ?> +
+
+
+
diff --git a/resources/views/statistics/individuals/top10-list.phtml b/resources/views/statistics/individuals/top10-list.phtml new file mode 100644 index 0000000000..c1a1d32330 --- /dev/null +++ b/resources/views/statistics/individuals/top10-list.phtml @@ -0,0 +1,18 @@ + + + diff --git a/resources/views/statistics/individuals/top10-nolist.phtml b/resources/views/statistics/individuals/top10-nolist.phtml new file mode 100644 index 0000000000..e3e52d9a91 --- /dev/null +++ b/resources/views/statistics/individuals/top10-nolist.phtml @@ -0,0 +1,13 @@ + + + + + getFullName() ?> () + diff --git a/resources/views/statistics/individuals/total-events.phtml b/resources/views/statistics/individuals/total-events.phtml new file mode 100644 index 0000000000..c3e27cd0e8 --- /dev/null +++ b/resources/views/statistics/individuals/total-events.phtml @@ -0,0 +1,111 @@ + + +

+ +

+ +
+
+
+
+
+
+
+ + totalBirths() ?> +
+
+
+ +
+
+
+ +
+
+ statsBirth() ?> +
+
+
+
+ +
+
+
+
+ +
+
+ firstBirth() ?> +
+
+
+ +
+
+
+ +
+
+ lastBirth() ?> +
+
+
+
+
+ +
+
+
+
+
+ + totalDeaths() ?> +
+
+
+ +
+
+
+ +
+
+ statsDeath() ?> +
+
+
+
+ +
+
+
+
+ +
+
+ firstDeath() ?> +
+
+
+ +
+
+
+ +
+
+ lastDeath() ?> +
+
+
+
+
+
+
diff --git a/resources/views/statistics/individuals/total-records.phtml b/resources/views/statistics/individuals/total-records.phtml new file mode 100644 index 0000000000..a28777ca23 --- /dev/null +++ b/resources/views/statistics/individuals/total-records.phtml @@ -0,0 +1,77 @@ + + +

+ + totalIndividuals() ?> +

+ +
+
+
+
+
+
+
+ + totalSexMales() ?> +
+
+
+ +
+
+
+ + totalSexFemales() ?> +
+
+
+ +
+
+
+ chartSex() ?> +
+
+
+
+
+ +
+
+
+
+
+ + totalLiving() ?> +
+
+
+
+
+
+ + totalDeceased() ?> +
+
+
+
+ +
+
+
+
+ chartMortality() ?> +
+
+
+
+
+
+
diff --git a/resources/views/statistics/other/chart-distribution.phtml b/resources/views/statistics/other/chart-distribution.phtml new file mode 100644 index 0000000000..fe75a0e30f --- /dev/null +++ b/resources/views/statistics/other/chart-distribution.phtml @@ -0,0 +1,31 @@ + + +

+ +

+ +
+
+
+
+
+
+ <?= $chart_title ?> +
+ + + + + + +
+
+
+
+
+
+
diff --git a/resources/views/statistics/other/chart-google.phtml b/resources/views/statistics/other/chart-google.phtml new file mode 100644 index 0000000000..5172f56d28 --- /dev/null +++ b/resources/views/statistics/other/chart-google.phtml @@ -0,0 +1 @@ +<?= $chart_title ?> diff --git a/resources/views/statistics/other/chart-objects.phtml b/resources/views/statistics/other/chart-objects.phtml new file mode 100644 index 0000000000..df65296172 --- /dev/null +++ b/resources/views/statistics/other/chart-objects.phtml @@ -0,0 +1,23 @@ + + +

+ +

+ +
+
+
+
+
+ chartMedia() ?> +
+
+
+
+
diff --git a/resources/views/statistics/other/chart-sources.phtml b/resources/views/statistics/other/chart-sources.phtml new file mode 100644 index 0000000000..720c1a119c --- /dev/null +++ b/resources/views/statistics/other/chart-sources.phtml @@ -0,0 +1,39 @@ + + +

+ +

+ +
+
+
+
+
+ + totalIndisWithSources() ?> +
+
+ chartIndisWithSources() ?> +
+
+
+ +
+
+
+ + totalFamsWithSources() ?> +
+
+ chartFamsWithSources() ?> +
+
+
+
+
diff --git a/resources/views/statistics/other/places.phtml b/resources/views/statistics/other/places.phtml new file mode 100644 index 0000000000..ef4a037fcb --- /dev/null +++ b/resources/views/statistics/other/places.phtml @@ -0,0 +1,53 @@ + + +

+ + totalPlaces() ?> +

+ +
+
+
+
+
+ +
+ commonBirthPlacesList(); ?> +
+
+ +
+
+
+ +
+ commonDeathPlacesList(); ?> +
+
+ +
+
+
+ +
+ commonMarriagePlacesList(); ?> +
+
+ +
+
+
+ +
+ commonCountriesList(); ?> +
+
+
+
diff --git a/resources/views/statistics/other/top10-list.phtml b/resources/views/statistics/other/top10-list.phtml new file mode 100644 index 0000000000..27d3638f1c --- /dev/null +++ b/resources/views/statistics/other/top10-list.phtml @@ -0,0 +1,19 @@ + + + diff --git a/resources/views/statistics/other/total-events.phtml b/resources/views/statistics/other/total-events.phtml new file mode 100644 index 0000000000..776f1857f7 --- /dev/null +++ b/resources/views/statistics/other/total-events.phtml @@ -0,0 +1,38 @@ + + +

+ + totalEvents() ?> +

+ +
+
+
+
+
+ firstEventType() ?> +
+
+ firstEvent() ?> +
+
+
+ +
+
+
+ lastEventType() ?> +
+
+ lastEvent() ?> +
+
+
+
+
diff --git a/resources/views/statistics/other/total-records.phtml b/resources/views/statistics/other/total-records.phtml new file mode 100644 index 0000000000..4c90246412 --- /dev/null +++ b/resources/views/statistics/other/total-records.phtml @@ -0,0 +1,52 @@ + + +

+ + totalRecords() ?> +

+ +
+
+
+
+
+ + totalMedia() ?> +
+
+
+ +
+
+
+ + totalSources() ?> +
+
+
+ +
+
+
+ + totalNotes() ?> +
+
+
+ +
+
+
+ + totalRepositories() ?> +
+
+
+
+
-- cgit v1.3