- You find your base raided: All of your stuff is missing, chests are empty.
- What would be your first action?
-
-
Try to find who stole the goods, and try to get it back
-
Go to the moderators, report what happened.
-
Ignore it all, and try to gather resources to recover
-
Question yourself... has your base really been raided?
-
Other...
-
- Why would you choose this action?
-
-
-
-
-
- Someone is breaking Rule #1 and well... being a dick. They'are
- angry about (having their base raided/being harrassed by another
- member/their family treating them unfairly/griefers destroying
- their base), and are swearing, insulting people, and generally
- making chat a negative enviornment.
- What is your first action?
-
-
Attempt to defuse the situation, listening
-
Go to the moderators, report what happened.
-
Ignore them with /ignore, and continue playing your game
-
See if there is some way distract them from their issue
-
Other...
-
- If you were a moderator, what would you choose instead? Why?
-
-
-
(question for those over the age of 18... or those mature enough)
");
- $description = $(
- "
One of your friends is upset. Someone has been harrassing them, asking"
- + "for innapropriate photos, constantly private messaging them without consent"
- + " (THEIR NAME IS FUCKING GIO) "
- + "Your friend is visibly uncomfortable, would would be your first action?
");
- console.log(pagePath + " added");
+ //Generate HTML table
+ for (const pageType in pageList){
+ for (const path of pageList[pageType]){
+ //Adds new table row based on the data request
+ const $row = $("
");
+ const $request = $("
Hello " + path + "
");
+ const $response = $("
")
+
+ $row.append($request);
+ $row.append($response);
+
//Appends new table row to table
- $("#hello-table").append($newTableRow);
+ $("#hello-table").append($row);
}
}
-
- dataRequest = function(pagePath, pageType, requestType){
- $.ajax({
- type: requestType,
- url: serverPath + pagePath.toLowerCase(),
- timeout: 2000,
- beforeSend: function(data){
- $("#hello-" + pagePath.toLowerCase()).html("Loading...");
- },
- success: function(data){
- $element = $("#hello-" + pagePath.toLowerCase())
- if (pageType == "html"){
- $element.html($data);
- }else{
- $element.text($data);
- }
- },
- error: function(e){
- $("#hello-" + pagePath.toLowerCase()).html("Error " + e.status + " " + e.statusText + "");
- }
- });
- }
- //Gets Table data from server
- for (const pagePath of pages["html"]){
- dataRequest(pagePath, "safe", "GET");
+ //Populate Table Data
+ for (const id of pageList["html"]){
+ //Gets data from server, adds response to table
+ updateCell(id, "safe", "GET");
}
- for (const pagePath of pages["unsafe"]){
- dataRequest(pagePath, "unsafe", "GET");
+ for (const id of pageList["unsafe"]){
+ //Gets data from server, adds response to table
+ updateCell(id, "unsafe", "GET");
}
+
+
}
diff --git a/sandbox.html b/sandbox.html
index 387be69..3072ef1 100644
--- a/sandbox.html
+++ b/sandbox.html
@@ -18,8 +18,13 @@