diff --git a/index.html b/index.html index 2e31a12..f5283db 100644 --- a/index.html +++ b/index.html @@ -1,473 +1,512 @@ - - - - + + + RanchiMall Times - + href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,700;1,900&family=Poppins:wght@400;500;600;700&display=swap" + rel="stylesheet" + /> + - - - + + -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
-
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
- -
-

Sign In

- -

Don't have a private key yet?
Try Guest login

-
- Login - Guest -
-
- -
-
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
+
-
-

Settings

-

- Losing your Private Key means losing all the data & money attached to your - FLO ID. Private Key once lost can NEVER be recovered. Please store - it safely. -

-
- - - -
- Logout +
+

Settings

+

+ Losing your Private Key means losing all the data & money attached + to your FLO ID. Private Key once lost can NEVER be + recovered. Please store it safely. +

+
+ + + +
+ Logout
-
- - Go Back -
-
- -
-
- - Go Back -
+
+ + Go Back +
+
+
+ + Go Back +
- + - - //for cloud apps - subAdmins: [], - webAppURL: "ranchimalltimes-webappserver.duckdns.org", - application: "TestApp", - vectorClock: {}, - appObjects: {}, - generalData: {}, - generalVC: {} - - - } - - - + - + }, - + + + }); + }, + }; + - + - - searchData: function (obsName, patternEval, dbName = this.defaultDB) { - return new Promise((resolve, reject) => { - this.openDB(dbName).then(db => { - var obs = db.transaction(obsName, "readonly").objectStore(obsName); - var filteredResult = {} - let curReq = obs.openCursor(); - curReq.onsuccess = (evt) => { - var cursor = evt.target.result; - if (cursor) { - if (patternEval(cursor.primaryKey, cursor.value)) - filteredResult[cursor.primaryKey] = cursor.value; - cursor.continue(); - } else - resolve(filteredResult); - } - curReq.onerror = (evt) => reject( - `Search unsuccessful [${evt.target.error.name}] ${evt.target.error.message}` - ); - db.close(); - }).catch(error => reject(error)); - }); - } - } - - - - //update the diff and send it to cloud - updateObjectData: function (objectName, options = {}) { - return new Promise((resolve, reject) => { - var message = { - division: options.division || floGlobals.division, - object: objectName, - vectorClock: floGlobals.vectorClock[objectName], - diff: findDifference(JSON.parse(this.util.lastCommit[objectName]), floGlobals - .appObjects[objectName]) - } - this.sendApplicationData(message, `${objectName}@Update`, options).then(result => { - this.util.lastCommit[objectName] = JSON.stringify(floGlobals.appObjects[ - objectName]) - resolve(result) - }).catch(error => reject(error)) - }) - } - } - - - + reactor.addEventListener("startUpErrorLog", (log) => console.error(log)); + - + .catch((error) => reject(error)); + }); + }, + }; + - - - \ No newline at end of file + +