diff --git a/form.js b/form.js
index ef6e71c5ee6f0e4915e9624b3b7233c1d5531669..d1f99b868978e1403dd7452e71ac8072afa218ea 100644
--- a/form.js
+++ b/form.js
@@ -1,3 +1,19 @@
+const table = {
+  "interactive": { "max_cpu": 48, "max_hour": 2, "max_gpu": -1 },
+  "express": { "max_cpu": 48, "max_hour": 2, "max_gpu": -1 },
+  "short": { "max_cpu": 48, "max_hour": 12, "max_gpu": -1 },
+  "pascalnodes": { "max_cpu": 28, "max_hour": 12, "max_gpu": 4 },
+  "pascalnodes-medium": { "max_cpu": 28, "max_hour": 48, "max_gpu": 4 },
+  "medium": { "max_cpu": 48, "max_hour": 50, "max_gpu": -1 },
+  "long": { "max_cpu": 48, "max_hour": 150, "max_gpu": -1 },
+  "intel-dcb": { "max_cpu": 24, "max_hour": 150, "max_gpu": -1 },
+  "amd-hdr100": { "max_cpu": 128, "max_hour": 150, "max_gpu": -1 },
+  "largemem": { "max_cpu": 24, "max_hour": 50, "max_gpu": -1 },
+  "largemem-long": { "max_cpu": 24, "max_hour": 150, "max_gpu": -1 },
+  "amperenodes": { "max_cpu": 128, "max_hour": 12, "max_gpu": 2 },
+  "amperenodes-medium": { "max_cpu": 128, "max_hour": 48, "max_gpu": 2 },
+}
+
 function set_partition_change_handler() {
   let partition_select = $("#batch_connect_session_context_bc_partition");
   partition_select.change( function(e) {