diff --git a/.env b/.env new file mode 100644 index 0000000..8ddde19 --- /dev/null +++ b/.env @@ -0,0 +1 @@ +PORT=5001 \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..fff7643 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": "CCP24BA_Mendieta-PhysicalBits", + "lockfileVersion": 3, + "requires": true, + "packages": {} +} diff --git a/server/frontend/admin/index.js b/server/frontend/admin/index.js index 29d222d..e284f1c 100644 --- a/server/frontend/admin/index.js +++ b/server/frontend/admin/index.js @@ -16,7 +16,7 @@ function connectToServer() { } function reconnect() { - let timeout = Math.min(connectionAttempt * 1000, 5000); + let timeout = Math.min(connectionAttempt * 1000, 5001); setTimeout(() => connect().catch(reconnect), timeout); } @@ -31,7 +31,7 @@ function initActivityMaker() { let m = parseInt($("#activity-duration-minutes").val()); let s = parseInt($("#activity-duration-seconds").val()); - if (isNaN(m)) m = 0; + if (isNaN(m)) m = 0; if (isNaN(s)) s = 0; let ms = ((m*60)+s)*1000; if (ms <= 0) ms = 60000 * 1.5; @@ -41,7 +41,7 @@ function initActivityMaker() { details: $("#activity-description").val(), duration: ms, }; - + Mendieta.createActivity(activity).then(initMainScreen) }); diff --git a/server/frontend/ide/ide.css b/server/frontend/ide/ide.css index 0959405..f34ae01 100644 --- a/server/frontend/ide/ide.css +++ b/server/frontend/ide/ide.css @@ -225,7 +225,7 @@ .breakpoint { box-shadow: 0px 0px 1px 1px red inset; - background-color: #c50000 !important; + background-color: #c50010 !important; } .debugger_ActiveLine { diff --git a/server/frontend/ide/index.html b/server/frontend/ide/index.html index 665cd32..4f2458c 100644 --- a/server/frontend/ide/index.html +++ b/server/frontend/ide/index.html @@ -1,535 +1,636 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-

- PhysicalBits -

-
-
- -
-
- - - - -
- -
- -
-
+ + + + + + + + + + Physical Bits + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
-
-