Changes to outsourcemetrics.scroll.pub

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

Outsource Metrics

+

Evaluate and rank the performance of outsourced personnel across various roles.

+
+
+
+
+

Performance Metrics

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

Rankings

+
+
+
+
+
+
+
+
+
+
+
+
+
RankNameRoleScore
+
+
+
+
+

Outsource Metrics - Empowering better outsourcing decisions.

+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://outsourcemetrics.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Outsource Metrics - Evaluate and Rank Outsourced Personnel
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "0a03b8fb-57e7-40e8-a0b9-98ab05ae925c",
+ "object": "chat.completion",
+ "created": 1735350769,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\noutsourcemetrics.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://outsourcemetrics.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Outsource Metrics - Evaluate and Rank Outsourced Personnel\nstyle.css\nbody.html\nscript.js\n---body.html---\n
\n

Outsource Metrics

\n

Evaluate and rank the performance of outsourced personnel across various roles.

\n
\n\n
\n
\n

Performance Metrics

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

Rankings

\n \n \n \n \n \n \n \n \n \n \n \n \n
RankNameRoleScore
\n
\n
\n\n
\n

Outsource Metrics - Empowering better outsourcing decisions.

\n
\n---style.css---\n:root {\n --primary-color: #4a90e2;\n --secondary-color: #f5f5f5;\n --text-color: #333;\n --border-color: #ddd;\n --shadow-color: rgba(0, 0, 0, 0.1);\n}\n\nbody {\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n margin: 0;\n padding: 0;\n background-color: var(--secondary-color);\n}\n\nheader {\n background-color: var(--primary-color);\n color: white;\n padding: 2rem;\n text-align: center;\n}\n\nmain {\n padding: 2rem;\n max-width: 800px;\n margin: 0 auto;\n}\n\nsection {\n background: white;\n padding: 1.5rem;\n margin-bottom: 2rem;\n border-radius: 8px;\n box-shadow: 0 2px 4px var(--shadow-color);\n}\n\nh2 {\n color: var(--primary-color);\n margin-bottom: 1rem;\n}\n\nform {\n display: grid;\n gap: 1rem;\n}\n\nlabel {\n font-weight: bold;\n}\n\ninput, select, button {\n padding: 0.5rem;\n border: 1px solid var(--border-color);\n border-radius: 4px;\n}\n\nbutton {\n background-color: var(--primary-color);\n color: white;\n cursor: pointer;\n transition: background-color 0.3s;\n}\n\nbutton:hover {\n background-color: darken(var(--primary-color), 10%);\n}\n\ntable {\n width: 100%;\n border-collapse: collapse;\n margin-top: 1rem;\n}\n\nth, td {\n padding: 0.75rem;\n text-align: left;\n border-bottom: 1px solid var(--border-color);\n}\n\nth {\n background-color: var(--primary-color);\n color: white;\n}\n\ntr:nth-child(even) {\n background-color: var(--secondary-color);\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background-color: var(--primary-color);\n color: white;\n margin-top: 2rem;\n}\n\n@media (max-width: 600px) {\n main {\n padding: 1rem;\n }\n\n form {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\nconst metricForm = document.getElementById('metricForm');\nconst rankingsTable = document.getElementById('rankingsTable');\nlet rankings = [];\n\nmetricForm.addEventListener('submit', function(e) {\n e.preventDefault();\n\n const role = document.getElementById('role').value;\n const name = document.getElementById('name').value;\n const quality = parseInt(document.getElementById('quality').value);\n const timeliness = parseInt(document.getElementById('timeliness').value);\n const communication = parseInt(document.getElementById('communication').value);\n\n const score = Math.round((quality + timeliness + communication) / 3);\n\n const entry = {\n name,\n role,\n score\n };\n\n rankings.push(entry);\n rankings.sort((a, b) => b.score - a.score);\n\n updateRankingsTable();\n metricForm.reset();\n});\n\nfunction updateRankingsTable() {\n rankingsTable.innerHTML = rankings.map((entry, index) => `\n \n ${index + 1}\n ${entry.name}\n ${entry.role.replace('_', ' ')}\n ${entry.score}\n \n `).join('');\n}\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 268,
+ "completion_tokens": 1319,
+ "total_tokens": 1587,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 268
+ },
+ "system_fingerprint": "fp_f1afce2943"
+ }
readme.scroll
Changed around line 1
+ # outsourcemetrics.scroll.pub
+ Website generated by DeepSeek from prompt: 我想要创建一个网站用于评估外包人员的效能指标,并用于排名,外包人员包含不同的岗位,譬如产品经理、Java 开发,前端开发,测试人员等
script.js
Changed around line 1
+ const metricForm = document.getElementById('metricForm');
+ const rankingsTable = document.getElementById('rankingsTable');
+ let rankings = [];
+
+ metricForm.addEventListener('submit', function(e) {
+ e.preventDefault();
+
+ const role = document.getElementById('role').value;
+ const name = document.getElementById('name').value;
+ const quality = parseInt(document.getElementById('quality').value);
+ const timeliness = parseInt(document.getElementById('timeliness').value);
+ const communication = parseInt(document.getElementById('communication').value);
+
+ const score = Math.round((quality + timeliness + communication) / 3);
+
+ const entry = {
+ name,
+ role,
+ score
+ };
+
+ rankings.push(entry);
+ rankings.sort((a, b) => b.score - a.score);
+
+ updateRankingsTable();
+ metricForm.reset();
+ });
+
+ function updateRankingsTable() {
+ rankingsTable.innerHTML = rankings.map((entry, index) => `
+
+ ${index + 1}
+ ${entry.name}
+ ${entry.role.replace('_', ' ')}
+ ${entry.score}
+
+ `).join('');
+ }
style.css
Changed around line 1
+ :root {
+ --primary-color: #4a90e2;
+ --secondary-color: #f5f5f5;
+ --text-color: #333;
+ --border-color: #ddd;
+ --shadow-color: rgba(0, 0, 0, 0.1);
+ }
+
+ body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ margin: 0;
+ padding: 0;
+ background-color: var(--secondary-color);
+ }
+
+ header {
+ background-color: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ main {
+ padding: 2rem;
+ max-width: 800px;
+ margin: 0 auto;
+ }
+
+ section {
+ background: white;
+ padding: 1.5rem;
+ margin-bottom: 2rem;
+ border-radius: 8px;
+ box-shadow: 0 2px 4px var(--shadow-color);
+ }
+
+ h2 {
+ color: var(--primary-color);
+ margin-bottom: 1rem;
+ }
+
+ form {
+ display: grid;
+ gap: 1rem;
+ }
+
+ label {
+ font-weight: bold;
+ }
+
+ input, select, button {
+ padding: 0.5rem;
+ border: 1px solid var(--border-color);
+ border-radius: 4px;
+ }
+
+ button {
+ background-color: var(--primary-color);
+ color: white;
+ cursor: pointer;
+ transition: background-color 0.3s;
+ }
+
+ button:hover {
+ background-color: darken(var(--primary-color), 10%);
+ }
+
+ table {
+ width: 100%;
+ border-collapse: collapse;
+ margin-top: 1rem;
+ }
+
+ th, td {
+ padding: 0.75rem;
+ text-align: left;
+ border-bottom: 1px solid var(--border-color);
+ }
+
+ th {
+ background-color: var(--primary-color);
+ color: white;
+ }
+
+ tr:nth-child(even) {
+ background-color: var(--secondary-color);
+ }
+
+ footer {
+ text-align: center;
+ padding: 1rem;
+ background-color: var(--primary-color);
+ color: white;
+ margin-top: 2rem;
+ }
+
+ @media (max-width: 600px) {
+ main {
+ padding: 1rem;
+ }
+
+ form {
+ grid-template-columns: 1fr;
+ }
+ }