xref: /webtrees/resources/views/admin/synchronize-trees.phtml (revision b6017f990d38d8c56e04c0096ce9a7e8745ad4ba)
1<?php
2
3use Fisharebest\Webtrees\Http\RequestHandlers\SynchronizeTrees;
4use Fisharebest\Webtrees\I18N;
5
6?>
7
8<div class="card mb-4">
9    <div class="card-header">
10        <h2 class="mb-0">
11            <?= view('icons/sync') ?>
12            <?= I18N::translate('Synchronize family trees with GEDCOM files') ?>
13        </h2>
14    </div>
15
16    <div class="card-body">
17        <p>
18            <?= I18N::translate('Create, update, and delete a family tree for every GEDCOM file in the data folder.') ?>
19        </p>
20        <form method="post" action="<?= e(route(SynchronizeTrees::class)) ?>" class="form form-horizontal">
21            <?= csrf_field() ?>
22            <button type="submit" class="btn btn-danger">
23                <?= view('icons/sync') ?>
24                <?= /* I18N: A button label. */
25                I18N::translate('continue') ?>
26            </button>
27            <span class="text-muted">
28                <?= I18N::translate('Caution! This may take a long time. Be patient.') ?>
29            </span>
30        </form>
31    </div>
32</div>
33