PhishGuardian/extension/popup.html

41 lines
1.1 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<title>PhishGuardian</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>PhishGuardian</h1>
<div id="loginSection">
<div>
<label>Email:</label>
<input type="text" id="email">
</div>
<div>
<label>Password:</label>
<input type="password" id="password">
</div>
<button id="loginButton">Log In</button>
</div>
<div id="loggedInSection" style="display:none;">
<div id="loggedInInfo">
Logged in as: <span id="loggedInEmail"></span>
</div>
<button id="logout">Logout</button>
<button id="fetchEmails">Fetch Emails</button>
</div>
<ul id="emailList"></ul>
<div>
<h2>Email Body</h2>
<textarea id="emailBody" rows="10" cols="50"></textarea>
<button id="classifyEmail">Classify Email</button>
</div>
<div id="result"></div>
<div id="actions" style="display:none;">
<button id="markSafe">Mark as Safe</button>
<button id="deleteEmail">Delete Email</button>
</div>
<script src="popup.js"></script>
</body>
</html>