diff --git a/gaseous-server/Assets/.DS_Store b/gaseous-server/Assets/.DS_Store new file mode 100644 index 0000000..95b3a7b Binary files /dev/null and b/gaseous-server/Assets/.DS_Store differ diff --git a/gaseous-server/Assets/Ratings/.DS_Store b/gaseous-server/Assets/Ratings/.DS_Store new file mode 100644 index 0000000..fad90d5 Binary files /dev/null and b/gaseous-server/Assets/Ratings/.DS_Store differ diff --git a/gaseous-server/Assets/Ratings/ACB/ACB_G.png b/gaseous-server/Assets/Ratings/ACB/ACB_G.png deleted file mode 100644 index 93b5e5f..0000000 Binary files a/gaseous-server/Assets/Ratings/ACB/ACB_G.png and /dev/null differ diff --git a/gaseous-server/Assets/Ratings/ACB/ACB_G.svg b/gaseous-server/Assets/Ratings/ACB/ACB_G.svg new file mode 100644 index 0000000..85a81e3 --- /dev/null +++ b/gaseous-server/Assets/Ratings/ACB/ACB_G.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/gaseous-server/Assets/Ratings/ACB/ACB_M.png b/gaseous-server/Assets/Ratings/ACB/ACB_M.png deleted file mode 100644 index 7bdaa1d..0000000 Binary files a/gaseous-server/Assets/Ratings/ACB/ACB_M.png and /dev/null differ diff --git a/gaseous-server/Assets/Ratings/ACB/ACB_M.svg b/gaseous-server/Assets/Ratings/ACB/ACB_M.svg new file mode 100644 index 0000000..744b4b3 --- /dev/null +++ b/gaseous-server/Assets/Ratings/ACB/ACB_M.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/gaseous-server/Assets/Ratings/ACB/ACB_MA15.png b/gaseous-server/Assets/Ratings/ACB/ACB_MA15.png deleted file mode 100644 index bec82bd..0000000 Binary files a/gaseous-server/Assets/Ratings/ACB/ACB_MA15.png and /dev/null differ diff --git a/gaseous-server/Assets/Ratings/ACB/ACB_MA15.svg b/gaseous-server/Assets/Ratings/ACB/ACB_MA15.svg new file mode 100644 index 0000000..829d9bc --- /dev/null +++ b/gaseous-server/Assets/Ratings/ACB/ACB_MA15.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gaseous-server/Assets/Ratings/ACB/ACB_PG.png b/gaseous-server/Assets/Ratings/ACB/ACB_PG.png deleted file mode 100644 index c505b3f..0000000 Binary files a/gaseous-server/Assets/Ratings/ACB/ACB_PG.png and /dev/null differ diff --git a/gaseous-server/Assets/Ratings/ACB/ACB_PG.svg b/gaseous-server/Assets/Ratings/ACB/ACB_PG.svg new file mode 100644 index 0000000..1b3a8ce --- /dev/null +++ b/gaseous-server/Assets/Ratings/ACB/ACB_PG.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/gaseous-server/Assets/Ratings/ACB/ACB_R18.png b/gaseous-server/Assets/Ratings/ACB/ACB_R18.png deleted file mode 100644 index 62edcae..0000000 Binary files a/gaseous-server/Assets/Ratings/ACB/ACB_R18.png and /dev/null differ diff --git a/gaseous-server/Assets/Ratings/ACB/ACB_R18.svg b/gaseous-server/Assets/Ratings/ACB/ACB_R18.svg new file mode 100644 index 0000000..a65c5dd --- /dev/null +++ b/gaseous-server/Assets/Ratings/ACB/ACB_R18.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gaseous-server/Assets/Ratings/ACB/ACB_RC.png b/gaseous-server/Assets/Ratings/ACB/ACB_RC.png deleted file mode 100644 index 1b0f511..0000000 Binary files a/gaseous-server/Assets/Ratings/ACB/ACB_RC.png and /dev/null differ diff --git a/gaseous-server/Assets/Ratings/ACB/ACB_RC.svg b/gaseous-server/Assets/Ratings/ACB/ACB_RC.svg new file mode 100644 index 0000000..8707732 --- /dev/null +++ b/gaseous-server/Assets/Ratings/ACB/ACB_RC.svg @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/CERO/CERO_A.svg b/gaseous-server/Assets/Ratings/CERO/CERO_A.svg new file mode 100644 index 0000000..fff2608 --- /dev/null +++ b/gaseous-server/Assets/Ratings/CERO/CERO_A.svg @@ -0,0 +1,496 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/CERO/CERO_B.svg b/gaseous-server/Assets/Ratings/CERO/CERO_B.svg new file mode 100644 index 0000000..e4a844a --- /dev/null +++ b/gaseous-server/Assets/Ratings/CERO/CERO_B.svg @@ -0,0 +1,557 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/CERO/CERO_C.svg b/gaseous-server/Assets/Ratings/CERO/CERO_C.svg new file mode 100644 index 0000000..e6896d0 --- /dev/null +++ b/gaseous-server/Assets/Ratings/CERO/CERO_C.svg @@ -0,0 +1,558 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/CERO/CERO_D.svg b/gaseous-server/Assets/Ratings/CERO/CERO_D.svg new file mode 100644 index 0000000..14b1a3e --- /dev/null +++ b/gaseous-server/Assets/Ratings/CERO/CERO_D.svg @@ -0,0 +1,290 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/CERO/CERO_Z.svg b/gaseous-server/Assets/Ratings/CERO/CERO_Z.svg new file mode 100644 index 0000000..a3cc19a --- /dev/null +++ b/gaseous-server/Assets/Ratings/CERO/CERO_Z.svg @@ -0,0 +1,619 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_Eighteen.svg b/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_Eighteen.svg new file mode 100644 index 0000000..6e86f63 --- /dev/null +++ b/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_Eighteen.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_Fourteen.svg b/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_Fourteen.svg new file mode 100644 index 0000000..4f7a6c9 --- /dev/null +++ b/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_Fourteen.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_L.svg b/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_L.svg new file mode 100644 index 0000000..1a85899 --- /dev/null +++ b/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_L.svg @@ -0,0 +1,119 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_Sixteen.svg b/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_Sixteen.svg new file mode 100644 index 0000000..c5beafb --- /dev/null +++ b/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_Sixteen.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_Ten.svg b/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_Ten.svg new file mode 100644 index 0000000..506cfc3 --- /dev/null +++ b/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_Ten.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_Twelve.svg b/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_Twelve.svg new file mode 100644 index 0000000..618a536 --- /dev/null +++ b/gaseous-server/Assets/Ratings/CLASS_IND/CLASS_IND_Twelve.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/GRAC/GRAC_All.svg b/gaseous-server/Assets/Ratings/GRAC/GRAC_All.svg new file mode 100644 index 0000000..a09ab19 --- /dev/null +++ b/gaseous-server/Assets/Ratings/GRAC/GRAC_All.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/GRAC/GRAC_Eighteen.svg b/gaseous-server/Assets/Ratings/GRAC/GRAC_Eighteen.svg new file mode 100644 index 0000000..f296c58 --- /dev/null +++ b/gaseous-server/Assets/Ratings/GRAC/GRAC_Eighteen.svg @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/GRAC/GRAC_Fifteen.svg b/gaseous-server/Assets/Ratings/GRAC/GRAC_Fifteen.svg new file mode 100644 index 0000000..6e997df --- /dev/null +++ b/gaseous-server/Assets/Ratings/GRAC/GRAC_Fifteen.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/GRAC/GRAC_Testing.svg b/gaseous-server/Assets/Ratings/GRAC/GRAC_Testing.svg new file mode 100644 index 0000000..72cbd9b --- /dev/null +++ b/gaseous-server/Assets/Ratings/GRAC/GRAC_Testing.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/GRAC/GRAC_Twelve.svg b/gaseous-server/Assets/Ratings/GRAC/GRAC_Twelve.svg new file mode 100644 index 0000000..2ed7295 --- /dev/null +++ b/gaseous-server/Assets/Ratings/GRAC/GRAC_Twelve.svg @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/PEGI/Eighteen.jpg b/gaseous-server/Assets/Ratings/PEGI/Eighteen.jpg deleted file mode 100644 index c4fc8f2..0000000 Binary files a/gaseous-server/Assets/Ratings/PEGI/Eighteen.jpg and /dev/null differ diff --git a/gaseous-server/Assets/Ratings/PEGI/Eighteen.svg b/gaseous-server/Assets/Ratings/PEGI/Eighteen.svg new file mode 100644 index 0000000..204aa19 --- /dev/null +++ b/gaseous-server/Assets/Ratings/PEGI/Eighteen.svg @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/PEGI/PEGI_Parental_Guidance_Recommended.png b/gaseous-server/Assets/Ratings/PEGI/PEGI_Parental_Guidance_Recommended.png deleted file mode 100644 index 575c375..0000000 Binary files a/gaseous-server/Assets/Ratings/PEGI/PEGI_Parental_Guidance_Recommended.png and /dev/null differ diff --git a/gaseous-server/Assets/Ratings/PEGI/Seven.jpg b/gaseous-server/Assets/Ratings/PEGI/Seven.jpg deleted file mode 100644 index 264cac2..0000000 Binary files a/gaseous-server/Assets/Ratings/PEGI/Seven.jpg and /dev/null differ diff --git a/gaseous-server/Assets/Ratings/PEGI/Seven.svg b/gaseous-server/Assets/Ratings/PEGI/Seven.svg new file mode 100644 index 0000000..b2f94d9 --- /dev/null +++ b/gaseous-server/Assets/Ratings/PEGI/Seven.svg @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/PEGI/Sixteen.jpg b/gaseous-server/Assets/Ratings/PEGI/Sixteen.jpg deleted file mode 100644 index 55fe2ec..0000000 Binary files a/gaseous-server/Assets/Ratings/PEGI/Sixteen.jpg and /dev/null differ diff --git a/gaseous-server/Assets/Ratings/PEGI/Sixteen.svg b/gaseous-server/Assets/Ratings/PEGI/Sixteen.svg new file mode 100644 index 0000000..b2eaac9 --- /dev/null +++ b/gaseous-server/Assets/Ratings/PEGI/Sixteen.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/PEGI/Three.jpg b/gaseous-server/Assets/Ratings/PEGI/Three.jpg deleted file mode 100644 index 2d6c734..0000000 Binary files a/gaseous-server/Assets/Ratings/PEGI/Three.jpg and /dev/null differ diff --git a/gaseous-server/Assets/Ratings/PEGI/Three.svg b/gaseous-server/Assets/Ratings/PEGI/Three.svg new file mode 100644 index 0000000..b627a5d --- /dev/null +++ b/gaseous-server/Assets/Ratings/PEGI/Three.svg @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/PEGI/Twelve.jpg b/gaseous-server/Assets/Ratings/PEGI/Twelve.jpg deleted file mode 100644 index 40dc135..0000000 Binary files a/gaseous-server/Assets/Ratings/PEGI/Twelve.jpg and /dev/null differ diff --git a/gaseous-server/Assets/Ratings/PEGI/Twelve.svg b/gaseous-server/Assets/Ratings/PEGI/Twelve.svg new file mode 100644 index 0000000..24aa8d7 --- /dev/null +++ b/gaseous-server/Assets/Ratings/PEGI/Twelve.svg @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/Assets/Ratings/USK/USK_0.svg b/gaseous-server/Assets/Ratings/USK/USK_0.svg new file mode 100644 index 0000000..90f38a6 --- /dev/null +++ b/gaseous-server/Assets/Ratings/USK/USK_0.svg @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gaseous-server/Assets/Ratings/USK/USK_12.svg b/gaseous-server/Assets/Ratings/USK/USK_12.svg new file mode 100644 index 0000000..89b7ce3 --- /dev/null +++ b/gaseous-server/Assets/Ratings/USK/USK_12.svg @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gaseous-server/Assets/Ratings/USK/USK_16.svg b/gaseous-server/Assets/Ratings/USK/USK_16.svg new file mode 100644 index 0000000..9f1b4d7 --- /dev/null +++ b/gaseous-server/Assets/Ratings/USK/USK_16.svg @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gaseous-server/Assets/Ratings/USK/USK_18.svg b/gaseous-server/Assets/Ratings/USK/USK_18.svg new file mode 100644 index 0000000..9b2bd7a --- /dev/null +++ b/gaseous-server/Assets/Ratings/USK/USK_18.svg @@ -0,0 +1,55 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/gaseous-server/Assets/Ratings/USK/USK_6.svg b/gaseous-server/Assets/Ratings/USK/USK_6.svg new file mode 100644 index 0000000..cc8fee8 --- /dev/null +++ b/gaseous-server/Assets/Ratings/USK/USK_6.svg @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gaseous-server/Controllers/GamesController.cs b/gaseous-server/Controllers/GamesController.cs index 5e1834b..27e4e54 100644 --- a/gaseous-server/Controllers/GamesController.cs +++ b/gaseous-server/Controllers/GamesController.cs @@ -198,12 +198,28 @@ namespace gaseous_server.Controllers fileType = "image/svg+xml"; break; case AgeRatingCategory.PEGI: - fileExtension = "jpg"; - fileType = "image/jpg"; + fileExtension = "svg"; + fileType = "image/svg+xml"; break; case AgeRatingCategory.ACB: - fileExtension = "png"; - fileType = "image/png"; + fileExtension = "svg"; + fileType = "image/svg+xml"; + break; + case AgeRatingCategory.CERO: + fileExtension = "svg"; + fileType = "image/svg+xml"; + break; + case AgeRatingCategory.USK: + fileExtension = "svg"; + fileType = "image/svg+xml"; + break; + case AgeRatingCategory.GRAC: + fileExtension = "svg"; + fileType = "image/svg+xml"; + break; + case AgeRatingCategory.CLASS_IND: + fileExtension = "svg"; + fileType = "image/svg+xml"; break; } diff --git a/gaseous-server/gaseous-server.csproj b/gaseous-server/gaseous-server.csproj index 9614837..aa3be2e 100644 --- a/gaseous-server/gaseous-server.csproj +++ b/gaseous-server/gaseous-server.csproj @@ -40,18 +40,47 @@ - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -69,6 +98,11 @@ + + + + + @@ -88,6 +122,7 @@ + @@ -101,18 +136,38 @@ - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gaseous-server/wwwroot/.DS_Store b/gaseous-server/wwwroot/.DS_Store index cd3a2cf..022e6ad 100644 Binary files a/gaseous-server/wwwroot/.DS_Store and b/gaseous-server/wwwroot/.DS_Store differ diff --git a/gaseous-server/wwwroot/index.html b/gaseous-server/wwwroot/index.html index 565daf6..b1b9d2f 100644 --- a/gaseous-server/wwwroot/index.html +++ b/gaseous-server/wwwroot/index.html @@ -22,18 +22,19 @@
-
-
+
- diff --git a/gaseous-server/wwwroot/pages/game.html b/gaseous-server/wwwroot/pages/game.html new file mode 100644 index 0000000..38fd0ef --- /dev/null +++ b/gaseous-server/wwwroot/pages/game.html @@ -0,0 +1,36 @@ +
+ +
+ + \ No newline at end of file diff --git a/gaseous-server/wwwroot/pages/home.html b/gaseous-server/wwwroot/pages/home.html new file mode 100644 index 0000000..97cf028 --- /dev/null +++ b/gaseous-server/wwwroot/pages/home.html @@ -0,0 +1,14 @@ +
+
+ + \ No newline at end of file diff --git a/gaseous-server/wwwroot/scripts/gamesformating.js b/gaseous-server/wwwroot/scripts/gamesformating.js index e72a0af..1ff0fc2 100644 --- a/gaseous-server/wwwroot/scripts/gamesformating.js +++ b/gaseous-server/wwwroot/scripts/gamesformating.js @@ -9,6 +9,7 @@ function renderGameIcon(gameObject, showTitle, showRatings) { var gameBox = document.createElement('div'); gameBox.className = 'game_tile'; + gameBox.setAttribute('onclick', 'window.location.href = "/index.html?page=game&id=' + gameObject.id + '";'); var gameImage = document.createElement('img'); gameImage.className = 'game_tile_image'; diff --git a/gaseous-server/wwwroot/styles/style.css b/gaseous-server/wwwroot/styles/style.css index eb14529..519a8ba 100644 --- a/gaseous-server/wwwroot/styles/style.css +++ b/gaseous-server/wwwroot/styles/style.css @@ -132,9 +132,22 @@ input[id='filter_panel_search'] { background-color: white; } +.rating_image { + display: inline-block; + max-width: 72px; + max-height: 72px; + margin-right: 10px; +} + .rating_image_mini { display: inline-block; max-width: 32px; max-height: 32px; margin-right: 2px; +} + +.game_cover_image { + display: block; + max-width: 250px; + max-height: 350px; } \ No newline at end of file