* code for task #2994.

This commit is contained in:
wangyidong
2017-05-03 15:53:21 +08:00
parent 099bd94ebb
commit 2c0696ba21
3 changed files with 12 additions and 1 deletions
+3
View File
@@ -24,6 +24,9 @@ if(!empty($this->config->sso->turnon))
?>
<nav id='mainmenu'>
<?php commonModel::printMainmenu($this->moduleName); commonModel::printSearchBox();?>
<?php if(!empty($this->config->sso->turnon)):?>
<div class='pull-right' id='topnav'><?php commonModel::printTopBar();?></div>
<?php endif;?>
</nav>
<nav id="modulemenu">
<?php commonModel::printModuleMenu($this->moduleName);?>
+5
View File
@@ -20,3 +20,8 @@ function setOuterBox()
$(window).resize(resetOuterHeight);
resetOuterHeight();
}
$(function()
{
$('#searchbox').css('right', $('#topnav').width() - 20);
})
+4 -1
View File
@@ -2,5 +2,8 @@ body{padding-bottom:0px;}
#header{padding-top:0px;}
#mainmenu{margin-top:0px;margin-left:-20px;}
#mainmenu .nav li a{height:40px; line-height:25px;}
#searchbox{top:8px;}
#searchbox{top:8px;right:10px}
#topnav{position: absolute; top:6px;right: -35px}
#topnav > a.about {display:none;}
#topnav > .dropdown:last-of-type{display:none;}
#footer{display:none;}