diff --git a/resources/global/style.css b/resources/global/style.css index cb0de92..ae70375 100644 --- a/resources/global/style.css +++ b/resources/global/style.css @@ -1,3 +1,3 @@ p, li{ font-family: Helvetica; -} +} diff --git a/resources/questions/scenarios.js b/resources/questions/scenarios.js index a65f75e..165b4e5 100644 --- a/resources/questions/scenarios.js +++ b/resources/questions/scenarios.js @@ -1,50 +1,32 @@ -/*
  • -

    - (question for those over the age of 18... or those mature enough) -

    - One of your friends is upset. Someone has been harrassing them, - asking for innapropriate pictures, constantly private messaging - them without their consent. - (THEIR NAME IS FUCKING GIO) - Your friend is visibly uncomfortable, what would be your first - action? - - If this situation is happening to you, what would you choose instead? -
    - -
  • */ window.onload = function(){ - $adultText = $("

    (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?

    "); + addScenario = function(object){ + $adultText = $("

    (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?

    "); - $options = $(""); - $options.append($("
  • Try to listen to both sides, see what the other person has to say
  • ")); - $options.append($("
  • Go to the moderators, and report what happened.
  • ")); - $options.append($("
  • Try to cheer up your friend, diverting their attention to something else
  • ")); - $options.append($("
  • Listen to your friend, and reccommend some advice
  • ")); - $options.append($("
  • Other...
  • ")); + $options = $(""); + $options.append($("
  • Try to listen to both sides, see what the other person has to say
  • ")); + $options.append($("
  • Go to the moderators, and report what happened.
  • ")); + $options.append($("
  • Try to cheer up your friend, diverting their attention to something else
  • ")); + $options.append($("
  • Listen to your friend, and reccommend some advice
  • ")); + $options.append($("
  • Other...
  • ")); - $question = $("

    If this was happening to you, what would you choose instead?

    ") + $question = $("

    If this was happening to you, what would you choose instead?

    ") - $input = $(""); + $input = $(""); - $liElement = $("
  • ") - $liElement.append($adultText); - $liElement.append($description); - $liElement.append($options); - $liElement.append($input); - console.table($liElement); + $liElement = $("
  • ") + $liElement.append($adultText); + $liElement.append($description); + $liElement.append($options); + $liElement.append($input); + console.table($liElement); + + $("#scenarios").append($liElement); + } - $("#scenarios").append($liElement); }; diff --git a/resources/questions/scenarios.json b/resources/questions/scenarios.json index 72a3988..24dc600 100644 --- a/resources/questions/scenarios.json +++ b/resources/questions/scenarios.json @@ -3,8 +3,7 @@ { "name": "base raid", "description": - "You find your base raided: All of your stuff is missing, chests are empty. - What would be your first action?", + "You find your base raided: All of your stuff is missing, chests are empty. What would be your first action?", "options": [ "Try to find who stole the goods, and try to get it back", "Go to the moderators, and report what happened", @@ -18,7 +17,7 @@ { "name": "Rule 1", "description": - "Someone is breaking Rule #1 and well... being a dick. They'are + "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 @@ -33,7 +32,7 @@ ], "question": "If you were a moderator, what would you choose instead?", - "adult": false, + "adult": false }, { "name": "Harrassment", diff --git a/resources/questions/test.json b/resources/questions/test.json new file mode 100644 index 0000000..d9636ed --- /dev/null +++ b/resources/questions/test.json @@ -0,0 +1,3 @@ +{ + "Name": "Ali" +}