From fc82931fab3ee1203ebb894840f9eede0dee2a08 Mon Sep 17 00:00:00 2001 From: Daniel Hader Date: Tue, 2 Jun 2026 18:31:13 -0500 Subject: submission page layout and endpoint --- static/default.css | 4 ++++ static/submit.html | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ static/submit.js | 14 ++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 static/submit.html create mode 100644 static/submit.js (limited to 'static') diff --git a/static/default.css b/static/default.css index bdc1128..8f24f39 100644 --- a/static/default.css +++ b/static/default.css @@ -10,6 +10,10 @@ body { font-weight: 200; } +textarea { + resize: vertical; +} + h1 { margin-bottom: 4px; } diff --git a/static/submit.html b/static/submit.html new file mode 100644 index 0000000..79c4f82 --- /dev/null +++ b/static/submit.html @@ -0,0 +1,55 @@ + + + + + + Code Golf Login + + + + + + +
+
+
+ Home +

C&! Code Golf Leaderboard

+
+

Submit Solution

+
+
+ +

+

If your code requires any special instructions or additional details, provide them below. Languages not listed above can be specified here too. If you would like a language added to the list above, reach out to Daniel.


+
+

+
+ +

+ +

+
+ +
© 2026 Daniel Hader
+
+
+
+ + diff --git a/static/submit.js b/static/submit.js new file mode 100644 index 0000000..81e3aa6 --- /dev/null +++ b/static/submit.js @@ -0,0 +1,14 @@ + +function submit() { + const submission = { + user_id: 1, + problem_id: 2, + language: "c++", + details: "blah blah", + code: "blah blah", + }; +} + +function init() { + +} -- cgit v1.2.3