Changes to forexlog3.scroll.pub

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

Forex Trading Journal

+

Track, analyze, and improve your trading performance

+
+
+
+
+

New Trade

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

Trade History

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
DatePairDirectionEntryExitP/LNotes
+
+
+
+
+

Your personal forex trading companion

+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://forexlog.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Forex Trading Journal - Track Your Trades
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "de7825f6-d42e-4ebd-b146-16ce898786df",
+ "object": "chat.completion",
+ "created": 1735852645,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nforexlog.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://forexlog.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Forex Trading Journal - Track Your Trades\nstyle.css\nbody.html\nscript.js\n---body.html---\n
\n

Forex Trading Journal

\n

Track, analyze, and improve your trading performance

\n
\n\n
\n
\n

New Trade

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

Trade History

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
DatePairDirectionEntryExitP/LNotes
\n
\n
\n\n
\n

Your personal forex trading companion

\n
\n---style.css---\n:root {\n --primary: #4ade80;\n --primary-alt: #22c55e;\n --gray: #1e293b;\n --light: #f8fafc;\n --dark: #0f172a;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, sans-serif;\n background-color: var(--dark);\n color: var(--light);\n line-height: 1.6;\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n}\n\nheader {\n background: linear-gradient(135deg, var(--primary), var(--primary-alt));\n color: var(--dark);\n padding: 2rem 1rem;\n text-align: center;\n}\n\nh1 {\n font-size: 2.5rem;\n margin-bottom: 0.5rem;\n}\n\nmain {\n flex: 1;\n padding: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n width: 100%;\n}\n\n.trade-entry {\n background: var(--gray);\n padding: 2rem;\n border-radius: 1rem;\n margin-bottom: 2rem;\n}\n\n.form-group {\n margin-bottom: 1rem;\n}\n\nlabel {\n display: block;\n margin-bottom: 0.5rem;\n font-weight: 500;\n}\n\ninput, select, textarea {\n width: 100%;\n padding: 0.75rem;\n border: 1px solid var(--primary);\n border-radius: 0.5rem;\n background: var(--dark);\n color: var(--light);\n font-size: 1rem;\n}\n\nbutton {\n background: var(--primary);\n color: var(--dark);\n padding: 0.75rem 1.5rem;\n border: none;\n border-radius: 0.5rem;\n font-weight: 600;\n cursor: pointer;\n transition: all 0.2s;\n}\n\nbutton:hover {\n background: var(--primary-alt);\n}\n\n.trade-history {\n overflow-x: auto;\n}\n\ntable {\n width: 100%;\n border-collapse: collapse;\n background: var(--gray);\n border-radius: 1rem;\n overflow: hidden;\n}\n\nth, td {\n padding: 1rem;\n text-align: left;\n}\n\nth {\n background: var(--primary);\n color: var(--dark);\n}\n\ntr:nth-child(even) {\n background: #2d3748;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background: var(--gray);\n color: var(--light);\n}\n\n@media (max-width: 768px) {\n h1 {\n font-size: 2rem;\n }\n \n main {\n padding: 1rem;\n }\n \n .trade-entry {\n padding: 1rem;\n }\n}\n---script.js---\ndocument.getElementById('tradeForm').addEventListener('submit', function(e) {\n e.preventDefault();\n \n const pair = document.getElementById('pair').value;\n const direction = document.getElementById('direction').value;\n const entry = parseFloat(document.getElementById('entry').value);\n const exit = parseFloat(document.getElementById('exit').value);\n const notes = document.getElementById('notes').value;\n \n const profitLoss = ((exit - entry) * (direction === 'buy' ? 1 : -1)).toFixed(4);\n \n const newRow = document.createElement('tr');\n newRow.innerHTML = `\n ${new Date().toLocaleDateString()}\n ${pair}\n ${direction}\n ${entry}\n ${exit}\n = 0 ? 'positive' : 'negative'}\">${profitLoss}\n ${notes}\n `;\n \n document.getElementById('tradeTable').querySelector('tbody').appendChild(newRow);\n \n this.reset();\n});\n\n// Add styling for profit/loss\nconst style = document.createElement('style');\nstyle.textContent = `\n .positive { color: #4ade80; }\n .negative { color: #f87171; }\n`;\ndocument.head.appendChild(style);\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 239,
+ "completion_tokens": 1457,
+ "total_tokens": 1696,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 239
+ },
+ "system_fingerprint": "fp_f1afce2943"
+ }
readme.scroll
Changed around line 1
+ # forexlog3.scroll.pub
+ Website generated by DeepSeek from prompt: dark mode forex trading journal
script.js
Changed around line 1
+ document.getElementById('tradeForm').addEventListener('submit', function(e) {
+ e.preventDefault();
+
+ const pair = document.getElementById('pair').value;
+ const direction = document.getElementById('direction').value;
+ const entry = parseFloat(document.getElementById('entry').value);
+ const exit = parseFloat(document.getElementById('exit').value);
+ const notes = document.getElementById('notes').value;
+
+ const profitLoss = ((exit - entry) * (direction === 'buy' ? 1 : -1)).toFixed(4);
+
+ const newRow = document.createElement('tr');
+ newRow.innerHTML = `
+ ${new Date().toLocaleDateString()}
+ ${pair}
+ ${direction}
+ ${entry}
+ ${exit}
+ ${profitLoss}
+ ${notes}
+ `;
+
+ document.getElementById('tradeTable').querySelector('tbody').appendChild(newRow);
+
+ this.reset();
+ });
+
+ // Add styling for profit/loss
+ const style = document.createElement('style');
+ style.textContent = `
+ .positive { color: #4ade80; }
+ .negative { color: #f87171; }
+ `;
+ document.head.appendChild(style);
style.css
Changed around line 1
+ :root {
+ --primary: #4ade80;
+ --primary-alt: #22c55e;
+ --gray: #1e293b;
+ --light: #f8fafc;
+ --dark: #0f172a;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Segoe UI', system-ui, sans-serif;
+ background-color: var(--dark);
+ color: var(--light);
+ line-height: 1.6;
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+ }
+
+ header {
+ background: linear-gradient(135deg, var(--primary), var(--primary-alt));
+ color: var(--dark);
+ padding: 2rem 1rem;
+ text-align: center;
+ }
+
+ h1 {
+ font-size: 2.5rem;
+ margin-bottom: 0.5rem;
+ }
+
+ main {
+ flex: 1;
+ padding: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ width: 100%;
+ }
+
+ .trade-entry {
+ background: var(--gray);
+ padding: 2rem;
+ border-radius: 1rem;
+ margin-bottom: 2rem;
+ }
+
+ .form-group {
+ margin-bottom: 1rem;
+ }
+
+ label {
+ display: block;
+ margin-bottom: 0.5rem;
+ font-weight: 500;
+ }
+
+ input, select, textarea {
+ width: 100%;
+ padding: 0.75rem;
+ border: 1px solid var(--primary);
+ border-radius: 0.5rem;
+ background: var(--dark);
+ color: var(--light);
+ font-size: 1rem;
+ }
+
+ button {
+ background: var(--primary);
+ color: var(--dark);
+ padding: 0.75rem 1.5rem;
+ border: none;
+ border-radius: 0.5rem;
+ font-weight: 600;
+ cursor: pointer;
+ transition: all 0.2s;
+ }
+
+ button:hover {
+ background: var(--primary-alt);
+ }
+
+ .trade-history {
+ overflow-x: auto;
+ }
+
+ table {
+ width: 100%;
+ border-collapse: collapse;
+ background: var(--gray);
+ border-radius: 1rem;
+ overflow: hidden;
+ }
+
+ th, td {
+ padding: 1rem;
+ text-align: left;
+ }
+
+ th {
+ background: var(--primary);
+ color: var(--dark);
+ }
+
+ tr:nth-child(even) {
+ background: #2d3748;
+ }
+
+ footer {
+ text-align: center;
+ padding: 1rem;
+ background: var(--gray);
+ color: var(--light);
+ }
+
+ @media (max-width: 768px) {
+ h1 {
+ font-size: 2rem;
+ }
+
+ main {
+ padding: 1rem;
+ }
+
+ .trade-entry {
+ padding: 1rem;
+ }
+ }