xref: /webtrees/resources/views/report-setup-page.phtml (revision dd6b2bfcc550270bb6d6778e11576148f71e4330)
1*dd6b2bfcSGreg Roach<?php use Fisharebest\Webtrees\I18N; ?>
2*dd6b2bfcSGreg Roach
3*dd6b2bfcSGreg Roach<h2 class="wt-page-title">
4*dd6b2bfcSGreg Roach    <?= $title ?>
5*dd6b2bfcSGreg Roach</h2>
6*dd6b2bfcSGreg Roach
7*dd6b2bfcSGreg Roach<form class="wt-page-options wt-page-options-report-setup">
8*dd6b2bfcSGreg Roach    <input type="hidden" name="route" value="report-run">
9*dd6b2bfcSGreg Roach    <input type="hidden" name="ged" value="<?= e($tree->getName()) ?>">
10*dd6b2bfcSGreg Roach    <input type="hidden" name="report" value="<?= e($report) ?>">
11*dd6b2bfcSGreg Roach
12*dd6b2bfcSGreg Roach    <div class="row form-group">
13*dd6b2bfcSGreg Roach        <div class="col-sm-3 col-form-label wt-page-options-label">
14*dd6b2bfcSGreg Roach            <?= I18N::translate('Description') ?>
15*dd6b2bfcSGreg Roach        </div>
16*dd6b2bfcSGreg Roach        <div class="col-sm-9 wt-page-options-value">
17*dd6b2bfcSGreg Roach            <?= $description ?>
18*dd6b2bfcSGreg Roach        </div>
19*dd6b2bfcSGreg Roach    </div>
20*dd6b2bfcSGreg Roach
21*dd6b2bfcSGreg Roach    <?php foreach ($inputs as $n => $input) : ?>
22*dd6b2bfcSGreg Roach        <input type="hidden" name="varnames[]" value="<?= e($input['name']) ?>">
23*dd6b2bfcSGreg Roach        <div class="row form-group">
24*dd6b2bfcSGreg Roach            <label class="col-sm-3 col-form-label wt-page-options-label" for="input-<?= $n ?>">
25*dd6b2bfcSGreg Roach                <?= I18N::translate($input['value']) ?>
26*dd6b2bfcSGreg Roach            </label>
27*dd6b2bfcSGreg Roach            <div class="col-sm-9 wt-page-options-value">
28*dd6b2bfcSGreg Roach                <?= $input['control'] ?>
29*dd6b2bfcSGreg Roach                <?= $input['extra'] ?>
30*dd6b2bfcSGreg Roach            </div>
31*dd6b2bfcSGreg Roach        </div>
32*dd6b2bfcSGreg Roach    <?php endforeach ?>
33*dd6b2bfcSGreg Roach
34*dd6b2bfcSGreg Roach    <div class="row form-group">
35*dd6b2bfcSGreg Roach        <div class="col-sm-3 col-form-label wt-page-options-label">
36*dd6b2bfcSGreg Roach        </div>
37*dd6b2bfcSGreg Roach
38*dd6b2bfcSGreg Roach        <div class="col-sm-9 wt-page-options-value d-flex justify-content-around">
39*dd6b2bfcSGreg Roach            <div class="text-center">
40*dd6b2bfcSGreg Roach                <label for="HTML"><i class="icon-mime-text-html"></i></label>
41*dd6b2bfcSGreg Roach                <br>
42*dd6b2bfcSGreg Roach                <input type="radio" name="output" id="HTML" value="HTML" checked>
43*dd6b2bfcSGreg Roach            </div>
44*dd6b2bfcSGreg Roach            <div class="text-center">
45*dd6b2bfcSGreg Roach                <label for="PDF"><i class="icon-mime-application-pdf"></i></label>
46*dd6b2bfcSGreg Roach                <br>
47*dd6b2bfcSGreg Roach                <input type="radio" name="output" value="PDF" id="PDF">
48*dd6b2bfcSGreg Roach            </div>
49*dd6b2bfcSGreg Roach        </div>
50*dd6b2bfcSGreg Roach    </div>
51*dd6b2bfcSGreg Roach
52*dd6b2bfcSGreg Roach    <div class="row form-group">
53*dd6b2bfcSGreg Roach        <div class="col-sm-3 col-form-label wt-page-options-label"></div>
54*dd6b2bfcSGreg Roach        <div class="col-sm-9 wt-page-options-value">
55*dd6b2bfcSGreg Roach            <button type="submit" class="btn btn-primary">
56*dd6b2bfcSGreg Roach                <?= I18N::translate('continue') ?>
57*dd6b2bfcSGreg Roach            </button>
58*dd6b2bfcSGreg Roach        </div>
59*dd6b2bfcSGreg Roach    </div>
60*dd6b2bfcSGreg Roach</form>
61