aboutsummaryrefslogtreecommitdiff
path: root/app/view
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2020-01-29 17:14:48 +0100
committern-peugnet <n.peugnet@free.fr>2020-01-29 17:28:40 +0100
commit46ad69fce564ad5f935cbf3ff5b4ef8a41209075 (patch)
tree02ece03be0b09313fe66ec0f9969dd545325fa47 /app/view
parent37c4ef737499b76393a755ff3440abf4dcb97aa2 (diff)
downloadwcms-46ad69fce564ad5f935cbf3ff5b4ef8a41209075.tar.gz
wcms-46ad69fce564ad5f935cbf3ff5b4ef8a41209075.zip
feat: media js bundle with checkall and closesubmenus
Diffstat (limited to 'app/view')
-rw-r--r--app/view/templates/media.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/view/templates/media.php b/app/view/templates/media.php
index ba385cb..f3d87fc 100644
--- a/app/view/templates/media.php
+++ b/app/view/templates/media.php
@@ -76,7 +76,7 @@ $this->layout('layout', ['title' => 'media', 'css' => $css . 'home.css']) ?>
<table id="medialist">
<tr>
- <th>x</th>
+ <th id="checkall">x</th>
<th><a href="<?= $mediaopt->getsortbyadress('id') ?>">id</a></th>
<th>ext</th>
<th><a href="<?= $mediaopt->getsortbyadress('type') ?>">type</a></th>
@@ -113,6 +113,9 @@ $this->layout('layout', ['title' => 'media', 'css' => $css . 'home.css']) ?>
</section>
</main>
+
+<script src="<?= Wcms\Model::jspath() ?>media.bundle.js"></script>
+
</body>
<?php $this->stop('page') ?> \ No newline at end of file