footbar.php 1.79 KB
Newer Older
nextime's avatar
nextime committed
1
<? @include_once("../includes/common.php"); ?>
2 3 4 5
<?
$webspeech="";
if($_DOMOTIKA['webspeech']=='touch')
   $webspeech='x-webkit-speech="x-webkit-speech"';
nextime's avatar
nextime committed
6 7 8 9 10

$themeclass="";
if($_DOMOTIKA['gui_theme']=='dmblack')
   $themeclass="navbar-inverse";

11
?>
nextime's avatar
nextime committed
12
<div class="navbar <?=$themeclass?> navbar-fixed-bottom">
13
   <a class="navbar-brand" href="http://www.unixmedia.it" target=_blank>Domotika</a>
nextime's avatar
nextime committed
14
   <p class="navbar-text hidden-sm"><a href="http://www.unixmedia.it" class="navbar-link" target=_blank>by Unixmedia</a></p>
15
   <button id="speechbutton" type="button" class="btn btn-default navbar-btn pull-right speechbutton"></button>
nextime's avatar
nextime committed
16
   <form id="speech" class="navbar-form footbar-form hidden-sm"> 
17
      <input type="text" id="speechinp" name="text" value="" class="form-control" <?=$webspeech?> lang="<?=$_DOMOTIKA['speechlang']?>" placeholder="Command">
nextime's avatar
nextime committed
18 19
   </form> 
   <form id="speechsm" class="navbar-form footbar-form-sm visible-sm"> 
20
      <input type="text" id="speechinp" name="text" value="" class="form-control" <?=$webspeech?> lang="<?=$_DOMOTIKA['speechlang']?>" placeholder="Command">
nextime's avatar
nextime committed
21
   </form> 
22
   <button id="notifybutton" type="button" class="btn btn-default navbar-btn pull-right notifybutton">
nextime's avatar
nextime committed
23 24 25 26
      <span id="notifybadge" class="badge">0</span>
   </button>
   <a class="btn btn-default navbar-btn pull-right homebutton" href="<?=$BASEGUIPATH;?>"></a>

nextime's avatar
nextime committed
27 28
  <div id="notifypanel" class="panel panel-theme-<?=$_DOMOTIKA['gui_theme']?> notifypanel">
    <div class="panel-heading panel-head-theme-<?=$_DOMOTIKA['gui_theme']?>"><h4>Notifications<i class="glyphicon glyphicon-remove pull-right" id="notify-removeall"></i></h4></div>
nextime's avatar
nextime committed
29
    <div class="notifylist">
nextime's avatar
nextime committed
30
      <div id="notifications" class="list-group theme-<?=$_DOMOTIKA['gui_theme']?>" data-snap-ignore="true">
nextime's avatar
nextime committed
31 32 33 34 35 36
      </div>
    </div>
  </div>

</div><!-- /.navbar -->