-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathinc.footer.mustache
65 lines (49 loc) · 2.02 KB
/
inc.footer.mustache
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
</div> {{! Closing .o-flex }}
<div class="c-notifications"></div>
{{> charcoal/admin/widget/menu.footer }}
{{> charcoal/admin/template/inc.foot.extra }}
<!-- Styles from widgets & templates -->
{{& cssRequirements }}
<style>{{& assets.output.css }}</style>
{{& css }}
{{# addJsRequirement }}
<script rel="l10n">
{{> charcoal/admin/l10n/common.js }}
{{> charcoal/admin/l10n/cache.js }}
</script>
{{/ addJsRequirement }}
<script rel="l10n">
{{> charcoal/admin/l10n/bootstrap-dialog.js }}
</script>
<script src="{{ baseUrl }}assets/admin/scripts/charcoal.admin.vendors{{^ debug }}.min{{/ debug }}.js"></script>
{{& jsRequirements }}
<script src="{{ baseUrl }}assets/admin/scripts/charcoal.admin{{^ debug }}.min{{/ debug }}.js"></script>
<script>
Charcoal.Admin.set_data({{& adminDataForJsAsJson }});
$(document)
.ready(function() {
var $html = $(document.documentElement);
$html.removeClass('has-no-js').addClass('has-js');
// Initialize tooltips globally
$('[data-toggle="tooltip"]').tooltip();
})
.on('click.charcoal.filemanager', '.js-toggle-filemanager', function (event) {
event.preventDefault();
BootstrapDialog.show({
title: '{{# _t }}filesystem.library.files{{/ _t }}',
size: BootstrapDialog.SIZE_WIDE,
cssClass: '-elfinder',
message: $(
'<iframe width="100%" height="400px" frameborder="0" ' +
'src="' + Charcoal.Admin.admin_url() + 'elfinder"></iframe>'
)
});
});
</script>
<!--Modules from widgets & templates-->
<script type="module">{{& assets.output.module }}</script>
<!--Scripts from widgets & templates-->
<script>{{& assets.output.js }}</script>
{{& js }}
</body>
</html>