Compare commits

..

9 Commits

Author SHA1 Message Date
Ida Tiegel 1e1d8f9c60 Update
Update hihi
2021-05-28 08:54:15 +02:00
jona345e 921c1ed876 update game jame 2021-05-07 12:30:02 +02:00
jona345e e82588b955 Merge remote-tracking branch 'origin/main' into main 2021-05-07 12:25:34 +02:00
Ida Tiegel 43d47fb2aa Update 2021-05-07 12:24:07 +02:00
jona345e 4f2cb208fd test 2021-05-05 08:39:27 +02:00
Ida Tiegel 00f6020dbc Update Index.html 2021-05-05 08:32:16 +02:00
Ida Tiegel 3e91dd77b5 Update 2021-05-05 08:25:01 +02:00
Jacob Søfeldt 2b08ef3e07 upload file 2021-04-29 11:47:55 +02:00
Jacob Søfeldt 87830d0a9e addGameJam fix 2021-04-26 11:16:37 +02:00
26 changed files with 2118 additions and 1831 deletions
@@ -13,9 +13,12 @@ if (isset($_GET['gameDataId'])) {
$registrationIds = Registration::where("group_id", $_GET['groupId'])->pluck("game_data_id")->toArray(); $registrationIds = Registration::where("group_id", $_GET['groupId'])->pluck("game_data_id")->toArray();
$openGameDataStream = GameData::whereIn("id", $registrationIds)->get(); $openGameDataStream = GameData::whereIn("id", $registrationIds)->get();
} elseif (isset($_GET['gameJamId'])) { } elseif (isset($_GET['gameJamId'])) {
$gameDataIds = Group::where("game_jam_id", $_GET['gameJamId'])->pluck("game_data_id")->toArray(); $gameDataIds = Registration::where("game_jam_id", $_GET['gameJamId'])->pluck("game_data_id")->toArray();
$openGameDataStream = GameData::whereIn("id", $gameDataIds)->get(); $openGameDataStream = GameData::whereIn("id", $gameDataIds)->get();
} else { } elseif (isset($_GET["newest"])){
$openGameDataStream = GameData::all()->sortByDesc("updated_at")->take($_GET["newest"]);
}
else {
$openGameDataStream = GameData::all(); $openGameDataStream = GameData::all();
} }
@@ -38,19 +38,30 @@ if (isLogin()) {
$gameData->game_name = $title; $gameData->game_name = $title;
if (isset($gameData) && $gameFileError === 0) { if (isset($gameData) && $gameFileError === 0) {
unlink("../../Games/" . $gameData->game_link); if(unlink("../../Games/" . $gameData->game_link)){
$gameData->game_link = ZipFileHandler($gameFileName, $gameFileTmp); $gameData->game_link = ZipFileHandler($gameFileName, $gameFileTmp);
}else{
http_response_code(500);
exit();
}
} }
$gameData->description = $desc; $gameData->description = $desc;
if (isset($thumbnail) && $thumbnailFileError === 0) { if (isset($thumbnail) && $thumbnailFileError === 0) {
unlink("../../../Frontend/images/" . $gameData->img);
$gameData->img = imagesFileHandler($thumbnailFileName, $thumbnailFileTmp); if(unlink("../../../Frontend/images/" . $gameData->img)){
$gameData->img = imagesFileHandler($thumbnailFileName, $thumbnailFileTmp);
}else{
http_response_code(500);
exit();
}
} }
$gameData->is_web_Based = $isWebBased; $gameData->is_web_Based = $isWebBased;
if (!$gameData->save()) { if (!$gameData->save()) {
http_response_code(500); http_response_code(500);
} else { } else {
http_response_code(201); http_response_code(200);
} }
} else { } else {
+1 -1
View File
@@ -23,7 +23,7 @@ if (isLogin()) {
echo json_encode(["message" => "gameJam not found"]); echo json_encode(["message" => "gameJam not found"]);
exit(); exit();
} }
$registration = Registration::where('game_jam_id', $gameJam->id)->where("group_id", $group->id)->frist(); $registration = Registration::where('game_jam_id', $gameJam->id)->where("group_id", $group->id)->first();
if ($registration === null) { if ($registration === null) {
http_response_code(401); http_response_code(401);
echo json_encode(["message" => "group not registered for that game jam"]); echo json_encode(["message" => "group not registered for that game jam"]);
+14 -1
View File
@@ -11,7 +11,20 @@ use Backend\Models\GameJam;
if (isset($_GET['gameJamId'])) { if (isset($_GET['gameJamId'])) {
$dbValue = GameJam::find($_GET['gameJamId']); $dbValue = GameJam::find($_GET['gameJamId']);
} else { }elseif (isset($_GET['hasEnded'])){
$hasEnded = $_GET['hasEnded'];
if($hasEnded == 0 OR $hasEnded == 1){
if ($hasEnded){
$dbValue = GameJam::where("is_finished",1)->get();
}else{
$dbValue = GameJam::where("is_finished",0)->get();
}
}
else{
$dbValue = GameJam::all();
}
}
else {
$dbValue = GameJam::all(); $dbValue = GameJam::all();
} }
+3 -3
View File
@@ -6,12 +6,12 @@ use \Backend\Models\KeyWord;
use \Backend\Models\GameJam; use \Backend\Models\GameJam;
use Backend\Models\Registration; use Backend\Models\Registration;
if (!isAdmin()) { if (isAdmin()) {
if (isset($_GET['genKeyWord'])) { if (isset($_GET['gameJamId'])) {
$gameJamId = $_GET['gameJamId']; $gameJamId = $_GET['gameJamId'];
$game_jam = GameJam::find($gameJamId); $game_jam = GameJam::find($gameJamId);
$all_registration_in_game_jam_id = Registration::where("game_jam_id", $game_jam->id)->pluck("id")->toArray(); $all_registration_in_game_jam_id = Registration::where("game_jam_id", $game_jam->id)->pluck("id")->toArray();
$find_all_keywords = KeyWord::whereIn("group_id", $all_registration_in_game_jam_id)->inRandomOrder()->take(6)->get(); $find_all_keywords = KeyWord::whereIn("registration_id", $all_registration_in_game_jam_id)->inRandomOrder()->take(6)->get();
$game_jam->key_word = $find_all_keywords->first()->key_word; $game_jam->key_word = $find_all_keywords->first()->key_word;
if (!$game_jam->save()) { if (!$game_jam->save()) {
http_response_code(500); http_response_code(500);
+6 -6
View File
@@ -7,20 +7,20 @@ use Backend\Models\Registration;
use Backend\Models\Group; use Backend\Models\Group;
use Backend\Models\KeyWord; use Backend\Models\KeyWord;
session_start();
if (isLogin()) { if (isLogin()) {
if (isset($_POST['submitKeyWord'])) { if (isset($_POST['submitKeyWord'])) {
//Find the group //Find the group
$group = groupViaToken($_SESSION['token']); $group = groupViaToken($_SESSION['token']);
if($gameJam = GameJam::find($_POST["gameJamId"]) === null){ if(!$gameJam = GameJam::find($_POST['gameJamId'])){
http_response_code(400); http_response_code(400);
echo json_encode(["message" => "gameJam not found"]); echo json_encode(["message" => "gameJam not found"]);
exit(); exit();
} }
$registration = Registration::where('game_jam_id', $gameJam->id)->where("group_id", $group->id)->frist(); //var_dump($gameJam);
if ($registration === null) {
$registration = Registration::where('game_jam_id', $gameJam->id)->where("group_id", $group->id)->first();
if (!$registration) {
http_response_code(401); http_response_code(401);
echo json_encode(["message" => "group not registered for that game jam"]); echo json_encode(["message" => "group not registered for that game jam"]);
exit(); exit();
@@ -33,7 +33,7 @@ if (isLogin()) {
$keyword = new KeyWord(); $keyword = new KeyWord();
//Take the keyWord the user typed and set it equal to the keyword valuable //Take the keyWord the user typed and set it equal to the keyword valuable
$keyword->key_word = $_POST['key_word']; $keyword->key_word = $_POST['keyWord'];
//Make foreign key from the groups table to the keyWords table //Make foreign key from the groups table to the keyWords table
$keyword->registration()->associate($registration); $keyword->registration()->associate($registration);
+2 -1
View File
@@ -13,7 +13,8 @@ Capsule::schema()->create("game_jams", function (Blueprint $table) {
$table->dateTime("start_time"); $table->dateTime("start_time");
$table->dateTime("end_time"); $table->dateTime("end_time");
$table->string("key_word")->nullable(); $table->string("key_word")->nullable();
$table->text("description")->nullable(); $table->text("description");
$table->boolean("is_finished")->default(false);
$table->timestamps(); $table->timestamps();
}); });
+1 -1
View File
@@ -10,7 +10,7 @@ use Illuminate\Support\Facades\Schema;
Capsule::schema()->create("key_words", function (Blueprint $table) { Capsule::schema()->create("key_words", function (Blueprint $table) {
$table->id(); $table->id();
$table->string('key_word'); $table->string('key_word');
$table->foreignId("registrations_id")->constrained("registrations"); $table->foreignId("registration_id")->constrained("registrations");
$table->timestamps(); $table->timestamps();
}); });
+2 -1
View File
@@ -12,7 +12,8 @@ class GameJam extends Eloquent
'start_time', 'start_time',
'end_time', 'end_time',
'key_word', 'key_word',
'description' 'description',
'is_finished'
]; ];
Binary file not shown.
+2
View File
@@ -1,9 +1,11 @@
{ {
"ExpandedNodes": [ "ExpandedNodes": [
"",
"\\Html", "\\Html",
"\\Images", "\\Images",
"\\Javascript", "\\Javascript",
"\\Styles" "\\Styles"
], ],
"SelectedNode": "\\Index.html",
"PreviewInSolutionExplorer": false "PreviewInSolutionExplorer": false
} }
+216 -123
View File
@@ -57,135 +57,228 @@
</head> </head>
<body> <body>
<div class="HeaderPanel" id="header"> <div class="HeaderPanel" id="header">
<div class="HeaderLeft"> <div class="HeaderLeft">
<a style="display: inline-block" href="../Index.html"> <a style="display: inline-block" href="../Index.html">
<i class="fas fa-arrow-left"></i> <i class="fas fa-arrow-left"></i>
</a> </a>
</div>
<div class="HeaderTitle">
<h2 style="margin-bottom: 0px">Admin Panel</h2>
</div>
</div>
<!--Opret game jam-->
<br />
<br />
<h3>Administration</h3>
<h5>Opret Game Jam</h5>
<div>
<form id="createGameJam" method="POST">
<!-- <label for="nameOfGameJam">Indtast navn på Game Jam:</label>
<input type="text" name="newGameJam" id="nameOfGameJam"> -->
<div class="FormField">
<input
type="text"
class="FormFieldInput"
placeholder="Gamejam title"
name="newGameJam"
id="GamejamTitle"
required
/>
<label for="GamejamTitle" class="FormFieldLabel">
Gamejam title
</label>
</div>
<div class="FormField">
<div id="Dates">
<input
type="date"
class="FormFieldInput"
placeholder="mm/dd/yyyy"
name="startDate"
id="startDate"
required
/>
<label for="startDate" class="FormFieldLabel" id="startDateLabel">
Start dato
</label>
<input
type="date"
class="FormFieldInput"
placeholder="mm/dd/yyyy"
name="endDate"
id="endDate"
required
/>
<label for="endDate" class="FormFieldLabel" id="endDateLabel">
Slut dato
</label>
</div> </div>
<div class="HeaderTitle">
<div class="Times"> <h2 style="margin-bottom: 0px">Admin Panel</h2>
<label for="startTime" class="FormFieldLabel" id="startTimeLabel">
Start
</label>
<input
type="text"
class="FormFieldInput"
placeholder="hh:mm"
name="startTime"
id="startTime"
required
/>
<input
type="text"
class="FormFieldInput"
placeholder="hh:mm"
name="endTime"
id="endTime"
required
/>
</div> </div>
</div> </div>
<div class="FormField"> <!--Opret game jam-->
<input <br />
type="text" <br />
class="FormFieldInput"
placeholder="Emne / Keywords (Ikke obligatorisk)"
name="keyWord"
id="keyWord"
required
/>
<label for="keyWord" class="FormFieldLabel" id="keyWordLabel">
Emne / Keywords (Ikke obligatorisk)
</label>
</div>
<div class="FormField"> <h3>Administration</h3>
<textarea <h5>Opret Game Jam</h5>
class="FormFieldInput"
placeholder="Beskrivelse"
name="description"
id="Beskrivelse"
required
></textarea>
<label for="keyWord" class="FormFieldLabel" id="keyWordLabel">
Beskrivelse
</label>
</div>
<!-- <div class="form-floating"> <div class="container">
<textarea class="form-control" name="description" id="description" placeholder="Leave a comment here" id="floatingTextarea2" style="height: 100px"></textarea> <form id="createGameJam" method="POST">
<label for="floatingTextarea2">Beskrivelse</label> <div class="row">
</div> --> <div class="FormField">
<input type="text"
class="FormFieldInput"
placeholder="Gamejam title"
name="newGameJam"
id="gamejamTitle"
required />
<label for="gamejamTitle" class="FormFieldLabel">
Gamejam title
</label>
</div>
</div>
<input type="submit" name="newGameJam" id="indsend" value="Indsend" /> <div class="row row-cols-2">
</form> <div class="col" id="colDate">
</div> <div class="FormField">
<!-- Opret game jam slut --> <input type="date"
class="FormFieldInput"
placeholder="mm/dd/yyyy"
name="startDate"
id="startDate"
required />
<label for="startDate" class="FormFieldLabel" id="startDateLabel">
Start dato
</label>
</div>
</div>
<div class="col" id="colTime">
<div class="FormField">
<input type="time"
class="FormFieldInput"
placeholder="hh:mm"
name="startTime"
id="startTime"
required />
<label for="startTime" class="FormFieldLabel" id="startTimeLabel">
Start tid
</label>
</div>
</div>
<!-- Body scripts --> </div>
<script src="../Javascript/OverlayScrollbar.js"></script>
<!--<script src="../Javascript/AddEvent.js"></script>--> <div class="row row-cols-2">
<script src="../Javascript/AddGameJam.js"></script> <div class="col" id="colDate">
<!-- Body scripts end --> <div class="FormField">
<input type="date"
class="FormFieldInput"
placeholder="mm/dd/yyyy"
name="endDate"
id="endDate"
required />
<label for="endDate" class="FormFieldLabel" id="endDateLabel">
Slut dato
</label>
</div>
</div>
<div class="col" id="colTime">
<div class="FormField">
<input type="time"
class="FormFieldInput"
placeholder="hh:mm"
name="endTime"
id="endTime"
required />
<label for="endTime" class="FormFieldLabel" id="endTimeLabel">
Slut tid
</label>
</div>
</div>
</div>
<div class="FormField">
<input type="text"
class="FormFieldInput"
placeholder="Emne / Keywords (Ikke obligatorisk)"
name="keyWord"
id="keyWord" />
<label for="keyWord" class="FormFieldLabel" id="keyWordLabel">
Emne (Ikke obligatorisk)
</label>
</div>
<div class="FormField">
<textarea class="FormFieldInput"
placeholder="Beskrivelse"
name="description"
id="Beskrivelse"
required></textarea>
<label for="keyWord" class="FormFieldLabel" id="keyWordLabel">
Beskrivelse
</label>
</div>
<input type="submit" name="newGameJam" id="indsend" value="Indsend" />
</form>
</div>
<!-- Opret game jam slut -->
<hr class="GradientDivider">
<!-- updater game jam start -->
<h5>updater Game Jam</h5>
<div class="container">
<form id='UpdateGameJam' method='post'>
<section id="game-jame-update-drop-down">
</section>
<section id="game-jame-update">
<div class="row">
<div class="FormField">
<label for='UGameJamTitle' class="FormFieldLabel" id="UGameJamTitleLabel">Game Jam tittle</label>
<input type='text'
class="FormFieldInput"
placeholder="Gamejam title"
id='UGameJamTitle'
required value=""
name="gameJamName" />
</div>
</div>
<div class="row row-cols-2">
<div class="col" id="colDate">
<div class="FormField">
<label for="UStartDate" class="FormFieldLabel" id="UStartDateLabel">Start dag</label>
<input type='date'
class="FormFieldInput"
placeholder="mm/dd/yyyy"
id='UStartDate'
required name="startDate" />
</div>
</div>
<div class="col" id="colTime">
<div class="FormField">
<label for="UStartTime" class="FormFieldLabel" id="UStartTimeLabel">Start tid</label>
<input type="time"
class="FormFieldInput"
placeholder="hh:mm"
id="UStartTime"
required name="startTime" />
</div>
</div>
</div>
<div class="row row-cols-2">
<div class="col" id="colDate">
<div class="FormField">
<label for="UEndDate" class="FormFieldLabel" id="UEndDateLabel">Slut dag</label>
<input type="date"
class="FormFieldInput"
placeholder="mm/dd/yyyy"
id="UEndDate"
required name="endDate" />
</div>
</div>
<div class="col" id="colTime">
<div class="FormField">
<label for="UEndTime" class="FormFieldLabel" id="UEndTimeLabel">slut tid</label>
<input type="time"
Class="FormFieldInput"
placeholder="hh:mm"
id="UEndTime"
required name="endTime" />
</div>
</div>
</div>
<div class="FormField">
<label for="UKeyWord" class="FormFieldLabel" id="UKeyWordLabel">Emne(Ikke obligatorisk)</label>
<input type="text"
class="FormFieldInput"
placeholder="Emne / Keywords (Ikke obligatorisk)"
id="UKeyWord"
name="keyWord" />
</div>
<div class="FormField">
<label for="UKeyWord" class="FormFieldLabel" id="UDescriptionLabel">Beskrivelse</label>
<textarea class="FormFieldInput"
placeholder="Beskrivelse"
id="UDescription"
required name="description"></textarea>
</div>
<input type="submit"
value="set"
name="updateGameJam"
id="updateGameJam" />
</section>
</form>
</div>
<!-- Body scripts -->
<script src="../Javascript/OverlayScrollbar.js"></script>
<!--<script src="../Javascript/AddEvent.js"></script>-->
<script src="../Javascript/AddGameJam.js"></script>
<!-- Body scripts end -->
<script src="../Javascript/AdminPageScript.js"></script>
</body> </body>
</html> </html>
+80
View File
@@ -267,6 +267,86 @@
</div> </div>
</div> </div>
</section> </section>
<section>
<form>
<div class="row">
<div class="col">
<div class="mb-3">
<label for="List1" class="form-label">GameJam</label>
<input
class="form-control"
list="datalistOptions"
id="List1"
placeholder="Type to search..."
/>
<datalist id="datalistOptions">
<option value="text"></option>
</datalist>
</div>
</div>
<div class="col">
<div class="mb-3">
<label for="Text1" class="form-label">Title</label>
<input type="text" class="form-control" id="Text1" required />
</div>
</div>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="Switch1" />
<label class="form-check-label" for="Switch1"
>Er det et web spille?</label
>
</div>
<div class="row">
<div class="col">
<div class="mb-3">
<div>
<label for="formFile1" class="form-label">Game file</label>
<input
class="form-control form-control-sm"
type="file"
id="formFile1"
accept=".zip"
required
/>
</div>
<div class="mb-3 pt-2">
<label for="formFile2" class="form-label"
>Thumbnail file</label
>
<input
class="form-control form-control-sm"
type="file"
id="formFile2"
aria-describedby="fileHelp"
accept="image/*"
/>
<div id="fileHelp" class="form-text">
Thumbnail is optional.
</div>
</div>
</div>
</div>
<div class="col">
<div class="mb-3">
<label for="Text2" class="form-label">Description</label>
<textarea
class="form-control"
id="Text2"
rows="3"
required
></textarea>
</div>
</div>
</div>
<div class="col-12 d-flex justify-content-end">
<button type="submit" class="btn btn-primary btn-lg">
Submit
</button>
</div>
</form>
</section>
</div> </div>
</div> </div>
</body> </body>
+47
View File
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<div class="col-sm">
<!--Game Jam-->
<button type="button" class="collapsed" data-bs-toggle="collapse" data-bs-target="#gamejam-1" id="activeGameJam" aria-expanded="false">Game Jam</button>
<div class="collapse" id="gamejam-1" style="">
<!--Game-->
<button type="button" class="collapsed" data-bs-toggle="collapse" data-bs-target="#gamejam-1-game-0" id="gameDataId" aria-expanded="false">Spil</button>
<div class="collapse" id="gamejam-1-game-0" style="">
<!--Vote-->
<button type="submit" data-bs-toggle="modal" data-bs-target="#voteAndComment" id="oneVote">Vote</button>
</div>
<!--Game-->
<button type="button" class="collapsed" data-bs-toggle="collapse" data-bs-target="#gamejam-1-game-1" id="gameDataId" aria-expanded="false">Spil</button>
<div class="collapse" id="gamejam-1-game-1" style="">
<!--Vote-->
<button type="submit" data-bs-toggle="modal" data-bs-target="#voteAndComment" id="oneVote">Vote</button>
</div>
<!--Game-->
<button type="button" class="" data-bs-toggle="collapse" data-bs-target="#gamejam-1-game-2" id="gameDataId">Spil</button>
<div class="collapse" id="gamejam-1-game-2">
<!--Vote-->
<button type="submit" data-bs-toggle="modal" data-bs-target="#voteAndComment" id="oneVote">Vote</button>
</div>
<!--Game-->
<button type="button" class="" data-bs-toggle="collapse" data-bs-target="#gamejam-1-game-3" id="gameDataId">Spil</button>
<div class="collapse" id="gamejam-1-game-3">
<!--Vote-->
<button type="submit" data-bs-toggle="modal" data-bs-target="#voteAndComment" id="oneVote">Vote</button>
</div>
<!--Game-->
<button type="button" class="" data-bs-toggle="collapse" data-bs-target="#gamejam-1-game-4" id="gameDataId">Spil</button>
<div class="collapse" id="gamejam-1-game-4">
<!--Vote-->
<button type="submit" data-bs-toggle="modal" data-bs-target="#voteAndComment" id="oneVote">Vote</button>
</div>
</div>
</div>
</body>
</html>
+907 -1158
View File
File diff suppressed because it is too large Load Diff
+14 -22
View File
@@ -4,32 +4,24 @@ $(document).ready(function () {
$("#createGameJam").submit(function (e) { $("#createGameJam").submit(function (e) {
let URL = "/Backend/Controllers/GameJam/NewGameJam.php"; let URL = "/Backend/Controllers/GameJam/NewGameJam.php";
let form = $("#createGameJam")[0]; const params = new URLSearchParams();
let formData = new FormData(form); params.append("newGameJam", document.getElementById("indsend").value);
params.append("gameJamName", document.getElementById("gamejamTitle").value);
let id = $("#indsend").attr("name"); params.append("startDate", document.getElementById("startDate").value);
let value = $("#indsend").val(); params.append("endDate", document.getElementById("endDate").value);
params.append("startTime", document.getElementById("startTime").value);
let startTime = $("#startTime").text(); params.append("endTime", document.getElementById("endTime").value);
let endTime = $("#endTime").text(); params.append("keyWord", document.getElementById("keyWord").value);
params.append("description", document.getElementById("Beskrivelse").value);
formData.append(id, value);
formData.set("startTime", startTime);
formData.append("endTime", endTime);
axios axios
.post(URL, formData, { .post(URL, params)
header: "multipart/form-data", .then(function (response) {
console.log(response);
}) })
.then((res) => { .catch(function (error) {
if (res.status === 200) { console.log(error);
console.log("New Game Jam Created!");
}
})
.catch((error) => {
console.log(error.response);
}); });
e.preventDefault(); e.preventDefault();
}); });
}); });
+46
View File
@@ -0,0 +1,46 @@
async function getGamejames(id = 0) {
if(id !== 0){
var url = "http://localhost/Game-Jaming/Backend/Controllers/GameJam/GetGameJam.php?gameJamId="+id;
}else {
var url = "http://localhost/Game-Jaming/Backend/Controllers/GameJam/GetGameJam.php";
}
let response = await axios.get(url);
return response.data.data
}
async function updateGameDropdown() {
var UGJDropDown = document.getElementById("game-jame-update-drop-down");
var jsondata;
var UGJDropDownHtml = "<label for='gameJamesDropdown'>vælge et game Jam:</label>"+
"<select onchange='changeGameJamUpdate()' id='gameJamesDropdown' name='gameJamId'>";
await getGamejames().then((data) =>
data.forEach(val =>
UGJDropDownHtml += " <option value='"+val.id+"'>"+val.name+"</option>"
));
UGJDropDownHtml += "</select>";
//console.log(UGJDropDownHtml);
UGJDropDown.innerHTML = UGJDropDownHtml;
changeGameJamUpdate()
}
async function changeGameJamUpdate() {
var val = document.getElementById("gameJamesDropdown").value;
await getGamejames(parseInt(val)).then(function (data) {
document.getElementById("UGameJamTitle").value = data.name;
var startDateTime = data.start_time.split(" ");
document.getElementById("UStartDate").value = startDateTime[0];
document.getElementById("UStartTime").value = startDateTime[1];
var endDateTime = data.end_time.split(" ");
document.getElementById("UEndDate").value = endDateTime[0];
document.getElementById("UEndTime").value = endDateTime[1];
document.getElementById("UKeyWord").value = data.key_word;
document.getElementById("UDescription").value = data.description;
}
);
}
updateGameDropdown();
+25
View File
@@ -0,0 +1,25 @@
// JavaScript source code
var numberOfGameJam = 6
var oldGameJam = document.getElementById("oldGameJam");
var html = '<div class="row">'
var numberOfGame = 5
//game jams
for (let i = 1; i <= numberOfGameJam; i++) {
html += '<div class="col-sm">' +
'<button type="button" class="Collapsible" data-bs-toggle="collapse" data-bs-target="#oldGame-' + i + '">Kategori</button>' +
'<div class="collapse" id="oldGame-' + i + '">'
//spil
for (let j = 0; j < numberOfGame; j++) {
html += '<button type="button" class="" data-bs-toggle="collapse" data-bs-target="#oldGame-' + i + '-game-' + j + '" id="gameDataId">Spil</button>';
}
html += '</div>'
html += '</div>'
if ((i % 3 == 0) && (i != numberOfGameJam)) {
html += '</div><div class="row">'
}
}
html += '</div>'
oldGameJam.innerHTML += html;
+27
View File
@@ -1 +1,28 @@
// JavaScript source code // JavaScript source code
var numberOfGameJam = 6
var gameJamVote = document.getElementById("gameJamVote");
var html = '<div class="row">'
//game jams
for (let i = 1; i <= numberOfGameJam; i++) {
html += '<div class="col-sm">'+
'<button type="button" class="" data-bs-toggle="collapse" data-bs-target="#gamejam-'+i+'" id="activeGameJam">Game Jam</button>' +
'<div class="collapse" id="gamejam-' + i +'">'
//spil
for (let j = 0; j < 5; j++) {
html += '<button type="button" class="" data-bs-toggle="collapse" data-bs-target="#gamejam-' + i + '-game-' + j +'" id="gameDataId">Spil</button>' +
'<div class="collapse" id="gamejam-' + i +'-game-'+j+'">' +
'<button type="submit" data-bs-toggle="modal" data-bs-target="#voteAndComment" id="oneVote">Vote</button>' +
'</div>'
}
html += '</div>'
html += '</div>'
if ((i % 3 == 0) && (i != numberOfGameJam)) {
html += '</div><div class="row">'
}
}
html += '</div>'
gameJamVote.innerHTML += html;
+29
View File
@@ -0,0 +1,29 @@
$(document).ready(function () {
axios.defaults.baseURL = "http://localhost/Game-Jaming";
$("#uploadFile").submit(function (e) {
let URL = "/Backend/Controllers/FileHandler/upload.php";
const params = new URLSearchParams();
params.append("submitUpload", document.getElementById("indsend1").value);
params.append(
"gameJamId",
document.getElementById("datalistOptions").value
);
params.append("gameTitle", document.getElementById("Text1").value);
params.append("description", document.getElementById("Text2").value);
params.append("gameFile", document.getElementById("formFile1").value);
params.append("thumbnailFile", document.getElementById("formFile2").value);
params.append("isWebBased", document.getElementById("Switch1").checked);
axios
.post(URL, params)
.then(function (response) {
console.log(response);
})
.catch(function (error) {
console.log(error);
});
e.preventDefault();
});
});
+180 -70
View File
@@ -1,25 +1,30 @@
body { body {
text-align: center; text-align: center;
background-color: #121B26;
color: #F2E6D8;
} }
.HeaderPanel { .HeaderPanel {
position: fixed; position: fixed;
overflow: hidden; overflow: hidden;
background-color: rgb(33, 37, 41); background-color: #59142D;
padding: 10px 10px; padding: 10px 10px;
top: 0; top: 0;
width: 100%; width: 100%;
} }
.HeaderPanel a { .HeaderPanel a {
text-align: center; text-align: center;
color: rgba(255, 255, 255, .75); color: #F2E6D8;
padding: 6px; padding: 6px;
text-decoration: none; text-decoration: none;
font-size: 18px; font-size: 18px;
line-height: 25px; line-height: 25px;
border-radius: 4px; border-radius: 4px;
} }
.HeaderPanel a:hover {
color: #BF7D65;
}
.HeaderTitle { .HeaderTitle {
text-align: center; text-align: center;
@@ -32,10 +37,19 @@ body {
float: left; float: left;
} }
h5{
padding-bottom: 30px;
}
/*Create game jam*/ /*Create game jam*/
#createGameJam{
justify-content: center; .container{
display: grid; height: 70vh !important;
}
#createGameJam {
/*justify-content: center;*/
display: grid;
width: 90%;
} }
#createGameJam input{ #createGameJam input{
@@ -48,10 +62,10 @@ body {
} }
#startDate { #startDate {
width: 32.5%; /*width: 32.5%;*/
display: inline-block !important; display: inline-block !important;
margin-right: 2.5%; margin-right: 2.5%;
float: left;
} }
#startDateLabel { #startDateLabel {
@@ -60,49 +74,50 @@ body {
} }
#endDate { #endDate {
width: 32.5%; /*width: 32.5%;
*/
display: inline-block !important; display: inline-block !important;
margin-left: 2.5%;
margin-right: 2.5%; margin-right: 2.5%;
float: left; float: left;
} }
#endDateLabel { #endDateLabel {
display: inline-block; display: inline-block;
left: 37.5%; left: 0;
/* left: 37.5%;
*/
}
#colDate{
width: 60%;
}
#colTime{
width: 40%;
} }
#startTime { #startTime {
width: 12.5%; /* width: 12.5%;
display: inline-block !important; */
/* display: inline-block !important;*/
margin-right: 2.5%; margin-right: 2.5%;
float: left; float: left;
justify-content: center;
display: grid;
} }
#startTimeLabel { #startTimeLabel {
display: inline-block; display: inline-block;
left: 72.5%; left: 0;
} }
#endTime { #endTime {
width: 12.5%;
display: inline-block !important; display: inline-block !important;
float: left; float: left;
} }
#endTimeLabel { #endTimeLabel {
display: inline-block; display: inline-block;
left: 87.5%; left: 0;
}
#description {
background-color: rgb(18, 18, 18);
color: rgba(255, 255, 255, .55);
border-radius: 15px;
border: double;
width:400px;
height:250px;
} }
#Beskrivelse { #Beskrivelse {
@@ -110,31 +125,113 @@ body {
} }
#indsend { #indsend {
border-radius: 15px; border: 0;
color: rgba(255, 255, 255, .55); background: none;
background-color: rgb(18, 18, 18); display: block;
border: double; margin: 20px auto;
text-align: center;
border: 2px solid rgb(52, 152, 219);
padding: 10px 10px;
outline: none;
color: #F2E6D8;
border-radius: 24px;
transition: 0.25s;
width: 50%;
} }
#indsend:hover {
color: #BF7D65;
}
#row{
width:90%;
}
/*Create Game Jam end*/ /*Create Game Jam end*/
/*Update Game Jam start*/
#game-jame-update {
display: grid !important;
width: 90%;
}
#UGameJamTitle {
display: grid;
width: 90%;
}
#UStartDate {
display: inline-block !important;
margin-right: 2.5%;
}
#UStartDateLabel {
display: inline-block;
left: 0;
}
#UStartTime {
margin-right: 2.5%;
float: left;
justify-content: center;
display: grid;
}
#UStartTimeLabel {
display: inline-block;
left: 0;
}
#UEndDate {
display: inline-block !important;
margin-right: 2.5%;
float: left;
}
#UEndDateLabel {
display: inline-block;
left: 0;
}
#UEndTime {
display: inline-block !important;
float: left;
}
#endTimeLabel {
display: inline-block;
left: 0;
}
#UKeyWord {
margin-bottom: 10px;
}
#updateGameJam{
border: 0;
background: none;
display: block;
margin: 20px auto;
text-align: center;
border: 2px solid rgb(52, 152, 219);
padding: 10px 10px;
outline: none;
color: #F2E6D8;
border-radius: 24px;
transition: 0.25s;
width: 50%;
}
#updateGameJam:hover {
color: #BF7D65;
}
/*Update Game Jam slut*/
.FormField { .FormField {
position: relative; position: relative;
padding: 15px 0 0; padding: 15px 0 0;
margin-top: 10px; margin-top: 10px;
} }
.FormFieldInput { .FormFieldInput {
font-family: inherit; font-family: inherit;
width: 100%; width: 100%;
border: 0; border: 0;
border-bottom: 2px solid #9b9b9b; border-bottom: 2px solid #9b9b9b;
outline: 0; outline: 0;
font-size: 1.3rem; font-size: 1.3rem;
color: #fff; color: #fff;
padding: 7px 0; padding: 7px 0;
background: transparent; background: transparent;
transition: border-color 0.2s; transition: border-color 0.2s;
} }
.FormFieldInput::placeholder { .FormFieldInput::placeholder {
@@ -148,32 +245,45 @@ body {
} }
.FormFieldLabel { .FormFieldLabel {
position: absolute; position: absolute;
top: 0; top: 0;
display: block; display: block;
transition: 0.2s; transition: 0.2s;
font-size: 1rem; font-size: 1rem;
color: #9b9b9b; color: #F2E6D8;
} }
.FormFieldInput:focus { .FormFieldInput:focus {
padding-bottom: 6px; padding-bottom: 6px;
font-weight: 700; font-weight: 700;
border-width: 3px; border-width: 3px;
border-image: linear-gradient(to right, #11998e, #38ef7d); border-image: linear-gradient(to right, #59142D, #FF142D);
border-image-slice: 1; /*linear-gradient(to right, #11998e, #38ef7d);*/
} border-image-slice: 1;
.FormFieldInput:focus ~ .FormFieldLabel {
position: absolute;
top: 0;
display: block;
transition: 0.2s;
font-size: 1rem;
color: #11998e;
font-weight: 700;
} }
.FormFieldInput:focus ~ .FormFieldLabel {
position: absolute;
top: 0;
display: block;
transition: 0.2s;
font-size: 1rem;
color: #BF7D65;
font-weight: 700;
}
.FormFieldInput:required, .FormFieldInput:required,
.FormFieldInput:invalid { .FormFieldInput:invalid {
box-shadow: none; box-shadow: none;
}
.GradientDivider {
margin: 16px 0 16px 0;
display: block;
border: none;
height: 3px !important;
background: #59142D !important;
background: linear-gradient( to right, #121B26, #59142D, #94153d, #59142D, #121B26) !important;
opacity: 1;
} }
+421 -370
View File
File diff suppressed because it is too large Load Diff
+14 -10
View File
@@ -1,7 +1,7 @@
body, body,
html { html {
background-color: rgb(18, 18, 18) !important; background-color: #121B26 !important;
color: rgba(255, 255, 255, .55) !important; color: #F2E6D8 !important;
font-family: Arial, Helvetica, sans-serif !important; font-family: Arial, Helvetica, sans-serif !important;
margin: 40px !important; margin: 40px !important;
padding: 10px !important; padding: 10px !important;
@@ -19,14 +19,14 @@ html {
#isWebBased { #isWebBased {
border: 0; border: 0;
background: none; background-color: transparent;
display: block; display: block;
margin: 20px auto; margin: 20px auto;
text-align: center; text-align: center;
border: 2px solid rgb(52, 152, 219); border: 2px solid #2A558C;
padding: 10px 10px; padding: 10px 10px;
outline: none; outline: none;
color: rgba(255, 255, 255, .55); color: #F2E6D8;
border-radius: 24px; border-radius: 24px;
transition: 0.25s; transition: 0.25s;
position: static; position: static;
@@ -34,17 +34,21 @@ html {
display: inline; display: inline;
left: 27vw; left: 27vw;
} }
#isWebBased:hover,
#gameFil:hover {
color: #BF7D65;
}
#gameFil { #gameFil {
border: 0; border: 0;
background: none; background-color: transparent;
display: block; display: block;
margin: 20px auto; margin: 20px auto;
text-align: center; text-align: center;
border: 2px solid rgb(52, 152, 219); border: 2px solid #2A558C;
padding: 10px 10px; padding: 10px 10px;
outline: none; outline: none;
color: rgba(255, 255, 255, .55); color: #F2E6D8;
border-radius: 24px; border-radius: 24px;
transition: 0.25s; transition: 0.25s;
position: static; position: static;
@@ -81,7 +85,7 @@ html {
display: block; display: block;
border: none; border: none;
height: 3px !important; height: 3px !important;
background: rgb(0, 113, 185) !important; background: #59142D !important;
background: linear-gradient(to right, rgb(18, 18, 18), rgb(0, 113, 185), rgb(38, 171, 255), rgb(0, 113, 185), rgb(18, 18, 18)) !important; background: linear-gradient( to right, #121B26, #59142D, #94153d, #59142D, #121B26) !important;
opacity: 1; opacity: 1;
} }
+17 -14
View File
@@ -51,8 +51,8 @@
width: 30px; width: 30px;
height: 30px; height: 30px;
text-align: center; text-align: center;
background: #4E443C; background: #59142D;
color: #fff; color: #F2E6D8;
text-decoration: none; text-decoration: none;
text-shadow: 0 0 1px #000; text-shadow: 0 0 1px #000;
font: 24px/27px Arial, sans-serif; font: 24px/27px Arial, sans-serif;
@@ -63,10 +63,14 @@
-moz-box-shadow: 0 0 4px #F0EFE7; -moz-box-shadow: 0 0 4px #F0EFE7;
box-shadow: 0 0 4px #F0EFE7; box-shadow: 0 0 4px #F0EFE7;
} }
.jcarousel-control-prev:hover,
.jcarousel-control-next:hover {
color: #BF7D65;
}
.jcarousel-control-prev { .jcarousel-control-prev {
left: 15px; left: 15px;
} }
.jcarousel-control-next { .jcarousel-control-next {
right: 15px; right: 15px;
@@ -106,12 +110,11 @@
box-shadow: 0 0 2px #4E443C; box-shadow: 0 0 2px #4E443C;
} }
.jcarousel-pagination a.active { .jcarousel-pagination a.active {
background: #4E443C; background: #59142D;
color: #fff; color: #F2E6D8;
opacity: 1; opacity: 1;
-webkit-box-shadow: 0 0 2px #F0EFE7;
-webkit-box-shadow: 0 0 2px #F0EFE7; -moz-box-shadow: 0 0 2px #F0EFE7;
-moz-box-shadow: 0 0 2px #F0EFE7; box-shadow: 0 0 2px #F0EFE7;
box-shadow: 0 0 2px #F0EFE7; }
}
Generated
+39 -39
View File
@@ -103,16 +103,16 @@
}, },
{ {
"name": "illuminate/collections", "name": "illuminate/collections",
"version": "v8.38.0", "version": "v8.40.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/illuminate/collections.git", "url": "https://github.com/illuminate/collections.git",
"reference": "21690cd5591f2d42d792e5e4a687f9beba829f1d" "reference": "deccb956d38710f3f8baf36dd876c3fa1585ec22"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/illuminate/collections/zipball/21690cd5591f2d42d792e5e4a687f9beba829f1d", "url": "https://api.github.com/repos/illuminate/collections/zipball/deccb956d38710f3f8baf36dd876c3fa1585ec22",
"reference": "21690cd5591f2d42d792e5e4a687f9beba829f1d", "reference": "deccb956d38710f3f8baf36dd876c3fa1585ec22",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -153,11 +153,11 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2021-04-14T11:48:08+00:00" "time": "2021-04-22T21:08:09+00:00"
}, },
{ {
"name": "illuminate/container", "name": "illuminate/container",
"version": "v8.38.0", "version": "v8.40.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/illuminate/container.git", "url": "https://github.com/illuminate/container.git",
@@ -208,16 +208,16 @@
}, },
{ {
"name": "illuminate/contracts", "name": "illuminate/contracts",
"version": "v8.38.0", "version": "v8.40.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/illuminate/contracts.git", "url": "https://github.com/illuminate/contracts.git",
"reference": "5764f703ea8f74ced163125d810951cd5ef2b7e1" "reference": "5152041a5c4ac4dbebb3c8ee72d05666c592ae08"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/illuminate/contracts/zipball/5764f703ea8f74ced163125d810951cd5ef2b7e1", "url": "https://api.github.com/repos/illuminate/contracts/zipball/5152041a5c4ac4dbebb3c8ee72d05666c592ae08",
"reference": "5764f703ea8f74ced163125d810951cd5ef2b7e1", "reference": "5152041a5c4ac4dbebb3c8ee72d05666c592ae08",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -252,20 +252,20 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2021-04-01T13:09:31+00:00" "time": "2021-04-23T13:31:10+00:00"
}, },
{ {
"name": "illuminate/database", "name": "illuminate/database",
"version": "v8.38.0", "version": "v8.40.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/illuminate/database.git", "url": "https://github.com/illuminate/database.git",
"reference": "03c0525b693587f877f4d80dcc55597528c98fc0" "reference": "742c062a6447278f6b6f8622bd649173ed51fa3a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/illuminate/database/zipball/03c0525b693587f877f4d80dcc55597528c98fc0", "url": "https://api.github.com/repos/illuminate/database/zipball/742c062a6447278f6b6f8622bd649173ed51fa3a",
"reference": "03c0525b693587f877f4d80dcc55597528c98fc0", "reference": "742c062a6447278f6b6f8622bd649173ed51fa3a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -320,11 +320,11 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2021-04-17T17:53:05+00:00" "time": "2021-04-28T14:34:49+00:00"
}, },
{ {
"name": "illuminate/macroable", "name": "illuminate/macroable",
"version": "v8.38.0", "version": "v8.40.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/illuminate/macroable.git", "url": "https://github.com/illuminate/macroable.git",
@@ -370,16 +370,16 @@
}, },
{ {
"name": "illuminate/support", "name": "illuminate/support",
"version": "v8.38.0", "version": "v8.40.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/illuminate/support.git", "url": "https://github.com/illuminate/support.git",
"reference": "735391f31e145aad4f7aff3d9736ef70452dd1fe" "reference": "ce1682ef73ab28a61be01c24ec5b090bdf2c3256"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/illuminate/support/zipball/735391f31e145aad4f7aff3d9736ef70452dd1fe", "url": "https://api.github.com/repos/illuminate/support/zipball/ce1682ef73ab28a61be01c24ec5b090bdf2c3256",
"reference": "735391f31e145aad4f7aff3d9736ef70452dd1fe", "reference": "ce1682ef73ab28a61be01c24ec5b090bdf2c3256",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -434,20 +434,20 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2021-04-15T11:51:39+00:00" "time": "2021-04-28T12:56:25+00:00"
}, },
{ {
"name": "nesbot/carbon", "name": "nesbot/carbon",
"version": "2.46.0", "version": "2.47.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/briannesbitt/Carbon.git", "url": "https://github.com/briannesbitt/Carbon.git",
"reference": "2fd2c4a77d58a4e95234c8a61c5df1f157a91bf4" "reference": "606262fd8888b75317ba9461825a24fc34001e1e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/2fd2c4a77d58a4e95234c8a61c5df1f157a91bf4", "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/606262fd8888b75317ba9461825a24fc34001e1e",
"reference": "2fd2c4a77d58a4e95234c8a61c5df1f157a91bf4", "reference": "606262fd8888b75317ba9461825a24fc34001e1e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -527,7 +527,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-02-24T17:30:44+00:00" "time": "2021-04-13T21:54:02+00:00"
}, },
{ {
"name": "psr/container", "name": "psr/container",
@@ -630,16 +630,16 @@
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
"version": "v5.2.6", "version": "v5.2.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/console.git", "url": "https://github.com/symfony/console.git",
"reference": "35f039df40a3b335ebf310f244cb242b3a83ac8d" "reference": "90374b8ed059325b49a29b55b3f8bb4062c87629"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/35f039df40a3b335ebf310f244cb242b3a83ac8d", "url": "https://api.github.com/repos/symfony/console/zipball/90374b8ed059325b49a29b55b3f8bb4062c87629",
"reference": "35f039df40a3b335ebf310f244cb242b3a83ac8d", "reference": "90374b8ed059325b49a29b55b3f8bb4062c87629",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -707,7 +707,7 @@
"terminal" "terminal"
], ],
"support": { "support": {
"source": "https://github.com/symfony/console/tree/v5.2.6" "source": "https://github.com/symfony/console/tree/v5.2.7"
}, },
"funding": [ "funding": [
{ {
@@ -723,7 +723,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-03-28T09:42:18+00:00" "time": "2021-04-19T14:07:32+00:00"
}, },
{ {
"name": "symfony/polyfill-ctype", "name": "symfony/polyfill-ctype",
@@ -1375,16 +1375,16 @@
}, },
{ {
"name": "symfony/translation", "name": "symfony/translation",
"version": "v5.2.6", "version": "v5.2.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/translation.git", "url": "https://github.com/symfony/translation.git",
"reference": "2cc7f45d96db9adfcf89adf4401d9dfed509f4e1" "reference": "e37ece5242564bceea54d709eafc948377ec9749"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/2cc7f45d96db9adfcf89adf4401d9dfed509f4e1", "url": "https://api.github.com/repos/symfony/translation/zipball/e37ece5242564bceea54d709eafc948377ec9749",
"reference": "2cc7f45d96db9adfcf89adf4401d9dfed509f4e1", "reference": "e37ece5242564bceea54d709eafc948377ec9749",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1448,7 +1448,7 @@
"description": "Provides tools to internationalize your application", "description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/translation/tree/v5.2.6" "source": "https://github.com/symfony/translation/tree/v5.2.7"
}, },
"funding": [ "funding": [
{ {
@@ -1464,7 +1464,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-03-23T19:33:48+00:00" "time": "2021-04-01T08:15:21+00:00"
}, },
{ {
"name": "symfony/translation-contracts", "name": "symfony/translation-contracts",
+4 -4
View File
@@ -1,7 +1,7 @@
{ {
"driver": "mysql", "driver": "mysql",
"host": "localhost", "host": "172.16.5.5",
"database": "testdb", "database": "GameJamDB",
"username": "root", "username": "ida",
"password": "" "password": "123qwe"
} }