我有一个经理页面,我想在页面的右侧 添加一个LOG-OUT 按钮。
我知道如何一个一个添加按钮,例如:
这是上面页面的代码:
<!-- Bank manager's permissions -->
<!DOCTYPE html>
<html>
<head><title>Bank Manager's Transactions Page</title>
<link rel="stylesheet" href="./css/styles.css" type="text/css"/>
</head>
<body>
<table class="title">
<tr><th>Manager's Transactions Page</th></tr>
</table>
<h1>Hello ${name.firstName} ${name.lastName} , You've logged in successfully!</h1>
<h1>
Please choose one of the following options
</h1>
<!-- The followings are Manager's permissions -->
<fieldset>
<legend>To get a list of all the employees at the bank</legend>
<form action="blablabla"> <!-- THAT ONE forwards to a servlet that's called Admin1.java -->
<a href="adminAdds1">Press here to continue</a>
</form>
</fieldset>
<fieldset>
<legend>To get a list of all the clients at the bank</legend>
<form action="blablabla"> <!-- THAT ONE forwards to a servlet that's called Admin1.java -->
<a href="adminAdds1">Press here to continue</a>
</form>
</fieldset>
<fieldset>
<legend>To get a list of all the overdraft clients at the bank</legend>
<form action="blablabla"> <!-- THAT ONE forwards to a servlet that's called Admin1.java -->
<a href="adminAdds1">Press here to continue</a>
</form>
</fieldset>
<fieldset>
<legend>To get the number of overdraft clients at the bank</legend>
<form action="blablabla"> <!-- THAT ONE forwards to a servlet that's called Admin1.java -->
<a href="adminAdds1">Press here to continue</a>
</form>
</fieldset>
<fieldset>
<legend>To get a full financial report for the current month</legend>
<form action="blablabla"> <!-- THAT ONE forwards to a servlet that's called Admin1.java -->
<a href="adminAdds1">Press here to continue</a>
</form>
</fieldset>
<fieldset>
<legend>To get a full financial report for a specific date</legend>
<form action="blablabla"> <!-- THAT ONE forwards to a servlet that's called Admin1.java -->
<a href="adminAdds1">Press here to continue</a>
</form>
</fieldset>
</body>
如何在 JSP 文件的一个 Angular 中添加一个按钮?
问候
试试这个
样式.css
#logout
{
float:right;
margin-right:20px;
height:5px;
}
在页面中
<link href="style.css" rel="stylesheet" type="text/css" />
<div id="logout"><button>Your text</button></div>
我是一名优秀的程序员,十分优秀!