Files
job-board-notifications/job-notifier/popup.html

145 lines
3.2 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<title>Andela Job Notifier</title>
<style>
body {
width: 350px;
padding: 15px;
font-family: Arial, sans-serif;
}
h2 {
color: #333;
margin-bottom: 15px;
}
.job-list {
margin-top: 15px;
}
.section-heading {
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.03em;
margin: 12px 0 6px;
}
.section-heading-opportunities {
color: #111111;
}
.section-heading-applied {
color: #c0392b;
}
.profession-heading {
font-size: 13px;
font-weight: 700;
margin: 10px 0 4px;
display: flex;
align-items: center;
gap: 6px;
}
.profession-dot {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
flex-shrink: 0;
}
.job-item {
padding: 10px;
margin-bottom: 10px;
border-bottom: 1px solid #eee;
cursor: pointer;
transition: background-color 0.2s;
}
.job-item:hover {
background-color: #f5f5f5;
}
.job-title {
font-weight: bold;
color: #333;
margin-bottom: 5px;
}
.new-badge {
display: inline-block;
color: white;
font-size: 10px;
font-weight: 700;
border-radius: 10px;
padding: 2px 8px;
margin-right: 6px;
letter-spacing: 0.03em;
vertical-align: middle;
}
.job-company {
color: #666;
font-size: 14px;
}
.job-location {
color: #888;
font-size: 12px;
margin-top: 3px;
}
.job-posted {
color: #0066cc;
font-size: 11px;
margin-top: 5px;
font-weight: 500;
}
.status {
color: #666;
font-size: 12px;
margin-top: 15px;
padding-top: 10px;
border-top: 1px solid #eee;
}
.job-count {
font-size: 14px;
color: #333;
margin-bottom: 10px;
}
.no-jobs {
color: #999;
text-align: center;
padding: 20px;
}
.button-row {
display: flex;
gap: 10px;
margin: 10px 0;
}
.btn {
padding: 8px 16px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
}
.btn-primary {
background: #0066cc;
color: white;
}
.btn-primary:hover {
background: #0055aa;
}
.btn-secondary {
background: #f0f0f0;
color: #333;
}
.btn-secondary:hover {
background: #e0e0e0;
}
</style>
</head>
<body>
<h2>Andela Job Notifier</h2>
<div id="jobCount" class="job-count"></div>
<div class="button-row">
<button id="checkNow" class="btn btn-primary">Check Now</button>
<button id="openSettings" class="btn btn-secondary">Settings</button>
</div>
<div id="jobList" class="job-list"></div>
<div id="status" class="status"></div>
<script src="popup.js"></script>
</body>
</html>