Changes to tasktracker2.scroll.pub

root
root
24 days ago
Initial commit
body.html
Changed around line 1
+
+

Task Tracker

+
+
+
+
+
+
+

Overall Progress

+
+
+
+

25% Complete

+
+
+
+

Leaderboard

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Login

+
+
+
+
+
+
+
+
+
+
+
+

Task Tracker - Streamline Your Workflow

+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://tasktracker.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Task Tracker - Manage Your Workflow
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "6bc346b3-e39d-412b-8722-41ba4234f324",
+ "object": "chat.completion",
+ "created": 1735447404,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\ntasktracker.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://tasktracker.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Task Tracker - Manage Your Workflow\nstyle.css\nbody.html\nscript.js\n---body.html---\n
\n

Task Tracker

\n \n
\n\n
\n
\n

Overall Progress

\n
\n
\n
\n

25% Complete

\n
\n\n
\n

Leaderboard

\n
\n \n \n \n \n
\n
\n \n \n \n \n
\n
\n\n
\n

Login

\n
\n \n \n \n \n \n
\n
\n
\n\n
\n

Task Tracker - Streamline Your Workflow

\n
\n---style.css---\n:root {\n --primary-color: #4CAF50;\n --secondary-color: #333;\n --background-color: #f4f4f4;\n --text-color: #333;\n --progress-bar-color: #ddd;\n}\n\nbody {\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n margin: 0;\n padding: 0;\n background-color: var(--background-color);\n color: var(--text-color);\n line-height: 1.6;\n}\n\nheader {\n background-color: var(--primary-color);\n color: white;\n padding: 1rem;\n text-align: center;\n}\n\nnav {\n display: flex;\n justify-content: center;\n gap: 1rem;\n margin-top: 1rem;\n}\n\nnav a {\n color: white;\n text-decoration: none;\n font-weight: bold;\n}\n\nmain {\n padding: 2rem;\n}\n\nsection {\n margin-bottom: 2rem;\n}\n\n.progress-bar {\n background-color: var(--progress-bar-color);\n border-radius: 5px;\n height: 20px;\n overflow: hidden;\n}\n\n.progress {\n background-color: var(--primary-color);\n height: 100%;\n}\n\n.tabs {\n display: flex;\n gap: 1rem;\n margin-bottom: 1rem;\n}\n\n.tab {\n padding: 0.5rem 1rem;\n border: none;\n background-color: var(--primary-color);\n color: white;\n cursor: pointer;\n border-radius: 5px;\n}\n\n.tab.active {\n background-color: var(--secondary-color);\n}\n\n.charts {\n position: relative;\n height: 300px;\n}\n\ncanvas {\n display: none;\n width: 100%;\n height: 100%;\n}\n\ncanvas.active {\n display: block;\n}\n\nform {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n max-width: 300px;\n margin: 0 auto;\n}\n\ninput {\n padding: 0.5rem;\n border: 1px solid var(--secondary-color);\n border-radius: 5px;\n}\n\nbutton {\n padding: 0.5rem 1rem;\n background-color: var(--primary-color);\n color: white;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background-color: var(--secondary-color);\n color: white;\n}\n\n@media (max-width: 768px) {\n nav {\n flex-direction: column;\n }\n\n .tabs {\n flex-direction: column;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n const tabs = document.querySelectorAll('.tab');\n const charts = document.querySelectorAll('canvas');\n\n tabs.forEach(tab => {\n tab.addEventListener('click', function() {\n tabs.forEach(t => t.classList.remove('active'));\n this.classList.add('active');\n\n charts.forEach(chart => chart.classList.remove('active'));\n const chartId = this.dataset.tab + 'Chart';\n document.getElementById(chartId).classList.add('active');\n });\n });\n\n const dailyData = {\n labels: ['Alice', 'Bob', 'Charlie', 'Diana'],\n datasets: [{\n label: 'Daily Points',\n data: [5, 3, 7, 2],\n backgroundColor: '#4CAF50'\n }]\n };\n\n const weeklyData = {\n labels: ['Alice', 'Bob', 'Charlie', 'Diana'],\n datasets: [{\n label: 'Weekly Points',\n data: [25, 18, 30, 15],\n backgroundColor: '#4CAF50'\n }]\n };\n\n const monthlyData = {\n labels: ['Alice', 'Bob', 'Charlie', 'Diana'],\n datasets: [{\n label: 'Monthly Points',\n data: [80, 65, 95, 70],\n backgroundColor: '#4CAF50'\n }]\n };\n\n const totalData = {\n labels: ['Alice', 'Bob', 'Charlie', 'Diana'],\n datasets: [{\n label: 'Total Points',\n data: [200, 150, 250, 180],\n backgroundColor: '#4CAF50'\n }]\n };\n\n const dailyChart = new Chart(document.getElementById('dailyChart'), {\n type: 'bar',\n data: dailyData,\n options: {\n responsive: true,\n maintainAspectRatio: false\n }\n });\n\n const weeklyChart = new Chart(document.getElementById('weeklyChart'), {\n type: 'bar',\n data: weeklyData,\n options: {\n responsive: true,\n maintainAspectRatio: false\n }\n });\n\n const monthlyChart = new Chart(document.getElementById('monthlyChart'), {\n type: 'bar',\n data: monthlyData,\n options: {\n responsive: true,\n maintainAspectRatio: false\n }\n });\n\n const totalChart = new Chart(document.getElementById('totalChart'), {\n type: 'bar',\n data: totalData,\n options: {\n responsive: true,\n maintainAspectRatio: false\n }\n });\n\n document.getElementById('loginForm').addEventListener('submit', function(e) {\n e.preventDefault();\n alert('Login functionality coming soon!');\n });\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 313,
+ "completion_tokens": 1633,
+ "total_tokens": 1946,
+ "prompt_cache_hit_tokens": 64,
+ "prompt_cache_miss_tokens": 249
+ },
+ "system_fingerprint": "fp_f1afce2943"
+ }
readme.scroll
Changed around line 1
+ # tasktracker2.scroll.pub
+ Website generated by DeepSeek from prompt: 我要创建一个专项工作,有一定数量的工作,分为8个步骤完成,每人分配一个账户,首页显示总的完成进度,登录账户后可以看到每个人的待办、在办和办结项目信息。首页提供积分榜,包括日积分榜、周积分榜、月积分榜和总积分榜,每完成一个节点积一分,,积分用柱状图表示。。
script.js
Changed around line 1
+ document.addEventListener('DOMContentLoaded', function() {
+ const tabs = document.querySelectorAll('.tab');
+ const charts = document.querySelectorAll('canvas');
+
+ tabs.forEach(tab => {
+ tab.addEventListener('click', function() {
+ tabs.forEach(t => t.classList.remove('active'));
+ this.classList.add('active');
+
+ charts.forEach(chart => chart.classList.remove('active'));
+ const chartId = this.dataset.tab + 'Chart';
+ document.getElementById(chartId).classList.add('active');
+ });
+ });
+
+ const dailyData = {
+ labels: ['Alice', 'Bob', 'Charlie', 'Diana'],
+ datasets: [{
+ label: 'Daily Points',
+ data: [5, 3, 7, 2],
+ backgroundColor: '#4CAF50'
+ }]
+ };
+
+ const weeklyData = {
+ labels: ['Alice', 'Bob', 'Charlie', 'Diana'],
+ datasets: [{
+ label: 'Weekly Points',
+ data: [25, 18, 30, 15],
+ backgroundColor: '#4CAF50'
+ }]
+ };
+
+ const monthlyData = {
+ labels: ['Alice', 'Bob', 'Charlie', 'Diana'],
+ datasets: [{
+ label: 'Monthly Points',
+ data: [80, 65, 95, 70],
+ backgroundColor: '#4CAF50'
+ }]
+ };
+
+ const totalData = {
+ labels: ['Alice', 'Bob', 'Charlie', 'Diana'],
+ datasets: [{
+ label: 'Total Points',
+ data: [200, 150, 250, 180],
+ backgroundColor: '#4CAF50'
+ }]
+ };
+
+ const dailyChart = new Chart(document.getElementById('dailyChart'), {
+ type: 'bar',
+ data: dailyData,
+ options: {
+ responsive: true,
+ maintainAspectRatio: false
+ }
+ });
+
+ const weeklyChart = new Chart(document.getElementById('weeklyChart'), {
+ type: 'bar',
+ data: weeklyData,
+ options: {
+ responsive: true,
+ maintainAspectRatio: false
+ }
+ });
+
+ const monthlyChart = new Chart(document.getElementById('monthlyChart'), {
+ type: 'bar',
+ data: monthlyData,
+ options: {
+ responsive: true,
+ maintainAspectRatio: false
+ }
+ });
+
+ const totalChart = new Chart(document.getElementById('totalChart'), {
+ type: 'bar',
+ data: totalData,
+ options: {
+ responsive: true,
+ maintainAspectRatio: false
+ }
+ });
+
+ document.getElementById('loginForm').addEventListener('submit', function(e) {
+ e.preventDefault();
+ alert('Login functionality coming soon!');
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --primary-color: #4CAF50;
+ --secondary-color: #333;
+ --background-color: #f4f4f4;
+ --text-color: #333;
+ --progress-bar-color: #ddd;
+ }
+
+ body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ margin: 0;
+ padding: 0;
+ background-color: var(--background-color);
+ color: var(--text-color);
+ line-height: 1.6;
+ }
+
+ header {
+ background-color: var(--primary-color);
+ color: white;
+ padding: 1rem;
+ text-align: center;
+ }
+
+ nav {
+ display: flex;
+ justify-content: center;
+ gap: 1rem;
+ margin-top: 1rem;
+ }
+
+ nav a {
+ color: white;
+ text-decoration: none;
+ font-weight: bold;
+ }
+
+ main {
+ padding: 2rem;
+ }
+
+ section {
+ margin-bottom: 2rem;
+ }
+
+ .progress-bar {
+ background-color: var(--progress-bar-color);
+ border-radius: 5px;
+ height: 20px;
+ overflow: hidden;
+ }
+
+ .progress {
+ background-color: var(--primary-color);
+ height: 100%;
+ }
+
+ .tabs {
+ display: flex;
+ gap: 1rem;
+ margin-bottom: 1rem;
+ }
+
+ .tab {
+ padding: 0.5rem 1rem;
+ border: none;
+ background-color: var(--primary-color);
+ color: white;
+ cursor: pointer;
+ border-radius: 5px;
+ }
+
+ .tab.active {
+ background-color: var(--secondary-color);
+ }
+
+ .charts {
+ position: relative;
+ height: 300px;
+ }
+
+ canvas {
+ display: none;
+ width: 100%;
+ height: 100%;
+ }
+
+ canvas.active {
+ display: block;
+ }
+
+ form {
+ display: flex;
+ flex-direction: column;
+ gap: 1rem;
+ max-width: 300px;
+ margin: 0 auto;
+ }
+
+ input {
+ padding: 0.5rem;
+ border: 1px solid var(--secondary-color);
+ border-radius: 5px;
+ }
+
+ button {
+ padding: 0.5rem 1rem;
+ background-color: var(--primary-color);
+ color: white;
+ border: none;
+ border-radius: 5px;
+ cursor: pointer;
+ }
+
+ footer {
+ text-align: center;
+ padding: 1rem;
+ background-color: var(--secondary-color);
+ color: white;
+ }
+
+ @media (max-width: 768px) {
+ nav {
+ flex-direction: column;
+ }
+
+ .tabs {
+ flex-direction: column;
+ }
+ }