xref: /webtrees/resources/views/admin/synchronize-trees.phtml (revision 9f63a3e7bfc640ef0e21b9d9585e3c0de71aacae)
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            <button type="submit" class="btn btn-danger">
22                <?= view('icons/sync') ?>
23                <?= /* I18N: A button label. */
24                I18N::translate('continue') ?>
25            </button>
26
27            <span class="text-muted">
28                <?= I18N::translate('Caution! This may take a long time. Be patient.') ?>
29            </span>
30
31            <?= csrf_field() ?>
32        </form>
33    </div>
34</div>
35