Template Changes for UI

This commit is contained in:
earnolmartin 2021-08-16 08:45:44 -06:00
parent f54fe7460f
commit 64691b8e7d
3 changed files with 9 additions and 3 deletions

View file

@ -3785,6 +3785,12 @@ if ($homefile<>'') {
$homepage='homepage_reseller';
}else{
$homepage='homepage_paneluser';
// Older theme compatibility
$file="templates/$this->template/$this->currentlanguage/".$homepage."_".$this->currentlanguage.".html";
if(!file_exists($file)){
$homepage='homepage_reseller';
}
}
}else{
$homepage='homepage_domainadmin_forreseller';

View file

@ -152,7 +152,7 @@ div.fixedNavBarLinkIconsSide a {display: inline-block;}
.ddMenu li.ddMenuLink a{color: inherit; display: inline-block; width: 270px;}
.fakeLink{text-decoration: none;}
.dropDownIcon{background-image: url('../images/dd.png'); background-position: 95% 50%; background-repeat: no-repeat;}
.homeBackgroundIcon{background-image: url('../images/picante_home.png'); background-position: 20% center; background-repeat: no-repeat;}
.homeBackgroundIcon{background-image: url('../images/picante_home.png'); background-position: 20% center; background-repeat: no-repeat; padding-left: 40px;}
table.list{border-collapse: collapse;}
table.list td.list, table.list th.list{padding-left: 5px; padding-right: 5px; border: 1px solid black;}
table.genericList{border-collapse: collapse;}

View file

@ -511,7 +511,7 @@
if(domainSelected){
// Remove text, add icon class, and shrink to 10%
var firstChild = $("div.menu .menuItem:nth-child(1)");
firstChild.width('10%');
firstChild.width('25%');
firstChild.text("Home");
firstChild.addClass("homeBackgroundIcon");
@ -521,7 +521,7 @@
// Resize all but the first
$("div.menu .menuItem:visible").each(function(e){
if(!$(this).is(firstChild)){
$(this).width('30%');
$(this).width('25%');
}
});