2024-05-31 22:49:37 +02:00
|
|
|
<!DOCTYPE html>
|
2024-06-08 11:04:41 +02:00
|
|
|
<html>
|
2024-05-31 22:49:37 +02:00
|
|
|
<head>
|
2024-06-08 11:04:41 +02:00
|
|
|
<title>PhishGuardian</title>
|
|
|
|
<link rel="stylesheet" href="styles.css">
|
2024-05-31 22:49:37 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2024-06-08 11:04:41 +02:00
|
|
|
<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>
|
2024-05-31 22:49:37 +02:00
|
|
|
</div>
|
2024-06-08 11:04:41 +02:00
|
|
|
<div id="loggedInSection" style="display:none;">
|
|
|
|
<div id="loggedInInfo">
|
|
|
|
Logged in as: <span id="loggedInEmail"></span>
|
|
|
|
</div>
|
2024-05-31 22:49:37 +02:00
|
|
|
<button id="logout">Logout</button>
|
2024-06-08 11:04:41 +02:00
|
|
|
<button id="fetchEmails">Fetch Emails</button>
|
2024-05-31 22:49:37 +02:00
|
|
|
</div>
|
2024-06-08 11:04:41 +02:00
|
|
|
<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>
|
2024-05-31 22:49:37 +02:00
|
|
|
</body>
|
|
|
|
</html>
|