Issues (496)

templates/main_panorama.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * Analytics
4
 *
5
 * SPDX-FileCopyrightText: 2019-2022 Marcel Scherello
6
 * SPDX-License-Identifier: AGPL-3.0-or-later
7
 */
8
9
use OCP\Util;
0 ignored issues
show
The type OCP\Util was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
10
11
Util::addStyle('analytics', 'style');
12
Util::addStyle('analytics', 'sharetabview');
13
Util::addStyle('analytics', '3rdParty/datatables.min');
14
Util::addStyle('files_sharing', 'icons');
15
Util::addStyle('analytics', 'print');
16
Util::addStyle('analytics', 'dashboard');
17
Util::addScript('analytics', 'visualization');
18
Util::addScript('analytics', 'navigation');
19
Util::addScript('analytics', 'sidebar');
20
Util::addScript('analytics', '3rdParty/datatables.min');
21
Util::addScript('analytics', '3rdParty/chart.umd');
22
Util::addScript('analytics', '3rdParty/chartjs-adapter-moment');
23
Util::addScript('analytics', '3rdParty/chartjs-plugin-datalabels.min');
24
Util::addScript('analytics', '3rdParty/chartjs-plugin-zoom.min');
25
Util::addScript('analytics', '3rdParty/moment.min');
26
Util::addScript('analytics', '3rdParty/cloner');
27
Util::addScript('analytics', 'userGuidance');
28
Util::addScript('analytics', '3rdParty/jspdf.umd.min');
29
Util::addScript('analytics', '3rdParty/html2canvas.min');
30
Util::addScript('analytics', 'panorama');
31
?>
32
33
<div id="app-navigation">
34
    <?php print_unescaped($this->inc('part.navigation')); ?>
35
    <?php print_unescaped($this->inc('part.settings')); ?>
36
</div>
37
38
<div id="app-content">
39
    <div id="loading">
40
        <i class="ioc-spinner ioc-spin"></i>
41
    </div>
42
43
    <?php print_unescaped($this->inc('part.intro')); ?>
44
    <?php print_unescaped($this->inc('part.content_panorama')); ?>
45
46
    <div id="analytics-warning" style="width:50%; padding: 50px">
47
        <h2><?php p($l->t('Analytics')); ?></h2>
48
        <br>
49
        <h3><?php p($l->t('Javascript issue')); ?></h3>
50
        <span><?php p($l->t('If you see this message, please disable AdBlock/uBlock for this domain (only).')); ?></span>
51
        <br>
52
        <span><?php p($l->t('The EasyPrivacy list is blocking some scripts because of a wildcard filter for *analytics*.')); ?></span>
53
        <br>
54
        <br>
55
        <a href="https://github.com/Rello/analytics/wiki/EasyPrivacy-Blocklist"
56
           target="_blank"><?php p($l->t('More Information …')); ?></a>
57
    </div>
58
</div>
59
<?php print_unescaped($this->inc('part.sidebar')); ?>
60
<div>
61
    <?php print_unescaped($this->inc('part.templates')); ?>
62
</div>
63