Dominik Schulz > Zabbix-Reporter-0.07 > Zabbix::Reporter::Web::Plugin::Demo

Download:
Zabbix-Reporter-0.07.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.07   Source  

NAME ^

Zabbix::Reporter::Web::Plugin::Demo - List a set of demo triggers to showcase the interfaces and tweak the UI

METHODS ^

execute

List a set of fake triggers.

demo ^

        <div class="trigger [% trigger.severity %]">
            <div class="field severity">[% trigger.severity | ucfirst %]</div>
            <div class="field icon">
                [% IF trigger.acked %]
                <embed src="img/checkbox_yes.svg" type="image/svg+xml" width="20" height="20" />
                [% ELSE %]
                <embed src="img/checkbox_no.svg" type="image/svg+xml" width="20" height="20" />
                [% END %]
            </div>
            <div class="field host">[% trigger.host %]</div>
            <div class="field name">[% trigger.description %]</div>
            <div class="field time">since [% trigger.lastchange | localtime %]</div>
            <div class="field button"><!-- placeholder for details button --></div>
            <div class="clear"></div>
            <div class="details">[% trigger.comments %]</div>
        </div>

NAME ^

Zabbix::Reporter::Web::API::Plugin::Demo - List a set of fake triggers

AUTHOR ^

Dominik Schulz <dominik.schulz@gauner.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Dominik Schulz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: