Skip to content

Commit

Permalink
fix: tuf ui logout button alignement
Browse files Browse the repository at this point in the history
  • Loading branch information
gnuton committed Apr 25, 2024
1 parent 0fe9586 commit 0f811d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions release/src/router/www/sysdep/FUNCTION/TUF_UI/form_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1631,13 +1631,12 @@ padding-top:1px;

/* 設置主選單dt */
.navigation li dt {
background:url('/images/New_ui/dropdown_bt.png') no-repeat;
background:url('/images/New_ui/dropdown_bt.png');
padding:8px 8px 0 0;
text-align:center;
font-size: 13px;
height: 34px;
overflow:hidden;
width: 152px;
height: 27px;
width: 145px;
}

.navigation li dt:hover{
Expand Down
2 changes: 1 addition & 1 deletion release/src/router/www/sysdep/FUNCTION/TUF_UI/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ function show_banner(L3){// L3 = The third Level of Menu
banner_code +='<div style="margin-left:25px;margin-right:20px;width:160px;height:52px;margin-top:0px;float:left;" align="left"><span><a href="https://github.com/gnuton/asuswrt-merlin.ng" target="_blank" rel="noreferrer"><img src="images/merlin-logo.png" style="border: 0;"></a></span></div>'
banner_code +='<div style="margin-top:0px;margin-left:-90px;*margin-top:0px;*margin-left:0px;" align="center"><span id="modelName_top" onclick="this.focus();" class="modelName_top"><#Web_Title2#></span></div>';
// logout
banner_code +='<a href="javascript:logout();"><div style="margin:20px 0 0 15px;*width:136px;background:url(\'images/New_ui/btn_logout.png\') no-repeat;background-size:cover;width:132px;height:34px;float:left;" align="center"><div style="margin:8px 0 0 15px;"><#t1Logout#></div></div></a>\n';
banner_code +='<a href="javascript:logout();"><div style="margin:20px 0 0 15px;*width:132px;background:url(\'images/New_ui/btn_logout.png\');background-size:cover;width:132px;height:34px;float:left;" align="center"><div style="margin:8px 0 0 15px;"><#t1Logout#></div></div></a>\n';
}
else if(spirit_logo_support){
banner_code +='<div class="banner1" align="center"><img src="images/New_ui/asus_spirit_title.png" width="214" height="31" align="left" style="margin-top:13px;margin-left:30px;">\n';
Expand Down

0 comments on commit 0f811d3

Please sign in to comment.