Skip to content
Permalink
Browse files

Integrate theme color into TV Dashboard

  • Loading branch information...
NEMS Linux
NEMS Linux committed Mar 3, 2019
1 parent 3e9bf68 commit 077610898549bc954ab09b64215ba698dd61f5c1
Showing with 8 additions and 9 deletions.
  1. +7 −1 tv/index.php
  2. +1 −8 tv/nagios.css
@@ -1,4 +1,5 @@
<?php
<?php
require_once('/var/www/html/inc/bgcolor.php');
# The nagios-dashboard was written by Morten Bekkelund & Jonas G. Drange in 2010
#
# Patched, modified and added to by various people, see README
@@ -38,6 +39,11 @@

</script>
<link rel="stylesheet" type="text/css" href="nagios.css" />
<style>
.nagios_statusbar {
background: rgba(<?= $bgcolorDarkRGB[0] ?>,<?= $bgcolorDarkRGB[1] ?>,<?= $bgcolorDarkRGB[2] ?>,.8) !important;
}
</style>
</head>
<body>

@@ -214,14 +214,7 @@ h2 {
}

.nagios_statusbar {
background: #6a6a6a; /* Old browsers */
background: -moz-linear-gradient(top, #6a6a6a 0%, #464646 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #6a6a6a), color-stop(100%, #464646)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #6a6a6a 0%, #464646 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #6a6a6a 0%, #464646 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #6a6a6a 0%, #464646 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#6a6a6a', endColorstr = '#464646', GradientType = 0); /* IE6-9 */
background: linear-gradient(top, #6a6a6a 0%, #464646 100%); /* W3C */
background: rgba(0,0,0,.8);
position: fixed;
width: 100%;
margin: 0 0 0 -1em;

0 comments on commit 0776108

Please sign in to comment.
You can’t perform that action at this time.