devel/helloworld: merge version 1.3 from master

This commit is contained in:
Franco Fichtner 2017-12-27 10:35:24 +01:00
parent 70f6e01ace
commit ec3283688a
3 changed files with 2 additions and 4 deletions

View file

@ -1,5 +1,5 @@
PLUGIN_NAME= helloworld
PLUGIN_VERSION= 1.2
PLUGIN_VERSION= 1.3
PLUGIN_COMMENT= A sample framework application
PLUGIN_MAINTAINER= ad@opnsense.org

View file

@ -36,8 +36,6 @@ class IndexController extends \OPNsense\Base\IndexController
{
public function indexAction()
{
// set page title, used by the standard template in layouts/default.volt.
$this->view->title = "Hello World";
// pick the template to serve to our users.
$this->view->pick('OPNsense/HelloWorld/index');
// fetch form data "general" in

View file

@ -1,5 +1,5 @@
<menu>
<Lobby>
<HelloWorld VisibleName="Hello World!" url="/ui/helloworld/"/>
<HelloWorld VisibleName="Hello World!" cssClass="fa fa-comment-o fa-fw" url="/ui/helloworld/"/>
</Lobby>
</menu>