summaryrefslogtreecommitdiff
path: root/resources/views
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2017-11-19 19:54:46 +0000
committerGreg Roach <fisharebest@gmail.com>2017-11-19 21:54:25 +0000
commitbd52fa32338513b5d44dc6b1b89178c1bbf60b6a (patch)
tree9f054a3b38792e33ac422fbed45c859ffba30f58 /resources/views
parent33d824dd6b3819ef3838aa81a2eed7430deb432c (diff)
downloadwebtrees-bd52fa32338513b5d44dc6b1b89178c1bbf60b6a.tar.gz
webtrees-bd52fa32338513b5d44dc6b1b89178c1bbf60b6a.tar.bz2
webtrees-bd52fa32338513b5d44dc6b1b89178c1bbf60b6a.zip
Use maximebf/debugbar for development
Diffstat (limited to 'resources/views')
-rw-r--r--resources/views/admin/fix-level-0-media.php2
-rw-r--r--resources/views/layouts/administration.php5
-rw-r--r--resources/views/layouts/default.php3
3 files changed, 9 insertions, 1 deletions
diff --git a/resources/views/admin/fix-level-0-media.php b/resources/views/admin/fix-level-0-media.php
index 7c8f24a9cb..aafdd51dcd 100644
--- a/resources/views/admin/fix-level-0-media.php
+++ b/resources/views/admin/fix-level-0-media.php
@@ -10,7 +10,7 @@
<?= I18N::translate('If you have linked a media object to an individual, instead of linking it to one of the facts or events, then you can move it to the correct location.') ?>
</p>
-<table class="table table-bordered table-sm table-hover table-responsive datatables wt-fix-table" data-ajax="<?= HTML::escape(json_encode(['url' => route('admin-fix-level-0-media-data')])) ?>" data-state-save="true">
+<table class="table table-bordered table-sm table-hover table-responsive datatables wt-fix-table" data-ajax="<?= HTML::escape(json_encode(['url' => route('admin-fix-level-0-media-data')])) ?>" data-server-side="true" data-state-save="true">
<caption class="sr-only">
<?= I18N::translate('Media objects') ?>
</caption>
diff --git a/resources/views/layouts/administration.php b/resources/views/layouts/administration.php
index 9f54abbfd3..69309b6104 100644
--- a/resources/views/layouts/administration.php
+++ b/resources/views/layouts/administration.php
@@ -1,3 +1,4 @@
+<?php use Fisharebest\Webtrees\DebugBar; ?>
<?php use Fisharebest\Webtrees\Filter; ?>
<?php use Fisharebest\Webtrees\FlashMessages; ?>
<?php use Fisharebest\Webtrees\Html; ?>
@@ -26,6 +27,8 @@
<?php if (I18N::direction() === 'rtl'): ?>
<link rel="stylesheet" type="text/css" href="<?= WT_BOOTSTRAP_RTL_CSS_URL ?>">
<?php endif ?>
+
+ <?= DebugBar::renderHead() ?>
</head>
<body class="container wt-global">
<header>
@@ -78,5 +81,7 @@
<script src="<?= Html::escape(WT_BOOTSTRAP_DATETIMEPICKER_JS_URL) ?>"></script>
<script src="<?= Html::escape(WT_WEBTREES_JS_URL) ?>"></script>
<script src="<?= Html::escape(WT_ADMIN_JS_URL) ?>"></script>
+
+ <?= DebugBar::render() ?>
</body>
</html>
diff --git a/resources/views/layouts/default.php b/resources/views/layouts/default.php
index 39590e9360..979023640c 100644
--- a/resources/views/layouts/default.php
+++ b/resources/views/layouts/default.php
@@ -1,4 +1,5 @@
<?php use Fisharebest\Webtrees\Database; ?>
+<?php use Fisharebest\Webtrees\DebugBar; ?>
<?php use Fisharebest\Webtrees\Html; ?>
<?php use Fisharebest\Webtrees\I18N; ?>
<!DOCTYPE html>
@@ -26,6 +27,8 @@
<script src="<?= Html::escape(WT_SELECT2_JS_URL) ?>"></script>
<script src="<?= Html::escape(WT_WEBTREES_JS_URL) ?>"></script>
+ <?= DebugBar::renderHead() ?>
+ <?= DebugBar::render() ?>
</body>
</html>
<!-- webtrees: <?= WT_VERSION ?> -->