Host detail view

Fix small bugs in layout and js typo
This commit is contained in:
Marius Hein 2013-07-02 11:39:20 +02:00
parent 68cce096e6
commit 3bcef9af9b
3 changed files with 5 additions and 4 deletions

View File

@ -81,6 +81,7 @@
min-width: 400px; min-width: 400px;
top: 0px; top: 0px;
bottom: 0px; bottom: 0px;
margin: 0 10px 0 10px;
-webkit-transition: right 0.5s ease; -webkit-transition: right 0.5s ease;
-moz-transition: right 0.5s ease; -moz-transition: right 0.5s ease;
-o-transition: right 0.5s ease; -o-transition: right 0.5s ease;

View File

@ -3,8 +3,8 @@
*/ */
ul.icinga-navigation.nav.nav-tabs { ul.icinga-navigation.nav.nav-tabs {
height:100%; height:100%;
overflow-y:auto; overflow: hidden;
// overflow-x:hidden;
-webkit-overflow-scroll:touch; -webkit-overflow-scroll:touch;
li { li {
a { a {

View File

@ -143,10 +143,10 @@
req.destination = destination; req.destination = destination;
} }
if (destination == "icinga-main") { if (destination == "icinga-main") {
History.pushState(data, document.title, url); history.pushState(data, document.title, url);
} else { } else {
url = pushGet("c["+destination+"]", url); url = pushGet("c["+destination+"]", url);
History.pushState(data, document.title, url); history.pushState(data, document.title, url);
} }
console.log("New url: ", url); console.log("New url: ", url);
return req; return req;