Existing ASP.NET API with vanilla JS SPA, WindowWatcher, Chrome extension, and MCP server. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
61 lines
1.4 KiB
HTML
61 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<style>
|
|
body {
|
|
width: 300px;
|
|
padding: 12px;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
font-size: 13px;
|
|
color: #333;
|
|
}
|
|
h3 {
|
|
margin: 0 0 8px 0;
|
|
font-size: 14px;
|
|
color: #1a73e8;
|
|
}
|
|
.task-title {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
margin-bottom: 4px;
|
|
}
|
|
.task-status {
|
|
display: inline-block;
|
|
padding: 2px 8px;
|
|
border-radius: 12px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
margin-bottom: 8px;
|
|
}
|
|
.status-Active { background: #e8f5e9; color: #2e7d32; }
|
|
.status-Paused { background: #fff3e0; color: #e65100; }
|
|
.status-Pending { background: #e3f2fd; color: #1565c0; }
|
|
.no-task {
|
|
color: #888;
|
|
font-style: italic;
|
|
}
|
|
button {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 8px;
|
|
margin-top: 8px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
}
|
|
button:hover { background: #f5f5f5; }
|
|
button:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
#error { color: #d32f2f; font-size: 11px; margin-top: 8px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h3>Work Context Tracker</h3>
|
|
<div id="content">Loading...</div>
|
|
<div id="error"></div>
|
|
<script src="popup.js"></script>
|
|
</body>
|
|
</html>
|