Giter VIP home page Giter VIP logo

Comments (6)

kirkwor avatar kirkwor commented on June 24, 2024 3

try this one:

        <title>Zabbix Dynamic PDF Report</title>
        <meta charset="utf-8" />
        <link rel="shortcut icon" href="../favicon.ico" />
        <link rel="stylesheet" type="text/css" href="css/zabbix.default.css" />
        <link rel="stylesheet" type="text/css" href="css/zabbix.color.css" />
        <link rel="stylesheet" type="text/css" href="css/zabbix.report.css" />
        <link rel="stylesheet" type="text/css" href="css/jquery.datetimepicker.css"/ >
        <link rel="stylesheet" type="text/css" href="css/tablesorter.css"/ >
        <link rel="stylesheet" type="text/css" href="css/select2.css"/ >
        <script type="text/javascript" src="js/jquery.js"></script>
        <script type="text/javascript" src="js/jquery.datetimepicker.js"></script>
        <script type="text/javascript" src="js/jquery.validate.min.js"></script>
        <script type="text/javascript" src="js/jquery.tablesorter.min.js"></script>
        <script type="text/javascript" src="js/select2.min.js"></script>
        <script>

from zabbix-pdf-report.

kirkwor avatar kirkwor commented on June 24, 2024

Check the file chooser.php and link the css and js files names properly to the files existing in the css/, js/ folders, should work after that.

from zabbix-pdf-report.

Ctpry avatar Ctpry commented on June 24, 2024

Check the file chooser.php and link the css and js files names properly to the files existing in the css/, js/ folders, should work after that.
files @ /usr/share/zabbix/reports/css
/usr/share/zabbix/reports/js

Page is working fine. My chooser.php about css/js texts:

<title>Zabbix Dynamic PDF Report</title> <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script> <script type="text/javascript" src="js/jquery.datetimepicker.min.js"></script> <script type="text/javascript" src="js/jquery.validate.min.js"></script> <script type="text/javascript" src="js/jquery.tablesorter.combined.min.js"></script> <script type="text/javascript" src="js/select2.min.js"></script> <script>

from zabbix-pdf-report.

Ctpry avatar Ctpry commented on June 24, 2024
<script type="text/javascript" src="js/jquery-3.3.1.min.js"></script> <script type="text/javascript" src="js/jquery.datetimepicker.min.js"></script> <script type="text/javascript" src="js/jquery.validate.min.js"></script> <script type="text/javascript" src="js/jquery.tablesorter.combined.min.js"></script> <script type="text/javascript" src="js/select2.min.js"></script> <script>

from zabbix-pdf-report.

Ctpry avatar Ctpry commented on June 24, 2024

chooser.php.txt
Heres better copy-paste of those lines

from zabbix-pdf-report.

martinm76 avatar martinm76 commented on June 24, 2024

I have fixed the javascript issues and various other in v1.2.0.
I still have issues with getting a nicely styled datepicker, but the basic one that shows up now works, at least.
You should only be able to choose a host OR a host group.

from zabbix-pdf-report.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.