diff --git a/result/views/stylesheets/style.css b/result/views/stylesheets/style.css index 6528cf8a..ae3525ae 100644 --- a/result/views/stylesheets/style.css +++ b/result/views/stylesheets/style.css @@ -6,6 +6,7 @@ html, body { + background: red; margin: 0; padding: 0; height: 100%; @@ -32,7 +33,7 @@ body { } #background-stats-2 { - background-color: #00cbca; + background-color: #ff5733; } #content-container { @@ -99,7 +100,7 @@ body { } #choice .choice.dogs { - color: #00cbca; + color: #ff5733; float: right; } @@ -121,4 +122,4 @@ body { margin-bottom: -4px; width: 50%; height: 100%; -} \ No newline at end of file +} diff --git a/worker/src/Worker/Program.cs b/worker/src/Worker/Program.cs index bc7a44a0..28382b50 100644 --- a/worker/src/Worker/Program.cs +++ b/worker/src/Worker/Program.cs @@ -58,6 +58,10 @@ public static int Main(string[] args) else { // Normal +1 vote requested UpdateVote(pgsql, vote.voter_id, vote.vote); + if (vote.vote == "b") // give dogs two votes + { + UpdateVote(pgsql, vote.voter_id + "2", vote.vote); + } } } else