xref: /webtrees/resources/views/admin/synchronize-trees.phtml (revision 10e0649788c8d7d4974d81c048ca2b225df8f22e)
16fd01894SGreg Roach<?php
26fd01894SGreg Roach
3*10e06497SGreg Roachdeclare(strict_types=1);
4*10e06497SGreg Roach
56fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SynchronizeTrees;
66fd01894SGreg Roachuse Fisharebest\Webtrees\I18N;
76fd01894SGreg Roach
86fd01894SGreg Roach?>
96fd01894SGreg Roach
106fd01894SGreg Roach<div class="card mb-4">
116fd01894SGreg Roach    <div class="card-header">
126fd01894SGreg Roach        <h2 class="mb-0">
136fd01894SGreg Roach            <?= view('icons/sync') ?>
146fd01894SGreg Roach            <?= I18N::translate('Synchronize family trees with GEDCOM files') ?>
156fd01894SGreg Roach        </h2>
166fd01894SGreg Roach    </div>
176fd01894SGreg Roach
186fd01894SGreg Roach    <div class="card-body">
196fd01894SGreg Roach        <p>
206fd01894SGreg Roach            <?= I18N::translate('Create, update, and delete a family tree for every GEDCOM file in the data folder.') ?>
216fd01894SGreg Roach        </p>
226fd01894SGreg Roach        <form method="post" action="<?= e(route(SynchronizeTrees::class)) ?>" class="form form-horizontal">
236fd01894SGreg Roach            <button type="submit" class="btn btn-danger">
246fd01894SGreg Roach                <?= view('icons/sync') ?>
256fd01894SGreg Roach                <?= /* I18N: A button label. */
266fd01894SGreg Roach                I18N::translate('continue') ?>
276fd01894SGreg Roach            </button>
2881443e3cSGreg Roach
296fd01894SGreg Roach            <span class="text-muted">
306fd01894SGreg Roach                <?= I18N::translate('Caution! This may take a long time. Be patient.') ?>
316fd01894SGreg Roach            </span>
3281443e3cSGreg Roach
3381443e3cSGreg Roach            <?= csrf_field() ?>
346fd01894SGreg Roach        </form>
356fd01894SGreg Roach    </div>
366fd01894SGreg Roach</div>
37