Commit cc692284 authored by nextime's avatar nextime

more uniformed icons for right panel

parent 274d89e3
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -97,6 +97,12 @@
border-radius: 0;
}
.navbar-user-theme-dmblack>li>a:hover,
.navbar-user-theme-dmblack>li>a:focus {
background-color:#222;
color:#888;
}
.drawers {
background-color: #2e2e2e;
color: #2e2e2e;
......@@ -283,21 +289,44 @@ input::-webkit-input-speech-button {
}
.leftbtn {
background-repeat: no-repeat;
background-position:right;
}
.rightbtn-attuazioni {
background-image: url(/resources/icons/on_off.png);
background-image: url(/resources/icons/OnOff_white_alpha_64x64.png);
}
.rightbtn-alarm {
background-image: url(/resources/icons/antithief.png);
background-image: url(/resources/icons/Alarm_white_alpha_64x64.png);
}
.rightbtn-video {
background-image: url(/resources/icons/video.png);
background-image: url(/resources/icons/Camera1_white_alpha_64x64.png);
}
.rightbtn-stats {
background-image: url(/resources/icons/stats.png);
background-image: url(/resources/icons/Stats_white_64x64.png);
}
.rightbtn-tv {
background-image: url(/resources/icons/Multimedia_white_alpha_64x64.png);
}
.rightbtn-clima {
background-image: url(/resources/icons/Climate_white_alpha_64x64.png);
}
.rightbtn-audio {
background-image: url(/resources/icons/Music_white_alpha_64x64.png);
}
.rightbtn-irr {
background-image: url(/resources/icons/Water2_white_alpha_64x64.png);
}
.footbar-form {
position:absolute;
right: 105px;
......
<?
$GUIDEBUG=FALSE;
//$GUIDEBUG=TRUE;
//$GUIDEBUG=FALSE;
$GUIDEBUG=TRUE;
$BASEGUIPATH=str_replace("/index.php","",$_SERVER['PHP_SELF']);
$FSPATH=realpath(dirname(__FILE__)."/..");
......
<? @include_once("../includes/common.php"); ?>
<div class="left-drawer">
<div id="websectionlist" class="panel drawer-container scrollable">
<a href="<?=$BASEGUIPATH?>" class="btn btn-block btn-default">home</a>
<a href="<?=$BASEGUIPATH?>" class="btn btn-block btn-default leftbtn" <? /* style="background-image: url(/resources/icons/home_white_alpha_32x32.png)" */?>>home</a>
<?
$links=array();
foreach(getWebSections(array('home'), array(), 'devsection') as $ws)
......@@ -13,7 +13,7 @@
{
if(!startsWith($v, '_')) {
?>
<a href="<?=$BASEGUIPATH."/actuations/".$v?>" class="btn btn-block btn-default"><?=$k?></a>
<a href="<?=$BASEGUIPATH."/actuations/".$v?>" class="btn btn-block btn-default leftbtn"><?=$k?></a>
<?
}
}
......
......@@ -32,12 +32,12 @@ if($_DOMOTIKA['gui_theme']=='dmblack')
<i class="glyphicon glyphicon-indent-right"></i>
</button>
<? } ?>
<ul class="nav navbar-user">
<ul class="nav navbar-user navbar-user-theme-<?=$_DOMOTIKA['gui_theme']?> ">
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<a class="dropdown-toggle " data-toggle="dropdown" href="#">
<?=$_DOMOTIKA['username']?> <i class="glyphicon glyphicon-user"></i>
</a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
<ul class="dropdown-menu <?=$themeclass?>" role="menu" aria-labelledby="dropdownMenu">
<? if($GUISECTION!="settings") { ?>
<li><a href="<?=$BASEGUIPATH?>/settings">Settings</a></li>
<? } else { ?>
......
......@@ -3,15 +3,14 @@
<div id="websectionlist" class="panel drawer-container scrollable">
<div class="panel-heading"><h2 class="panel-title">Menu</h2></div>
<a href="<?=$BASEGUIPATH."/"?>" class="btn btn-block btn-default rightbtn rightbtn-attuazioni">Attuazioni</a>
<a href="<?=$BASEGUIPATH."/"?>" class="btn btn-block btn-default rightbtn rightbtn-clima">Clima</a>
<a href="<?=$BASEGUIPATH."/clima"?>" class="btn btn-block btn-default rightbtn rightbtn-clima">Clima</a>
<a href="<?=$BASEGUIPATH."/video"?>" class="btn btn-block btn-default rightbtn rightbtn-tv">Video & TV</a>
<a href="<?=$BASEGUIPATH."/cameras"?>" class="btn btn-block btn-default rightbtn rightbtn-video">Telecamere</a>
<a href="<?=$BASEGUIPATH."/stats"?>" class="btn btn-block btn-default rightbtn rightbtn-stats">Stats</a>
<!--
<a href="<?=$BASEGUIPATH."/"?>" class="btn btn-block btn-default rightbtn rightbtn-alarm">Antifurto</a>
<a href="<?=$BASEGUIPATH."/"?>" class="btn btn-block btn-default rightbtn ">Clima</a>
<a href="<?=$BASEGUIPATH."/"?>" class="btn btn-block btn-default rightbtn ">Audio</a>
<a href="<?=$BASEGUIPATH."/"?>" class="btn btn-block btn-default rightbtn ">Irrigazione</a>
<a href="<?=$BASEGUIPATH."/alarm"?>" class="btn btn-block btn-default rightbtn rightbtn-alarm">Antifurto</a>
<a href="<?=$BASEGUIPATH."/audio"?>" class="btn btn-block btn-default rightbtn rightbtn-audio">Audio</a>
<a href="<?=$BASEGUIPATH."/irrigation"?>" class="btn btn-block btn-default rightbtn rightbtn-irr">Irrigazione</a>
-->
</div>
</div>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment