Skip to content

Commit

Permalink
Revert "fix: tuf ui logout button alignement"
Browse files Browse the repository at this point in the history
This reverts commit 0f811d3.
  • Loading branch information
gnuton committed Jun 1, 2024
1 parent 0f811d3 commit f958a42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 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,12 +1631,13 @@ padding-top:1px;

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

.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: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';
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';
}
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 f958a42

Please sign in to comment.