From 45584b7bfb2b59a8d2af49852581a11ecc6028d8 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Fri, 13 Jan 2017 14:11:11 +0100 Subject: [PATCH] Work on testing sockets, odometers --- Site/Default.aspx | 9 ++------- Site/Scripts/Swarmops-v5.js | 4 ++-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Site/Default.aspx b/Site/Default.aspx index f47a6c5c..53f82659 100644 --- a/Site/Default.aspx +++ b/Site/Default.aspx @@ -24,17 +24,12 @@
-
0.001
Annual Profit To Date (Testing new code)
+
500.001
Annual Profit To Date (Testing new code)

Dashboard Placeholder

-

This system, Swarmops, is under heavy (re)construction. It has been the admin mainstay of the Swedish Pirate Party since 2006, and is being generalized to encompass any organization.

-

What you see here is the new interface being rewritten on top of the already-running engine. It runs on Debian/Ubuntu servers for frontend and backend.

-

This notice will be replaced with a proper Dashboard when all the basic functions are in place. You can see functions appear as they are implemented in the menu.

-

A rough roadmap says that basic financials are implemented first, then member registry functions, then communications, then responsibilities, then governance. For more on the specific roadmap, go to the SCRUM planning for Swarmops.

-

Look at the Swarmops code on Github (and feel free to contribute)! Current line count: 140,936.

-

Use this form to report bugs for these early builds.

+

Dashboard is being constructed in preparation for beta release. Lots of code are in testing (visible on the Sandbox).

diff --git a/Site/Scripts/Swarmops-v5.js b/Site/Scripts/Swarmops-v5.js index 64059404..2ed21ad5 100644 --- a/Site/Scripts/Swarmops-v5.js +++ b/Site/Scripts/Swarmops-v5.js @@ -41,8 +41,8 @@ function _masterInitializeSocket(authenticationTicket) { else if (message.messageType == "SandboxUpdate") { if (odoLocalParticipation != undefined) { // Real ugly accessing specific page elements here, but it's temporary odoLocalParticipation.innerHTML = message.local; - odoGlobalParticipation.innerHTML = 12345000 + message.local * 5; - odoActiveParticipation.innerHTML = 123000 + message.local * 5; + odoGlobalParticipation.innerHTML = 12345678 + message.local * 5; + odoActiveParticipation.innerHTML = 123412 + message.local * 5; odoProfitLossToDate.innerHTML = (message.profit / 100.0) + 0.001; } }