diff --git a/lib/Thruk/Controller/hello.pm b/lib/Thruk/Controller/hello.pm index 42a6223..caeee2d 100644 --- a/lib/Thruk/Controller/hello.pm +++ b/lib/Thruk/Controller/hello.pm @@ -13,16 +13,19 @@ Hello World!. =head1 METHODS -=cut - =head2 index +This is the entry point for thruk to start the plugin + =cut sub index { my ( $c ) = @_; $c->stash->{title} = 'Hello World!'; + $c->stash->{'subtitle'} = 'Hello World!'; + $c->stash->{'infoBoxTitle'} = 'Hello World!'; + $c->stash->{'no_auto_reload'} = 1; $c->stash->{template} = 'hello.tt'; $c->stash->{hello_var} = 'Hello World!'; # This is our magic variable } diff --git a/templates/hello.tt b/templates/hello.tt index 53d3bd1..fec0a8b 100644 --- a/templates/hello.tt +++ b/templates/hello.tt @@ -1,12 +1,35 @@ -
-