Skip to content

Commit

Permalink
Upgrade Bootstrap from 5.2 to 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Jul 2, 2023
1 parent fc3f072 commit 1208b8f
Show file tree
Hide file tree
Showing 17 changed files with 717 additions and 708 deletions.
1,325 changes: 672 additions & 653 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
"postcss-import": "15.1.0",
"postcss-rtlcss": "4.0.6",
"resolve-url-loader": "5.0.0",
"sass": "1.62.1",
"sass-loader": "13.3.1"
"sass": "1.63.6",
"sass-loader": "13.3.2"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "6.4.0",
"@fortawesome/free-regular-svg-icons": "6.4.0",
"@fortawesome/free-solid-svg-icons": "6.4.0",
"@popperjs/core": "2.11.8",
"beautifymarker": "1.0.9",
"bootstrap": "5.2.3",
"corejs-typeahead": "1.3.1",
"bootstrap": "5.3.0",
"corejs-typeahead": "1.3.3",
"datatables.net-bs5": "1.13.4",
"dejavu-fonts-ttf": "2.37.3",
"hideshowpassword": "2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion public/css/administration.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/css/clouds.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/css/colors.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/css/fab.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/css/minimal.min.css

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions public/css/vendor.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/css/webtrees.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/css/xenea.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/vendor.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions resources/views/admin/data-fix-page.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ use Fisharebest\Webtrees\View;
</div>

<div id="data-fix-progress" class="d-none">
<div class="progress">
<div class="progress-bar" role="progressbar"></div>
<div class="progress" role="progressbar">
<div class="progress-bar"></div>
</div>
</div>

Expand Down
16 changes: 7 additions & 9 deletions resources/views/admin/import-progress.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@ use Fisharebest\Webtrees\Tree;

?>

<div class="progress" id="progress<?= e($tree->id()) ?>">
<div
class="progress-bar"
role="progressbar"
aria-valuenow="<?= $progress * 100 ?>"
aria-valuemin="0"
aria-valuemax="100"
style="min-width: <?= $progress * 100 ?>%;"
>
<div class="progress" id="progress<?= e($tree->id()) ?>"
role="progressbar"
aria-valuenow="<?= $progress * 100 ?>"
aria-valuemin="0"
aria-valuemax="100"
>
<div class="progress-bar" style="min-width: <?= $progress * 100 ?>%;">
<?= $status ?: I18N::percentage($progress, 1) ?>
</div>
</div>
Expand Down
28 changes: 14 additions & 14 deletions resources/views/admin/modules.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ use Illuminate\Support\Collection;
<?= view('admin/external-module-info', ['module' => $module]) ?>
<?php endif ?>
</td>
<td class="text-center text-muted" title="<?= I18N::translate('Preferences') ?>">
<td class="text-center" title="<?= I18N::translate('Preferences') ?>">
<?php if ($module instanceof ModuleConfigInterface) : ?>
<?php if ($module->isEnabled()) : ?>
<a href="<?= e($module->getConfigLink()) ?>" title="<?= I18N::translate('Preferences') ?>">
Expand All @@ -166,31 +166,31 @@ use Illuminate\Support\Collection;
<?php endif ?>
<?php endif ?>
</td>
<td class="text-center text-muted" title="<?= I18N::translate('Menu') ?>">
<td class="text-center" title="<?= I18N::translate('Menu') ?>">
<?php if ($module instanceof ModuleMenuInterface) : ?>
<?= view('icons/menu') ?>
<span class="visually-hidden"><?= I18N::translate('Menu') ?></span>
<?php else : ?>
-
<?php endif ?>
</td>
<td class="text-center text-muted" title="<?= I18N::translate('Tab') ?>">
<td class="text-center" title="<?= I18N::translate('Tab') ?>">
<?php if ($module instanceof ModuleTabInterface) : ?>
<?= view('icons/tab') ?>
<span class="visually-hidden"><?= I18N::translate('Tab') ?></span>
<?php else : ?>
-
<?php endif ?>
</td>
<td class="text-center text-muted" title="<?= I18N::translate('Sidebar') ?>">
<td class="text-center" title="<?= I18N::translate('Sidebar') ?>">
<?php if ($module instanceof ModuleSidebarInterface) : ?>
<?= view('icons/sidebar') ?>
<span class="visually-hidden"><?= I18N::translate('Sidebar') ?></span>
<?php else : ?>
-
<?php endif ?>
</td>
<td class="text-center text-muted">
<td class="text-center">
<?php if ($module instanceof ModuleBlockInterface) : ?>
<?php if ($module->isUserBlock()) : ?>
<span title="<?= I18N::translate('My page') ?>">
Expand All @@ -213,71 +213,71 @@ use Illuminate\Support\Collection;
-
<?php endif ?>
</td>
<td class="text-center text-muted" title="<?= I18N::translate('Data fix') ?>">
<td class="text-center" title="<?= I18N::translate('Data fix') ?>">
<?php if ($module instanceof ModuleDataFixInterface) : ?>
<?= view('icons/data-fix') ?>
<span class="visually-hidden"><?= I18N::translate('Data fix') ?></span>
<?php else : ?>
-
<?php endif ?>
</td>
<td class="text-center text-muted" title="<?= I18N::translate('Chart') ?>">
<td class="text-center" title="<?= I18N::translate('Chart') ?>">
<?php if ($module instanceof ModuleChartInterface) : ?>
<?= view('icons/chart') ?>
<span class="visually-hidden"><?= I18N::translate('Chart') ?></span>
<?php else : ?>
-
<?php endif ?>
</td>
<td class="text-center text-muted" title="<?= I18N::translate('List') ?>">
<td class="text-center" title="<?= I18N::translate('List') ?>">
<?php if ($module instanceof ModuleListInterface) : ?>
<?= view('icons/list') ?>
<span class="visually-hidden"><?= I18N::translate('List') ?></span>
<?php else : ?>
-
<?php endif ?>
</td>
<td class="text-center text-muted" title="<?= I18N::translate('Report') ?>">
<td class="text-center" title="<?= I18N::translate('Report') ?>">
<?php if ($module instanceof ModuleReportInterface) : ?>
<?= view('icons/report') ?>
<span class="visually-hidden"><?= I18N::translate('Report') ?></span>
<?php else : ?>
-
<?php endif ?>
</td>
<td class="text-center text-muted" title="<?= I18N::translate('Footer') ?>">
<td class="text-center" title="<?= I18N::translate('Footer') ?>">
<?php if ($module instanceof ModuleFooterInterface) : ?>
<?= view('icons/footer') ?>
<span class="visually-hidden"><?= I18N::translate('Footer') ?></span>
<?php else : ?>
-
<?php endif ?>
</td>
<td class="text-center text-muted" title="<?= I18N::translate('Tracking and analytics') ?>">
<td class="text-center" title="<?= I18N::translate('Tracking and analytics') ?>">
<?php if ($module instanceof ModuleAnalyticsInterface) : ?>
<?= view('icons/analytics') ?>
<span class="visually-hidden"><?= I18N::translate('Tracking and analytics') ?></span>
<?php else : ?>
-
<?php endif ?>
</td>
<td class="text-center text-muted" title="<?= I18N::translate('Historic events') ?>">
<td class="text-center" title="<?= I18N::translate('Historic events') ?>">
<?php if ($module instanceof ModuleHistoricEventsInterface) : ?>
<?= view('icons/history') ?>
<span class="visually-hidden"><?= I18N::translate('Historic events') ?></span>
<?php else : ?>
-
<?php endif ?>
</td>
<td class="text-center text-muted" title="<?= I18N::translate('Theme') ?>">
<td class="text-center" title="<?= I18N::translate('Theme') ?>">
<?php if ($module instanceof ModuleThemeInterface) : ?>
<?= view('icons/theme') ?>
<span class="visually-hidden"><?= I18N::translate('Theme') ?></span>
<?php else : ?>
-
<?php endif ?>
</td>
<td class="text-center text-muted" title="<?= I18N::translate('Language') ?>">
<td class="text-center" title="<?= I18N::translate('Language') ?>">
<?php if ($module instanceof ModuleLanguageInterface) : ?>
<?= view('icons/language') ?>
<span class="visually-hidden"><?= I18N::translate('Language') ?></span>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/admin/trees.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ use Illuminate\Database\Capsule\Manager as DB;
<?php $importing = DB::table('gedcom_chunk')->where('gedcom_id', '=', $managed_tree->id())->where('imported', '=', 0)->exists() ?>
<?php if ($importing) : ?>
<div id="import<?= $managed_tree->id() ?>" class="col-12">
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">
<div class="progress" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar">
<?= I18N::translate('Calculating…') ?>
</div>
</div>
Expand Down
11 changes: 2 additions & 9 deletions resources/views/components/progress.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,8 @@ use Fisharebest\Webtrees\I18N;

?>

<div class="progress">
<div
class="progress-bar"
role="progressbar"
aria-valuenow="<?= $progress * 100 ?>"
aria-valuemin="0"
aria-valuemax="100"
style="width: <?= $progress * 100 ?>%; min-width: 2.5rem;"
>
<div class="progress" role="progressbar" aria-valuenow="<?= $progress * 100 ?>" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar" style="width: <?= $progress * 100 ?>%; min-width: 2.5rem;">
<?= I18N::percentage($progress, 1) ?>
</div>
</div>
4 changes: 2 additions & 2 deletions resources/views/modules/place-hierarchy/events.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ use Illuminate\Support\Collection;

<ul class="nav nav-tabs" role="tablist">
<li class="nav-item" role="presentation">
<a class="nav-link active<?= $indilist->isEmpty() ? ' text-muted' : '' ?>" data-bs-toggle="tab" role="tab" href="#individuals">
<a class="nav-link active" data-bs-toggle="tab" role="tab" href="#individuals">
<?= I18N::translate('Individuals') ?>
<?= view('components/badge', ['count' => count($indilist)]) ?>
</a>
</li>
<li class="nav-item" role="presentation">
<a class="nav-link<?= $famlist->isEmpty() ? ' text-muted' : '' ?>" data-bs-toggle="tab" role="tab" href="#families">
<a class="nav-link" data-bs-toggle="tab" role="tab" href="#families">
<?= I18N::translate('Families') ?>
<?= view('components/badge', ['count' => count($famlist)]) ?>
</a>
Expand Down

0 comments on commit 1208b8f

Please sign in to comment.