diff options
Diffstat (limited to 'application/modules/fbgui/views')
-rw-r--r-- | application/modules/fbgui/views/scripts/index/index.phtml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/application/modules/fbgui/views/scripts/index/index.phtml b/application/modules/fbgui/views/scripts/index/index.phtml index f12e93c..0ef6e4e 100644 --- a/application/modules/fbgui/views/scripts/index/index.phtml +++ b/application/modules/fbgui/views/scripts/index/index.phtml @@ -1,3 +1,4 @@ +<?php if($this->notification != ''){echo $this->notification;} ?> <?php if(isset($this->entries)):?> <script type="text/javascript"> var activeElement = 0; @@ -20,22 +21,17 @@ $(function() { $(document).keyup(function (event) { - //console.log(activeElement); if (event.keyCode == 38) { // up if(activeElement >=1) activeElement = activeElement-1; $('.menu').eq(activeElement).click(); - $('#startbutton').focus(); - } else if (event.keyCode == 40) { // Down if(activeElement < $('.menu').length-1 ) activeElement = activeElement+1; $('.menu').eq(activeElement).click(); - $('#startbutton').focus(); } - //console.log(activeElement); }); }); @@ -49,7 +45,7 @@ } } </script> - <h1>Bootmenu</h1> + <h1><?php echo $this->title;?></h1> <?php $first = true; ?> <?php foreach($this->entries as $entry):?> <?php @@ -69,4 +65,5 @@ <input style="display:none;" type='text' id="selectedBootOs" /> <button style='cursor:pointer;float:right;margin-top:10px;' id='startbutton' onClick="start();"><img id='startball' src='/media/img/button-red.png'> <span style='font-size:14px;'>Start System</span></button> <div class='clear'></div> + <?php if($this->notificationbot != ''){echo $this->notificationbot;} ?> <?php endif;?> |