diff options
Diffstat (limited to 'resources/views/layouts')
| -rw-r--r-- | resources/views/layouts/administration.php | 112 | ||||
| -rw-r--r-- | resources/views/layouts/ajax.php | 2 | ||||
| -rw-r--r-- | resources/views/layouts/default.php | 224 | ||||
| -rw-r--r-- | resources/views/layouts/error.php | 42 | ||||
| -rw-r--r-- | resources/views/layouts/offline.php | 104 | ||||
| -rw-r--r-- | resources/views/layouts/report.php | 22 | ||||
| -rw-r--r-- | resources/views/layouts/setup.php | 26 |
7 files changed, 268 insertions, 264 deletions
diff --git a/resources/views/layouts/administration.php b/resources/views/layouts/administration.php index a99cb77710..16eac9c28a 100644 --- a/resources/views/layouts/administration.php +++ b/resources/views/layouts/administration.php @@ -4,72 +4,72 @@ <?php use Fisharebest\Webtrees\View; ?> <!DOCTYPE html> <html <?= I18N::htmlAttributes() ?>> - <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <meta name="csrf" content="<?= e(csrf_token()) ?>"> + <head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="csrf" content="<?= e(csrf_token()) ?>"> - <title><?= $title ?></title> + <title><?= $title ?></title> - <link rel="icon" href="favicon.ico" type="image/x-icon"> + <link rel="icon" href="favicon.ico" type="image/x-icon"> - <?php if (I18N::direction() === 'rtl'): ?> - <link rel="stylesheet" type="text/css" href="<?= e(WT_ASSETS_URL . 'css/vendor-rtl.css') ?>"> - <?php else: ?> - <link rel="stylesheet" type="text/css" href="<?= e(WT_ASSETS_URL . 'css/vendor.css') ?>"> - <?php endif ?> - <link rel="stylesheet" type="text/css" href="<?= e(WT_ASSETS_URL . 'css/administration.css') ?>"> + <?php if (I18N::direction() === 'rtl') : ?> + <link rel="stylesheet" type="text/css" href="<?= e(WT_ASSETS_URL . 'css/vendor-rtl.css') ?>"> + <?php else : ?> + <link rel="stylesheet" type="text/css" href="<?= e(WT_ASSETS_URL . 'css/vendor.css') ?>"> + <?php endif ?> + <link rel="stylesheet" type="text/css" href="<?= e(WT_ASSETS_URL . 'css/administration.css') ?>"> - <?= View::stack('styles') ?> + <?= View::stack('styles') ?> - <?= DebugBar::renderHead() ?> - </head> - <body class="container wt-global"> - <header> - <div class="wt-accessibility-links"> - <a class="sr-only sr-only-focusable btn btn-info btn-sm" href="#content"> - <?= /* I18N: Skip over the headers and menus, to the main content of the page */ I18N::translate('Skip to content') ?> - </a> - </div> + <?= DebugBar::renderHead() ?> + </head> + <body class="container wt-global"> + <header> + <div class="wt-accessibility-links"> + <a class="sr-only sr-only-focusable btn btn-info btn-sm" href="#content"> + <?= /* I18N: Skip over the headers and menus, to the main content of the page */ I18N::translate('Skip to content') ?> + </a> + </div> - <ul class="nav small d-flex justify-content-end"> - <li class="nav-item menu-mypage"> - <a class="nav-link active" href="<?= e(route('user-page')) ?>"><?= I18N::translate('My page') ?></a> - </li> - <li class="nav-item dropdown menu-language"> - <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false"> - <?= I18N::translate('Language') ?> - </a> - <div class="dropdown-menu"> - <?php foreach (I18N::activeLocales() as $locale): ?> - <a class="dropdown-item menu-language-<?= $locale->languageTag() ?> <?= WT_LOCALE === $locale->languageTag() ? ' active' : ''?>" data-language="<?= $locale->languageTag() ?>" href="#"><?= $locale->endonym() ?></a> - <?php endforeach ?> - </div> - </li> - <li class="nav-item menu-logout"> - <a class="nav-link" href="<?= e(route('logout')) ?>"><?= I18N::translate('Sign out') ?></a> - </li> - </ul> - </header> + <ul class="nav small d-flex justify-content-end"> + <li class="nav-item menu-mypage"> + <a class="nav-link active" href="<?= e(route('user-page')) ?>"><?= I18N::translate('My page') ?></a> + </li> + <li class="nav-item dropdown menu-language"> + <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false"> + <?= I18N::translate('Language') ?> + </a> + <div class="dropdown-menu"> + <?php foreach (I18N::activeLocales() as $locale) : ?> + <a class="dropdown-item menu-language-<?= $locale->languageTag() ?> <?= WT_LOCALE === $locale->languageTag() ? ' active' : ''?>" data-language="<?= $locale->languageTag() ?>" href="#"><?= $locale->endonym() ?></a> + <?php endforeach ?> + </div> + </li> + <li class="nav-item menu-logout"> + <a class="nav-link" href="<?= e(route('logout')) ?>"><?= I18N::translate('Sign out') ?></a> + </li> + </ul> + </header> - <div id="content"></div> + <div id="content"></div> - <?php foreach (FlashMessages::getMessages() as $message): ?> - <div class="alert alert-<?= $message->status ?> alert-dismissible" role="alert"> - <button type="button" class="close" data-dismiss="alert" aria-label="<?= I18N::translate('close') ?>"> - <span aria-hidden="true">×</span> - </button> - <?= $message->text ?> - </div> - <?php endforeach ?> + <?php foreach (FlashMessages::getMessages() as $message) : ?> + <div class="alert alert-<?= $message->status ?> alert-dismissible" role="alert"> + <button type="button" class="close" data-dismiss="alert" aria-label="<?= I18N::translate('close') ?>"> + <span aria-hidden="true">×</span> + </button> + <?= $message->text ?> + </div> + <?php endforeach ?> - <?= $content ?> + <?= $content ?> - <script src="<?= e(WT_ASSETS_URL . 'js/vendor.js') ?>?<?= filemtime(WT_ROOT . WT_ASSETS_URL . 'js/vendor.js') ?>"></script> - <script src="<?= e(WT_ASSETS_URL . 'js/webtrees.js') ?>?<?= filemtime(WT_ROOT . WT_ASSETS_URL . 'js/webtrees.js') ?>"></script> + <script src="<?= e(WT_ASSETS_URL . 'js/vendor.js') ?>?<?= filemtime(WT_ROOT . WT_ASSETS_URL . 'js/vendor.js') ?>"></script> + <script src="<?= e(WT_ASSETS_URL . 'js/webtrees.js') ?>?<?= filemtime(WT_ROOT . WT_ASSETS_URL . 'js/webtrees.js') ?>"></script> - <?= View::stack('javascript') ?> + <?= View::stack('javascript') ?> - <?= DebugBar::render() ?> - </body> + <?= DebugBar::render() ?> + </body> </html> diff --git a/resources/views/layouts/ajax.php b/resources/views/layouts/ajax.php index 34ec603fd3..9c6ac48bd4 100644 --- a/resources/views/layouts/ajax.php +++ b/resources/views/layouts/ajax.php @@ -2,4 +2,4 @@ <?= $content ?> -<?= View::stack('javascript') ?> +<?= View::stack('javascript'); diff --git a/resources/views/layouts/default.php b/resources/views/layouts/default.php index 2a21c5f816..ce125d36e9 100644 --- a/resources/views/layouts/default.php +++ b/resources/views/layouts/default.php @@ -7,133 +7,137 @@ <!DOCTYPE html> <html <?= I18N::htmlAttributes() ?>> - <head> - <meta charset="UTF-8"> - <meta name="csrf" content="<?= e(csrf_token()) ?>"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <meta name="robots" content="<?= e($meta_robots ?? 'noindex,nofollow') ?>"> - <meta name="generator" content="<?= e(WT_WEBTREES) ?>"> - <?php if ($tree !== null): ?> - <meta name="description" content="<?= e($tree->getPreference('META_DESCRIPTION')) ?>"> - <?php endif ?> + <head> + <meta charset="UTF-8"> + <meta name="csrf" content="<?= e(csrf_token()) ?>"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="robots" content="<?= e($meta_robots ?? 'noindex,nofollow') ?>"> + <meta name="generator" content="<?= e(WT_WEBTREES) ?>"> + <?php if ($tree !== null) : ?> + <meta name="description" content="<?= e($tree->getPreference('META_DESCRIPTION')) ?>"> + <?php endif ?> - <title> - <?= strip_tags($title) ?> - <?php if ($tree !== null && $tree->getPreference('META_TITLE') !== ''): ?> - – <?= e($tree->getPreference('META_TITLE')) ?> - <?php endif ?> - </title> + <title> + <?= strip_tags($title) ?> + <?php if ($tree !== null && $tree->getPreference('META_TITLE') !== '') : ?> + – <?= e($tree->getPreference('META_TITLE')) ?> + <?php endif ?> + </title> - <link rel="icon" href="<?= Theme::theme()::ASSET_DIR ?>favicon.png" type="image/png"> - <link rel="icon" type="image/png" href="<?= Theme::theme()::ASSET_DIR ?>favicon192.png" sizes="192x192"> - <link rel="apple-touch-icon" sizes="180x180" href="<?= Theme::theme()::ASSET_DIR ?>favicon180.png"> + <link rel="icon" href="<?= Theme::theme()::ASSET_DIR ?>favicon.png" type="image/png"> + <link rel="icon" type="image/png" href="<?= Theme::theme()::ASSET_DIR ?>favicon192.png" sizes="192x192"> + <link rel="apple-touch-icon" sizes="180x180" href="<?= Theme::theme()::ASSET_DIR ?>favicon180.png"> - <?php if (I18N::direction() === 'rtl'): ?> - <link rel="stylesheet" type="text/css" href="<?= e(WT_ASSETS_URL . 'css/vendor-rtl.css') ?>"> - <?php else: ?> - <link rel="stylesheet" type="text/css" href="<?= e(WT_ASSETS_URL . 'css/vendor.css') ?>"> - <?php endif ?> + <?php if (I18N::direction() === 'rtl') : ?> + <link rel="stylesheet" type="text/css" href="<?= e(WT_ASSETS_URL . 'css/vendor-rtl.css') ?>"> + <?php else : ?> + <link rel="stylesheet" type="text/css" href="<?= e(WT_ASSETS_URL . 'css/vendor.css') ?>"> + <?php endif ?> - <?php foreach (Theme::theme()->stylesheets() as $stylesheet): ?> - <link rel="stylesheet" type="text/css" href="<?= $stylesheet ?>"> - <?php endforeach ?> + <?php foreach (Theme::theme()->stylesheets() as $stylesheet) : ?> + <link rel="stylesheet" type="text/css" href="<?= $stylesheet ?>"> + <?php endforeach ?> - <?= View::stack('styles') ?> + <?= View::stack('styles') ?> - <?= Theme::theme()->analytics() ?> + <?= Theme::theme()->analytics() ?> - <?= DebugBar::renderHead() ?> - </head> + <?= DebugBar::renderHead() ?> + </head> - <body class="wt-global"> - <header class="wt-header-wrapper d-print-none"> - <div class="container wt-header-container"> - <div class="row wt-header-content"> - <div class="wt-accessibility-links"> - <a class="sr-only sr-only-focusable btn btn-info btn-sm" href="#content"> - <?= /* I18N: Skip over the headers and menus, to the main content of the page */ I18N::translate('Skip to content') ?> - </a> - </div> - <div class="col wt-site-logo"></div> + <body class="wt-global"> + <header class="wt-header-wrapper d-print-none"> + <div class="container wt-header-container"> + <div class="row wt-header-content"> + <div class="wt-accessibility-links"> + <a class="sr-only sr-only-focusable btn btn-info btn-sm" href="#content"> + <?= /* I18N: Skip over the headers and menus, to the main content of the page */ I18N::translate('Skip to content') ?> + </a> + </div> + <div class="col wt-site-logo"></div> - <?php if ($tree !== null): ?> - <h1 class="col wt-site-title"><?= e($tree->getTitle()) ?></h1> + <?php if ($tree !== null) : ?> + <h1 class="col wt-site-title"><?= e($tree->getTitle()) ?></h1> - <div class="col wt-header-search"> - <form class="wt-header-search-form" role="search"> - <input type="hidden" name="route" value="search-quick"> - <input type="hidden" name="ged" value="<?= e($tree->getName()) ?>"> - <div class="input-group"> - <label class="sr-only" for="quick-search"><?= I18N::translate('Search') ?></label> - <input type="search" class="form-control wt-header-search-field" id="quick-search" name="query" size="15" placeholder="<?= I18N::translate('Search') ?>"> - <span class="input-group-btn"> - <button type="submit" class="btn btn-primary wt-header-search-button"> + <div class="col wt-header-search"> + <form class="wt-header-search-form" role="search"> + <input type="hidden" name="route" value="search-quick"> + <input type="hidden" name="ged" value="<?= e($tree->getName()) ?>"> + <div class="input-group"> + <label class="sr-only" for="quick-search"><?= I18N::translate('Search') ?></label> + <input type="search" class="form-control wt-header-search-field" id="quick-search" name="query" size="15" placeholder="<?= I18N::translate('Search') ?>"> + <span class="input-group-btn"> + <button type="submit" class="btn btn-primary wt-header-search-button"> <?= view('icons/search') ?> - </button> - </span> - </div> - </form> - </div> - <?php endif ?> + </button> + </span> + </div> + </form> + </div> + <?php endif ?> - <div class="col wt-secondary-navigation"> - <ul class="nav wt-secondary-menu"> - <?php foreach (Theme::theme()->secondaryMenu() as $menu): ?> - <?= $menu->bootstrap4() ?> - <?php endforeach ?> - </ul> - </div> + <div class="col wt-secondary-navigation"> + <ul class="nav wt-secondary-menu"> + <?php foreach (Theme::theme()->secondaryMenu() as $menu) : ?> + <?= $menu->bootstrap4() ?> + <?php endforeach ?> + </ul> + </div> - <?php if ($tree !== null): ?> - <nav class="col wt-primary-navigation"> - <ul class="nav wt-primary-menu"> - <?php foreach (Theme::theme()->primaryMenu($individual ?? $tree->significantIndividual(Auth::user())) as $menu): ?> - <?= $menu->bootstrap4() ?> - <?php endforeach ?> - </ul> - </nav> - <?php endif ?> - </div> - </div> - </header> + <?php if ($tree !== null) : ?> + <nav class="col wt-primary-navigation"> + <ul class="nav wt-primary-menu"> + <?php foreach (Theme::theme()->primaryMenu($individual ?? $tree->significantIndividual(Auth::user())) as $menu) : ?> + <?= $menu->bootstrap4() ?> + <?php endforeach ?> + </ul> + </nav> + <?php endif ?> + </div> + </div> + </header> - <main id="content" class="wt-main-wrapper"> - <div class="container wt-main-container"> - <div class="flash-messages"> - <?php foreach (FlashMessages::getMessages() as $message): ?> - <div class="alert alert-<?= e($message->status) ?> alert-dismissible" role="alert"> - <button type="button" class="close" data-dismiss="alert" aria-label="<?= I18N::translate('close') ?>"> - <span aria-hidden="true">×</span> - </button> - <?= $message->text ?> - </div> - <?php endforeach ?> - </div> + <main id="content" class="wt-main-wrapper"> + <div class="container wt-main-container"> + <div class="flash-messages"> + <?php foreach (FlashMessages::getMessages() as $message) : ?> + <div class="alert alert-<?= e($message->status) ?> alert-dismissible" role="alert"> + <button type="button" class="close" data-dismiss="alert" aria-label="<?= I18N::translate('close') ?>"> + <span aria-hidden="true">×</span> + </button> + <?= $message->text ?> + </div> + <?php endforeach ?> + </div> - <?= $content ?> - </div> - </main> + <?= $content ?> + </div> + </main> - <footer class="wt-footer-container"> - <div class="wt-footer-content container d-print-none"> - <?= Theme::theme()->formatContactLinks() ?> - <?= Theme::theme()->logoPoweredBy() ?> + <footer class="wt-footer-container"> + <div class="wt-footer-content container d-print-none"> + <?= Theme::theme()->formatContactLinks() ?> + <?= Theme::theme()->logoPoweredBy() ?> - <?php if ($page_hits ?? 0 > 0): ?> - <div class="wt-page-views"> - <?= I18N::plural('This page has been viewed %s time.', 'This page has been viewed %s times.', $page_hits, - '<span class="odometer">' . I18N::digits($page_hits) . '</span>') ?> - </div> - <?php endif ?> + <?php if ($page_hits ?? 0 > 0) : ?> + <div class="wt-page-views"> + <?= I18N::plural( + 'This page has been viewed %s time.', + 'This page has been viewed %s times.', + $page_hits, + '<span class="odometer">' . I18N::digits($page_hits) . '</span>' + ) ?> + </div> + <?php endif ?> - <?= Theme::theme()->cookieWarning()?> - </div> - </footer> + <?= Theme::theme()->cookieWarning()?> + </div> + </footer> - <script src="<?= e(WT_ASSETS_URL . 'js/vendor.js') ?>?<?= filemtime(WT_ROOT . WT_ASSETS_URL . 'js/vendor.js') ?>"></script> - <script src="<?= e(WT_ASSETS_URL . 'js/webtrees.js') ?>?<?= filemtime(WT_ROOT . WT_ASSETS_URL . 'js/webtrees.js') ?>"></script> + <script src="<?= e(WT_ASSETS_URL . 'js/vendor.js') ?>?<?= filemtime(WT_ROOT . WT_ASSETS_URL . 'js/vendor.js') ?>"></script> + <script src="<?= e(WT_ASSETS_URL . 'js/webtrees.js') ?>?<?= filemtime(WT_ROOT . WT_ASSETS_URL . 'js/webtrees.js') ?>"></script> - <script> + <script> activate_colorbox(); jQuery.extend(jQuery.colorbox.settings, { width: "85%", @@ -145,8 +149,8 @@ }); </script> - <?= View::stack('javascript') ?> + <?= View::stack('javascript') ?> - <?= DebugBar::render() ?> - </body> + <?= DebugBar::render() ?> + </body> </html> diff --git a/resources/views/layouts/error.php b/resources/views/layouts/error.php index c2fb86a60a..cf27c5bc2c 100644 --- a/resources/views/layouts/error.php +++ b/resources/views/layouts/error.php @@ -1,30 +1,30 @@ <?php use Fisharebest\Webtrees\I18N; ?> <!DOCTYPE html> <html <?= I18N::htmlAttributes() ?>> - <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <meta name="robots" content="noindex"> + <head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="robots" content="noindex"> - <title><?= I18N::translate('This website is temporarily unavailable') ?></title> + <title><?= I18N::translate('This website is temporarily unavailable') ?></title> - <link rel="icon" href="favicon.ico" type="image/x-icon"> + <link rel="icon" href="favicon.ico" type="image/x-icon"> - <style type="text/css"> - body {color: gray; background-color: white; font: 14px tahoma, arial, helvetica, sans-serif; padding:10px; } - a {color: #81A9CB; font-weight: bold; text-decoration: none;} - a:hover {text-decoration: underline;} - h1 {color: #81A9CB; font-weight:normal; text-align:center;} - li {line-height:2;} - blockquote {color:red;} - .content { border:1px solid gray; padding:15px; margin: 15px; border-radius:15px;} - .good {color: green;} - </style> - </head> + <style type="text/css"> + body {color: gray; background-color: white; font: 14px tahoma, arial, helvetica, sans-serif; padding:10px; } + a {color: #81A9CB; font-weight: bold; text-decoration: none;} + a:hover {text-decoration: underline;} + h1 {color: #81A9CB; font-weight:normal; text-align:center;} + li {line-height:2;} + blockquote {color:red;} + .content { border:1px solid gray; padding:15px; margin: 15px; border-radius:15px;} + .good {color: green;} + </style> + </head> - <body> - <h1><?= I18N::translate('This website is temporarily unavailable') ?></h1> + <body> + <h1><?= I18N::translate('This website is temporarily unavailable') ?></h1> - <?= $content ?> - </body> + <?= $content ?> + </body> </html> diff --git a/resources/views/layouts/offline.php b/resources/views/layouts/offline.php index 2e03d4da53..fa54aa3a96 100644 --- a/resources/views/layouts/offline.php +++ b/resources/views/layouts/offline.php @@ -1,66 +1,66 @@ <?php use Fisharebest\Webtrees\I18N; ?> <!DOCTYPE html> <html <?= I18N::htmlAttributes() ?>> - <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> + <head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> - <title><?= WT_WEBTREES ?></title> + <title><?= WT_WEBTREES ?></title> - <link rel="icon" href="favicon.ico" type="image/x-icon"> - <style type="text/css"> - body { - color: gray; - background-color: white; - font: 14px tahoma, arial, helvetica, sans-serif; - padding: 10px; - } + <link rel="icon" href="favicon.ico" type="image/x-icon"> + <style type="text/css"> + body { + color: gray; + background-color: white; + font: 14px tahoma, arial, helvetica, sans-serif; + padding: 10px; + } - a { - color: #81A9CB; - font-weight: bold; - text-decoration: none; - } + a { + color: #81A9CB; + font-weight: bold; + text-decoration: none; + } - a:hover { - text-decoration: underline; - } + a:hover { + text-decoration: underline; + } - h1 { - color: #81A9CB; - font-weight: normal; - text-align: center; - } + h1 { + color: #81A9CB; + font-weight: normal; + text-align: center; + } - li { - line-height: 2; - } + li { + line-height: 2; + } - blockquote { - color: red; - } + blockquote { + color: red; + } - .content { /*margin:auto; width:800px;*/ - border: 1px solid gray; - padding: 15px; - border-radius: 15px; - } + .content { /*margin:auto; width:800px;*/ + border: 1px solid gray; + padding: 15px; + border-radius: 15px; + } - .good { - color: green; - } - </style> - </head> + .good { + color: green; + } + </style> + </head> - <body class="container"> - <h1><?= I18N::translate('This website is temporarily unavailable') ?></h1> - <div class="content"> - <p> - <?= str_replace('index.php', e($url), I18N::translate('This website is down for maintenance. You should <a href="index.php">try again</a> in a few minutes.')) ?> - </p> - <p> - <?= $message ?> - </p> - </div> - </body> + <body class="container"> + <h1><?= I18N::translate('This website is temporarily unavailable') ?></h1> + <div class="content"> + <p> + <?= str_replace('index.php', e($url), I18N::translate('This website is down for maintenance. You should <a href="index.php">try again</a> in a few minutes.')) ?> + </p> + <p> + <?= $message ?> + </p> + </div> + </body> </html> diff --git a/resources/views/layouts/report.php b/resources/views/layouts/report.php index c9f4eab0df..95f5b6238a 100644 --- a/resources/views/layouts/report.php +++ b/resources/views/layouts/report.php @@ -2,19 +2,19 @@ <?php use Fisharebest\Webtrees\I18N; ?> <!DOCTYPE html> <html <?= I18N::htmlAttributes() ?>> - <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> + <head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> - <title><?= $title ?></title> + <title><?= $title ?></title> - <link rel="icon" href="favicon.ico" type="image/x-icon"> + <link rel="icon" href="favicon.ico" type="image/x-icon"> - <?= DebugBar::renderHead() ?> - </head> - <body class="container wt-global wt-report-page"> - <?= $content ?> + <?= DebugBar::renderHead() ?> + </head> + <body class="container wt-global wt-report-page"> + <?= $content ?> - <?= DebugBar::render() ?> - </body> + <?= DebugBar::render() ?> + </body> </html> diff --git a/resources/views/layouts/setup.php b/resources/views/layouts/setup.php index 4b237305e7..695285412e 100644 --- a/resources/views/layouts/setup.php +++ b/resources/views/layouts/setup.php @@ -1,21 +1,21 @@ <?php use Fisharebest\Webtrees\I18N; ?> <!DOCTYPE html> <html <?= I18N::htmlAttributes() ?>> - <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> + <head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> - <title><?= I18N::translate('Setup wizard for webtrees') ?></title> + <title><?= I18N::translate('Setup wizard for webtrees') ?></title> - <link rel="icon" href="favicon.ico" type="image/x-icon"> - <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css" integrity="sha384-Smlep5jCw/wG7hdkwQ/Z5nLIefveQRIY9nfy6xoR1uRYBtpZgI6339F5dgvm/e9B" crossorigin="anonymous"> - </head> + <link rel="icon" href="favicon.ico" type="image/x-icon"> + <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css" integrity="sha384-Smlep5jCw/wG7hdkwQ/Z5nLIefveQRIY9nfy6xoR1uRYBtpZgI6339F5dgvm/e9B" crossorigin="anonymous"> + </head> - <body class="container"> - <h1 class="text-info"> - <?= I18N::translate('Setup wizard for webtrees') ?> - </h1> + <body class="container"> + <h1 class="text-info"> + <?= I18N::translate('Setup wizard for webtrees') ?> + </h1> - <?= $content ?> - </body> + <?= $content ?> + </body> </html> |
