xref: /webtrees/resources/views/admin/synchronize-trees.phtml (revision 3f0247b283a74c64ac885446380ea81de9cf779e)
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