Compare commits
No commits in common. "main" and "new_database" have entirely different histories.
main
...
new_databa
|
@ -116,4 +116,3 @@ composer.phar
|
|||
*.sqlite
|
||||
|
||||
Backend/test.php
|
||||
config/database.json
|
||||
|
|
|
@ -19,5 +19,4 @@ function makeAdminLogin(string $userName)
|
|||
'path' => '/'
|
||||
]);
|
||||
}
|
||||
//test
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ if (isset($_POST['aLogin'])) {
|
|||
if (password_verify($password, $hashedPassword)) {
|
||||
$_SESSION['userName'] = $userName;
|
||||
$_SESSION['admin'] = true;
|
||||
//$_SESSION['success'] = "You are now logged in";
|
||||
$_SESSION['success'] = "You are now logged in";
|
||||
http_response_code(200);
|
||||
makeAdminLogin($userName);
|
||||
} else {
|
||||
|
|
|
@ -8,8 +8,7 @@ if (isAdmin()) {
|
|||
if (isset($_POST["newAdmin"])) {
|
||||
$admin = new AdminUser();
|
||||
$admin->user_name = $_POST["newUsername"];
|
||||
$admin->password = password_hash($_POST["newPassword"],PASSWORD_DEFAULT);
|
||||
|
||||
$admin->password = $_POST["newPassword"];
|
||||
if ($admin->save()) {
|
||||
http_response_code(201);
|
||||
} else {
|
||||
|
|
|
@ -13,12 +13,9 @@ if (isset($_GET['gameDataId'])) {
|
|||
$registrationIds = Registration::where("group_id", $_GET['groupId'])->pluck("game_data_id")->toArray();
|
||||
$openGameDataStream = GameData::whereIn("id", $registrationIds)->get();
|
||||
} elseif (isset($_GET['gameJamId'])) {
|
||||
$gameDataIds = Registration::where("game_jam_id", $_GET['gameJamId'])->pluck("game_data_id")->toArray();
|
||||
$gameDataIds = Group::where("game_jam_id", $_GET['gameJamId'])->pluck("game_data_id")->toArray();
|
||||
$openGameDataStream = GameData::whereIn("id", $gameDataIds)->get();
|
||||
} elseif (isset($_GET["newest"])){
|
||||
$openGameDataStream = GameData::all()->sortByDesc("updated_at")->take($_GET["newest"]);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$openGameDataStream = GameData::all();
|
||||
}
|
||||
|
||||
|
|
|
@ -38,30 +38,19 @@ if (isLogin()) {
|
|||
|
||||
$gameData->game_name = $title;
|
||||
if (isset($gameData) && $gameFileError === 0) {
|
||||
if(unlink("../../Games/" . $gameData->game_link)){
|
||||
$gameData->game_link = ZipFileHandler($gameFileName, $gameFileTmp);
|
||||
}else{
|
||||
http_response_code(500);
|
||||
exit();
|
||||
}
|
||||
|
||||
unlink("../../Games/" . $gameData->game_link);
|
||||
$gameData->game_link = ZipFileHandler($gameFileName, $gameFileTmp);
|
||||
}
|
||||
$gameData->description = $desc;
|
||||
if (isset($thumbnail) && $thumbnailFileError === 0) {
|
||||
|
||||
if(unlink("../../../Frontend/images/" . $gameData->img)){
|
||||
$gameData->img = imagesFileHandler($thumbnailFileName, $thumbnailFileTmp);
|
||||
}else{
|
||||
http_response_code(500);
|
||||
exit();
|
||||
}
|
||||
|
||||
unlink("../../../Frontend/images/" . $gameData->img);
|
||||
$gameData->img = imagesFileHandler($thumbnailFileName, $thumbnailFileTmp);
|
||||
}
|
||||
$gameData->is_web_Based = $isWebBased;
|
||||
if (!$gameData->save()) {
|
||||
http_response_code(500);
|
||||
} else {
|
||||
http_response_code(200);
|
||||
http_response_code(201);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
|
|
@ -23,7 +23,7 @@ if (isLogin()) {
|
|||
echo json_encode(["message" => "gameJam not found"]);
|
||||
exit();
|
||||
}
|
||||
$registration = Registration::where('game_jam_id', $gameJam->id)->where("group_id", $group->id)->first();
|
||||
$registration = Registration::where('game_jam_id', $gameJam->id)->where("group_id", $group->id)->frist();
|
||||
if ($registration === null) {
|
||||
http_response_code(401);
|
||||
echo json_encode(["message" => "group not registered for that game jam"]);
|
||||
|
|
|
@ -11,20 +11,7 @@ use Backend\Models\GameJam;
|
|||
|
||||
if (isset($_GET['gameJamId'])) {
|
||||
$dbValue = GameJam::find($_GET['gameJamId']);
|
||||
}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 {
|
||||
} else {
|
||||
$dbValue = GameJam::all();
|
||||
}
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ if (isAdmin()) {
|
|||
|
||||
$gameJam->description = $_POST['description'];
|
||||
if ($gameJam->save()) {
|
||||
http_response_code(200);
|
||||
http_response_code(201);
|
||||
} else {
|
||||
http_response_code(500);
|
||||
}
|
||||
|
|
|
@ -15,6 +15,4 @@ if (isset($_GET["groupId"])) {
|
|||
header("Access-Control-Allow-Methods: GET");
|
||||
header("Access-Control-Allow-Headers: X-Requested-With, Content-Type, Accept");
|
||||
header('Content-Type: application/json;charset=UTF-8');
|
||||
echo json_encode(array('data' => $groups->jsonSerialize()));
|
||||
|
||||
|
||||
echo json_encode(array('data' => $groups->jsonSerialize()));
|
|
@ -10,10 +10,11 @@ if (isAdmin()) {
|
|||
$password = Password::firstWhere("group_id", $_POST['groupId']);
|
||||
if ($password) {
|
||||
$password->password = password_hash($_POST['newPassword'], PASSWORD_DEFAULT);
|
||||
echo $password;
|
||||
if (!$password->save()) {
|
||||
http_response_code(500);
|
||||
} else {
|
||||
http_response_code(200);
|
||||
http_response_code(201);
|
||||
}
|
||||
} else {
|
||||
http_response_code(400);
|
||||
|
|
|
@ -8,6 +8,9 @@ use Backend\Models\Password;
|
|||
use Backend\Models\GameJam;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
$groupName = "";
|
||||
$errors = array();
|
||||
|
||||
if (isset($_POST['regGroup'])) {
|
||||
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ if (isLogin()) {
|
|||
if (!$group->save()) {
|
||||
http_response_code(500);
|
||||
} else {
|
||||
http_response_code(200);
|
||||
http_response_code(201);
|
||||
}
|
||||
} else {
|
||||
http_response_code(400);
|
||||
|
|
|
@ -12,7 +12,7 @@ if (isLogin()) {
|
|||
if (!$password->save()) {
|
||||
http_response_code(500);
|
||||
} else {
|
||||
http_response_code(200);
|
||||
http_response_code(201);
|
||||
}
|
||||
} else {
|
||||
http_response_code(400);
|
||||
|
|
|
@ -1,29 +1,13 @@
|
|||
<?php
|
||||
|
||||
use Backend\Models\GameData;
|
||||
use Backend\Models\Vote;
|
||||
use \Backend\Models\Registration;
|
||||
|
||||
require_once "../../../bootstrap.php";
|
||||
require_once "../Group/Group.php";
|
||||
|
||||
if (isLogin()) {
|
||||
|
||||
$gameDate = GameData::find($_GET[]);
|
||||
if(!$gameDate){
|
||||
http_response_code(400);
|
||||
echo json_encode(["message" => "game data not found"]);
|
||||
exit();
|
||||
}
|
||||
$reg = Registration::where("game_data_id", $gameDate->id)->first();
|
||||
$group = groupViaToken($_SESSION['token']);
|
||||
if($reg->group_id !== $group->id){
|
||||
http_response_code(401);
|
||||
echo json_encode(["message" => "group not own game data"]);
|
||||
}
|
||||
|
||||
header('Content-Type: application/json;charset=UTF-8');
|
||||
echo json_encode(array('data' => Vote::where('game_data_id',$gameDate->id)->get()->jsonSerialize()));
|
||||
echo json_encode(array('data' => Vote::where('group_id', groupViaToken($_SESSION['token'])->id)->get()->jsonSerialize()));
|
||||
|
||||
} else {
|
||||
http_response_code(401);
|
||||
|
|
|
@ -1,20 +1 @@
|
|||
<?php
|
||||
require_once "../../../bootstrap.php";
|
||||
|
||||
use Backend\Models\Registration;
|
||||
|
||||
if(isset($_GET["registrationId"])){
|
||||
$regs = Registration::find($_GET["registrationId"]);
|
||||
} elseif (isset($_GET["groupId"])){
|
||||
$regs = Registration::where("group_id", $_GET["groupId"])->get();
|
||||
} elseif (isset($_GET["gameJamId"])){
|
||||
$regs = Registration::where("game_jam_id", $_GET["gameJamId"])->get();
|
||||
}elseif (isset($_GET["gameDataId"])){
|
||||
$regs = Registration::where("game_data_id", $_GET["gameDataId"])->get();
|
||||
}else{
|
||||
$regs = Registration::all();
|
||||
}
|
||||
header("Access-Control-Allow-Methods: GET");
|
||||
header("Access-Control-Allow-Headers: X-Requested-With, Content-Type, Accept");
|
||||
header('Content-Type: application/json;charset=UTF-8');
|
||||
echo json_encode(array('data' => $regs->jsonSerialize()));
|
|
@ -1,32 +1 @@
|
|||
<?php
|
||||
require_once "../../../bootstrap.php";
|
||||
require_once "../Group/Group.php";
|
||||
|
||||
use Backend\Models\Registration;
|
||||
|
||||
if(isLogin()){
|
||||
if(isset($_POST['newReg'])){
|
||||
$group = groupViaToken($_SESSION['token']);
|
||||
$gameJam = \Backend\Models\GameJam::find($_POST["gameJamId"]);
|
||||
if(Registration::where("group_id", $group->id)->where("game_jam_id", $gameJam->id)->count() === 0){
|
||||
$reg = new Registration();
|
||||
$reg->group_amount = $_POST["groupAmount"];
|
||||
$reg->group()->associate($group);
|
||||
$reg->gameJam()->associate($gameJam);
|
||||
if($reg->save()){
|
||||
http_response_code(201);
|
||||
}else{
|
||||
http_response_code(500);
|
||||
}
|
||||
}else {
|
||||
http_response_code(400);
|
||||
echo json_encode(["message" => "already registered"]);
|
||||
}
|
||||
}else {
|
||||
http_response_code(400);
|
||||
}
|
||||
}else{
|
||||
http_response_code(401);
|
||||
echo json_encode(["message" => "is not login"]);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,27 +1 @@
|
|||
<?php
|
||||
require_once "../../../bootstrap.php";
|
||||
require_once "../Group/Group.php";
|
||||
|
||||
use Backend\Models\Registration;
|
||||
|
||||
if(isLogin()){
|
||||
if(isset($_POST['updateReg'])){
|
||||
if($reg = Registration::find($_POST["registrationId"])->where("group_id", groupViaToken($_SESSION['token'])->id)->first()){
|
||||
$reg->group_amount = $_POST["groupAmount"];
|
||||
if($reg->save()){
|
||||
http_response_code(200);
|
||||
}else{
|
||||
http_response_code(500);
|
||||
}
|
||||
}else{
|
||||
http_response_code(400);
|
||||
echo json_encode(["message" => "registration does not exits"]);
|
||||
}
|
||||
|
||||
}else{
|
||||
http_response_code(400);
|
||||
}
|
||||
}else{
|
||||
http_response_code(401);
|
||||
echo json_encode(["message" => "is not login"]);
|
||||
}
|
||||
|
|
|
@ -6,12 +6,12 @@ use \Backend\Models\KeyWord;
|
|||
use \Backend\Models\GameJam;
|
||||
use Backend\Models\Registration;
|
||||
|
||||
if (isAdmin()) {
|
||||
if (isset($_GET['gameJamId'])) {
|
||||
if (!isAdmin()) {
|
||||
if (isset($_GET['genKeyWord'])) {
|
||||
$gameJamId = $_GET['gameJamId'];
|
||||
$game_jam = GameJam::find($gameJamId);
|
||||
$all_registration_in_game_jam_id = Registration::where("game_jam_id", $game_jam->id)->pluck("id")->toArray();
|
||||
$find_all_keywords = KeyWord::whereIn("registration_id", $all_registration_in_game_jam_id)->inRandomOrder()->take(6)->get();
|
||||
$find_all_keywords = KeyWord::whereIn("group_id", $all_registration_in_game_jam_id)->inRandomOrder()->take(6)->get();
|
||||
$game_jam->key_word = $find_all_keywords->first()->key_word;
|
||||
if (!$game_jam->save()) {
|
||||
http_response_code(500);
|
||||
|
|
|
@ -7,20 +7,20 @@ use Backend\Models\Registration;
|
|||
use Backend\Models\Group;
|
||||
use Backend\Models\KeyWord;
|
||||
|
||||
session_start();
|
||||
|
||||
if (isLogin()) {
|
||||
if (isset($_POST['submitKeyWord'])) {
|
||||
//Find the group
|
||||
$group = groupViaToken($_SESSION['token']);
|
||||
|
||||
if(!$gameJam = GameJam::find($_POST['gameJamId'])){
|
||||
if($gameJam = GameJam::find($_POST["gameJamId"]) === null){
|
||||
http_response_code(400);
|
||||
echo json_encode(["message" => "gameJam not found"]);
|
||||
exit();
|
||||
}
|
||||
//var_dump($gameJam);
|
||||
|
||||
$registration = Registration::where('game_jam_id', $gameJam->id)->where("group_id", $group->id)->first();
|
||||
if (!$registration) {
|
||||
$registration = Registration::where('game_jam_id', $gameJam->id)->where("group_id", $group->id)->frist();
|
||||
if ($registration === null) {
|
||||
http_response_code(401);
|
||||
echo json_encode(["message" => "group not registered for that game jam"]);
|
||||
exit();
|
||||
|
@ -33,7 +33,7 @@ if (isLogin()) {
|
|||
$keyword = new KeyWord();
|
||||
|
||||
//Take the keyWord the user typed and set it equal to the keyword valuable
|
||||
$keyword->key_word = $_POST['keyWord'];
|
||||
$keyword->key_word = $_POST['key_word'];
|
||||
|
||||
//Make foreign key from the groups table to the keyWords table
|
||||
$keyword->registration()->associate($registration);
|
||||
|
|
|
@ -13,8 +13,7 @@ Capsule::schema()->create("game_jams", function (Blueprint $table) {
|
|||
$table->dateTime("start_time");
|
||||
$table->dateTime("end_time");
|
||||
$table->string("key_word")->nullable();
|
||||
$table->text("description");
|
||||
$table->boolean("is_finished")->default(false);
|
||||
$table->text("description")->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ use Illuminate\Support\Facades\Schema;
|
|||
Capsule::schema()->create("key_words", function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('key_word');
|
||||
$table->foreignId("registration_id")->constrained("registrations");
|
||||
$table->foreignId("registrations_id")->constrained("registrations");
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
|
|
|
@ -12,8 +12,7 @@ class GameJam extends Eloquent
|
|||
'start_time',
|
||||
'end_time',
|
||||
'key_word',
|
||||
'description',
|
||||
'is_finished'
|
||||
'description'
|
||||
];
|
||||
|
||||
|
||||
|
|
Binary file not shown.
|
@ -1,11 +1,9 @@
|
|||
{
|
||||
"ExpandedNodes": [
|
||||
"",
|
||||
"\\Html",
|
||||
"\\Images",
|
||||
"\\Javascript",
|
||||
"\\Styles"
|
||||
],
|
||||
"SelectedNode": "\\Index.html",
|
||||
"PreviewInSolutionExplorer": false
|
||||
}
|
|
@ -1,284 +1,121 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<head>
|
||||
<!-- Default page settings -->
|
||||
<title>Admin Panel</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="shortcut icon" href="../Images/UFO.png" />
|
||||
<!-- Default page settings end -->
|
||||
|
||||
<!-- CSS -->
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css"
|
||||
integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl"
|
||||
crossorigin="anonymous"
|
||||
/>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="../Styles/Index.css" />
|
||||
<link rel="stylesheet" href="../Styles/AdminPage.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css"
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/overlayscrollbars/1.13.1/css/OverlayScrollbars.css"
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css"
|
||||
integrity="sha512-HK5fgLBL+xu6dm/Ii3z4xhlSUyZgTT9tuc/hSrtw6uzJOvgRr2a9jyxxT1ely+B+xFAmJKVSTbpM/CuL7qxO8w=="
|
||||
crossorigin="anonymous"
|
||||
/>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css" />
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/overlayscrollbars/1.13.1/css/OverlayScrollbars.css" />
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css" integrity="sha512-HK5fgLBL+xu6dm/Ii3z4xhlSUyZgTT9tuc/hSrtw6uzJOvgRr2a9jyxxT1ely+B+xFAmJKVSTbpM/CuL7qxO8w==" crossorigin="anonymous" />
|
||||
<!-- CSS end -->
|
||||
|
||||
<!-- Header scripts -->
|
||||
<script
|
||||
src="https://code.jquery.com/jquery-3.6.0.min.js"
|
||||
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/moment@2.29.1/moment.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/inputmask@5.0.5/dist/jquery.inputmask.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/overlayscrollbars/1.13.1/js/jquery.overlayScrollbars.js"></script>
|
||||
<script
|
||||
src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.6.0/dist/umd/popper.min.js"
|
||||
integrity="sha384-KsvD1yqQ1/1+IA7gi3P0tyJcT3vR+NdBTt13hSJ2lnve8agRGXTTyNaBYmCR/Nwi"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<script
|
||||
src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.min.js"
|
||||
integrity="sha384-nsg8ua9HAw1y0W1btsyWgBklPnCUAFLuTMS2G72MMONqmOymq585AcH49TLBQObG"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.6.0/dist/umd/popper.min.js" integrity="sha384-KsvD1yqQ1/1+IA7gi3P0tyJcT3vR+NdBTt13hSJ2lnve8agRGXTTyNaBYmCR/Nwi" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.min.js" integrity="sha384-nsg8ua9HAw1y0W1btsyWgBklPnCUAFLuTMS2G72MMONqmOymq585AcH49TLBQObG" crossorigin="anonymous"></script>
|
||||
<!-- Header scripts end -->
|
||||
</head>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="HeaderPanel" id="header">
|
||||
<div class="HeaderLeft">
|
||||
<a style="display: inline-block" href="../Index.html">
|
||||
<i class="fas fa-arrow-left"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="HeaderTitle">
|
||||
<h2 style="margin-bottom: 0px">Admin Panel</h2>
|
||||
</div>
|
||||
</div>
|
||||
<body>
|
||||
|
||||
<!--Opret game jam-->
|
||||
<br />
|
||||
<br />
|
||||
<div class="HeaderPanel" id="header">
|
||||
<div class="HeaderLeft">
|
||||
<a style="display: inline-block;" href="../Index.html">
|
||||
<i class="fas fa-arrow-left"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="HeaderTitle">
|
||||
<h2 style="margin-bottom: 0px">
|
||||
Admin Panel
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3>Administration</h3>
|
||||
<h5>Opret Game Jam</h5>
|
||||
<!--Opret game jam-->
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<div class="container">
|
||||
<form id="createGameJam" method="POST">
|
||||
<div class="row">
|
||||
<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>
|
||||
<h3>Administration</h3>
|
||||
<h5>Opret Game Jam</h5>
|
||||
|
||||
<div class="row row-cols-2">
|
||||
<div class="col" id="colDate">
|
||||
<div class="FormField">
|
||||
<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>
|
||||
<div>
|
||||
<form id="createGameJam" method="POST">
|
||||
<!-- <label for="nameOfGameJam">Indtast navn på Game Jam:</label>
|
||||
<input type="text" name="newGameJam" id="nameOfGameJam"> -->
|
||||
|
||||
</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 class="row row-cols-2">
|
||||
<div class="col" id="colDate">
|
||||
<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="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>
|
||||
|
||||
<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>
|
||||
<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 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="Times">
|
||||
<input type="text" class="FormFieldInput" placeholder="hh:mm" name="startTime" id="startTime" required>
|
||||
<label for="startTime" class="FormFieldLabel" id="startTimeLabel">
|
||||
Start tidspunkt
|
||||
</label>
|
||||
|
||||
<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 -->
|
||||
<input type="text" class="FormFieldInput" placeholder="hh:mm" name="endTime" id="endTime" required>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr class="GradientDivider">
|
||||
<div class="FormField">
|
||||
<input type="text" 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>
|
||||
|
||||
<!-- updater game jam start -->
|
||||
<h5>updater Game Jam</h5>
|
||||
<div class="FormField">
|
||||
<textarea class="FormFieldInput" placeholder="Beskrivelse" name="description" id="Beskrivelse" required></textarea>
|
||||
<label for="keyWord" class="FormFieldLabel" id="keyWordLabel">
|
||||
Beskrivelse
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<form id='UpdateGameJam' method='post'>
|
||||
<section id="game-jame-update-drop-down">
|
||||
</section>
|
||||
<!-- <div class="form-floating">
|
||||
<textarea class="form-control" name="description" id="description" placeholder="Leave a comment here" id="floatingTextarea2" style="height: 100px"></textarea>
|
||||
<label for="floatingTextarea2">Beskrivelse</label>
|
||||
</div> -->
|
||||
|
||||
<section id="game-jame-update">
|
||||
<input type="submit" name="newGameJam" id="indsend" value="Indsend">
|
||||
</form>
|
||||
</div>
|
||||
<!-- Opret game jam slut -->
|
||||
|
||||
<!-- Body scripts -->
|
||||
<script src="../Javascript/OverlayScrollbar.js"></script>
|
||||
<script src="../Javascript/AddEvent.js"></script>
|
||||
<script src="../Javascript/AddGameJam.js"></script>
|
||||
<!-- Body scripts end -->
|
||||
</body>
|
||||
|
||||
<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>
|
||||
</html>
|
||||
</html>
|
|
@ -28,9 +28,7 @@
|
|||
<div>
|
||||
<div class="row">
|
||||
<div class="col-sm" id="description">
|
||||
<b>Beskrivelse</b><br />
|
||||
Yoooooooo my name is gert,
|
||||
I love flowers.... HA what?
|
||||
Beskrivelse
|
||||
<br />
|
||||
<button id="isWebBased">Play game online</button>
|
||||
<button id="gameFil">Download game</button>
|
||||
|
@ -40,18 +38,19 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="GradientDivider" />
|
||||
|
||||
<p>Måske vil du prøve...</p>
|
||||
<div id="suggestions">
|
||||
<p>Hej dkjhhnsd hid hgndnf ghnd df</p>
|
||||
</div>
|
||||
|
||||
<div class="jcarousel-wrapper">
|
||||
<div class="jcarousel" data-jcarousel="true">
|
||||
<ul style="left: 0px; top: 0px;">
|
||||
<li style="width: 200px;"><a href="#link"><img src="../Images/spil.jpg" alt="Image 1"></a></li>
|
||||
<li style="width: 200px;"><a href="#link"><img src="../Images/spil.jpg" alt="Image 2"></a></li>
|
||||
<li style="width: 200px;"><a href="#link"><img src="../Images/spil.jpg" alt="Image 3"></a></li>
|
||||
<li style="width: 200px;"><a href="#link"><img src="../Images/spil.jpg" alt="Image 4"></a></li>
|
||||
<li style="width: 200px;"><a href="#link"><img src="../Images/spil.jpg" alt="Image 5"></a></li>
|
||||
<li style="width: 200px;"><a href="#link"><img src="../Images/spil.jpg" alt="Image 6"></a></li>
|
||||
<li style="width: 200px;"><img src="../Images/spil.jpg" alt="Image 1"></li>
|
||||
<li style="width: 200px;"><img src="../Images/spil.jpg" alt="Image 2"></li>
|
||||
<li style="width: 200px;"><img src="../Images/spil.jpg" alt="Image 3"></li>
|
||||
<li style="width: 200px;"><img src="../Images/spil.jpg" alt="Image 4"></li>
|
||||
<li style="width: 200px;"><img src="../Images/spil.jpg" alt="Image 5"></li>
|
||||
<li style="width: 200px;"><img src="../Images/spil.jpg" alt="Image 6"></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,367 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="icon" href="../Images/UFO.png" />
|
||||
<title>GameJam</title>
|
||||
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="../../vendor/twbs/bootstrap/dist/css/bootstrap.min.css"
|
||||
/>
|
||||
<style>
|
||||
#navbar {
|
||||
transition: top 0.3s; /* Transition effect when sliding down (and up) */
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="../../vendor/twbs/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script
|
||||
src="https://code.jquery.com/jquery-3.6.0.min.js"
|
||||
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body class="bg-dark text-white">
|
||||
<nav
|
||||
id="game-nav"
|
||||
class="navbar sticky-top navbar-expand-lg navbar-dark bg-dark"
|
||||
>
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="#"
|
||||
><img src="../Images/UFO.png" alt="" width="32" height="32" />
|
||||
</a>
|
||||
<button
|
||||
class="navbar-toggler"
|
||||
type="button"
|
||||
data-bs-toggle="collapse"
|
||||
data-bs-target="#navbarNav"
|
||||
aria-controls="navbarNav"
|
||||
aria-expanded="false"
|
||||
aria-label="Toggle navigation"
|
||||
>
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarNav">
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" aria-current="page" href="#game-top">Hjem</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#game-what">Information</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">Events</a>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a
|
||||
class="nav-link dropdown-toggle"
|
||||
href="#"
|
||||
id="navbarDropdownMenuLink"
|
||||
role="button"
|
||||
data-bs-toggle="dropdown"
|
||||
aria-expanded="false"
|
||||
>
|
||||
Toggle Dropdown
|
||||
</a>
|
||||
<ul
|
||||
class="dropdown-menu dropdown-menu-dark"
|
||||
aria-labelledby="navbarDropdownMenuLink"
|
||||
>
|
||||
<li>
|
||||
<a class="dropdown-item" href="#">Spil</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-item" href="#">Upload fil</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-item" href="#">Stem</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-item" href="#">Lodtrækning</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<div>
|
||||
<div class="container mb-5">
|
||||
<h1 id="game-top" class="mt-3 text-center">Velkommen til Game Jam!</h1>
|
||||
<section class="text-center">
|
||||
<p>
|
||||
Denne hjemmeside er lavet til alle som elsker at udvikle spil og
|
||||
konkurerre.
|
||||
</p>
|
||||
<div>
|
||||
<p>
|
||||
Game jam handler om at udvikle et spil i grupper på begrænset tid.
|
||||
Denne tidsbegrænsning er beregnet til at simulere presset fra en
|
||||
deadline og til at fremme kreativitet blandt ideer produceret af
|
||||
Game Jam teams. Selve Game Jammet handler om at udfodre sig selv
|
||||
og andre. Det giver god øvelse i forhold til sine egne evner
|
||||
indenfor programmering og design. Det viser selvfølelig også hvor
|
||||
godt man arbejder i grupper og hvor meget man kan nå på den tid
|
||||
man har fået til at lave sit spil i
|
||||
</p>
|
||||
<p>
|
||||
Vi elsker at se hvordan de forskellige udviklere vælger sin
|
||||
fremgangs måde, og hvad som er vigtigst for de forskellige grupper
|
||||
at få med. Dette giver både nye ideer til alle samt en anden måde
|
||||
at tænke på. Vi ved jo alle sammen godt, at ingen tænker på den
|
||||
samme måde, og det er også det som er spændene. Man ved aldrig
|
||||
hvad temaet er inden man går i gang. Man kan have en ide om hvad
|
||||
for et spil man vil lave, men når man får temaet afvide, kan det
|
||||
være at man får en ny synsvinkel på hvordan man vil løse opgaven.
|
||||
læs mere under
|
||||
<a href="#">Regler</a>.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
<h5 id="game-what" class="text-center">Hvad er et Game jam?</h5>
|
||||
<section class="text-center">
|
||||
<p>
|
||||
Game Jam er et sted hvor du og dine venner kan samles og konkurrer
|
||||
om at lave det bedste spil på begrænset tid. Her har i chancen for
|
||||
at gøre hvad i er bedst til, nemlig at udvikle jeres eget spil. Det
|
||||
er spændende, hyggeligt og selvfølelig rigtigt sjovt. Under
|
||||
<a href="#">Lodtrækning</a>
|
||||
bliver der trækket lod om et tema spillet skal handle om.
|
||||
</p>
|
||||
</section>
|
||||
<h3 id="game-why" class="text-center">Hvorfor skal du deltage?</h3>
|
||||
<section class="text-center">
|
||||
<div class="mt-3">
|
||||
<a
|
||||
class="btn btn-lg btn-outline-info"
|
||||
href="#game-why-collapse"
|
||||
data-bs-toggle="collapse"
|
||||
role="button"
|
||||
>Her er 7 grunde.</a
|
||||
>
|
||||
<div id="game-why-collapse" class="collapse pt-4">
|
||||
<div class="container text-start">
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<h5>1. Tids planlægning</h5>
|
||||
</div>
|
||||
<div class="col">
|
||||
<p>
|
||||
Når du deltager i flere af Game Jams forbedrer du din evne
|
||||
til tidsplanlægning. Du begynder bedre at estimere den
|
||||
tid, det vil tage for en bestemt opgave. Denne færdighed
|
||||
er også meget vigtigt at forstå, om visse funktioner er
|
||||
det værd, og hvis du endda skal implementere dem eller ej.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<h5>2. Hastighed</h5>
|
||||
</div>
|
||||
<div class="col">
|
||||
<p>
|
||||
Deltagelse i Game Jammet vil forbedre din hastighed. For
|
||||
eksempel, som programmør, vil du se nogle genvej til at
|
||||
gøre det mindre smukt i koden, men funktionelt det samme,
|
||||
som er vigtigt for et Game jam. Som et hold vil du lære at
|
||||
beslutte, hvilken mulighed du skal vælge, hvilket spil du
|
||||
skal gøre meget hurtigere. Når du laver prototyper, vil du
|
||||
også støde på en masse værktøjer og tricks, som du kan
|
||||
bruge på senere prototyper eller spil, fordi du allerede
|
||||
prøvet dem og nu ved, hvad de er bedst egnet til.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<h5>3. Forbedre prototypeevner</h5>
|
||||
</div>
|
||||
<div class="col">
|
||||
<p>
|
||||
Game Jams omfavner virkelig tanken om, at du skal gøre
|
||||
spillet spilbart først. Uden kunst, lyde osv. I mange
|
||||
tilfælde efter dette får du ideen, hvis mekanikerne giver
|
||||
mening, eller hvis det har potentiale. Du vil bemærke
|
||||
nogle ting, som du ikke tænkte så meget på, men som er
|
||||
meget vigtige for at få spillet spilbart, som du vil blive
|
||||
nødt til at løse som det næste. Når spillet er spilbart,
|
||||
vil du fortsætte med at arbejde med ting, som du ikke
|
||||
ville udgive dit spil uden.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<h5>4. Eksperimenter som du lyster</h5>
|
||||
</div>
|
||||
<div class="col">
|
||||
<p>
|
||||
Du kommer automatisk til at være mere villig til at prøve
|
||||
tingene ud og se, om de vil fungere eller ej. Men det
|
||||
afhænger naturligvis af, hvor lang tid det kommer til at
|
||||
tage at implementere visse funktioner og prøve dem af. Så
|
||||
en god tidsplans vil helt sikkert hjælpe. Du ved aldrig om
|
||||
en af de funktioner vil redde projektet og sikre dig
|
||||
førstepladsen.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<h5>5. Forbedre dine overordnede spiludviklingsevner</h5>
|
||||
</div>
|
||||
<div class="col">
|
||||
<p>
|
||||
Jo flere game jams du deltager i, jo flere ting til du
|
||||
opdage. Du lærer hvad som gør et spil bedre og hvilke
|
||||
funktioner som kan redde dig i sidste ende. Du kan prøve
|
||||
en masse forskellige genre, som du måske ikke ville have
|
||||
overvejet at prøve af før. Det vil også vise dig, hvilke
|
||||
genre som er lettere eller sværere at udvikle.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<h5>6. Mød nye mennesker og skab et netværk</h5>
|
||||
</div>
|
||||
<div class="col">
|
||||
<p>
|
||||
Game jams er fantastisk til at møde nye mennesker som du
|
||||
deler interesse med, samt styrke dine nuværende relationer
|
||||
hvis du deltager i et game jam med dem som et team. Når du
|
||||
skaber nye relationer der deler den samme interesse som
|
||||
dig, er det nemt at få inputs fra hinanden. Det kan
|
||||
muligvis være at du havde et problem som du aldrig helt
|
||||
fandt ud af, hvor din nye relation kan forklare hvordan
|
||||
han/hun ville have gjort, eller omvendt.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<h5>7. Hav det sjovt!</h5>
|
||||
</div>
|
||||
<div class="col">
|
||||
<p>
|
||||
Game Jams er super sjovt! Man udfordre sig selv, får nye
|
||||
ideer og man får lov til at se hvordan andre tænker ved at
|
||||
løse den samme opgave. Er du et konkurrance menneske gør
|
||||
det kun det hele meget bedre. En undersøgelse af
|
||||
<a
|
||||
href="http://ludumdare.com/compo/2011/12/28/infographic-survey-results/"
|
||||
>McFunkyPants</a
|
||||
>
|
||||
viser at over 95% af deltagere har haft det sjovt under
|
||||
deltagelse og vil gerne deltage i endnu en.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</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>
|
||||
</body>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
var prevScrollpos = window.pageYOffset;
|
||||
window.onscroll = function () {
|
||||
var currentScrollPos = window.pageYOffset;
|
||||
if (prevScrollpos > currentScrollPos) {
|
||||
document.getElementById("game-nav").style.top = "0";
|
||||
} else {
|
||||
document.getElementById("game-nav").style.top = "-50px";
|
||||
}
|
||||
prevScrollpos = currentScrollPos;
|
||||
};
|
||||
});
|
||||
</script>
|
||||
</html>
|
|
@ -1,47 +0,0 @@
|
|||
<!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>
|
1652
Frontend/Index.html
1652
Frontend/Index.html
File diff suppressed because it is too large
Load Diff
|
@ -1,27 +1,32 @@
|
|||
$(document).ready(function () {
|
||||
axios.defaults.baseURL = "http://localhost/Game-Jaming";
|
||||
$(document).ready(function() {
|
||||
|
||||
$("#createGameJam").submit(function (e) {
|
||||
let URL = "/Backend/Controllers/GameJam/NewGameJam.php";
|
||||
$('#createGameJam').submit(function(e) {
|
||||
let URL = 'https://ptsv2.com/t/tzztn-1616799712/post';
|
||||
|
||||
const params = new URLSearchParams();
|
||||
params.append("newGameJam", document.getElementById("indsend").value);
|
||||
params.append("gameJamName", document.getElementById("gamejamTitle").value);
|
||||
params.append("startDate", document.getElementById("startDate").value);
|
||||
params.append("endDate", document.getElementById("endDate").value);
|
||||
params.append("startTime", document.getElementById("startTime").value);
|
||||
params.append("endTime", document.getElementById("endTime").value);
|
||||
params.append("keyWord", document.getElementById("keyWord").value);
|
||||
params.append("description", document.getElementById("Beskrivelse").value);
|
||||
let form = $('#createGameJam')[0];
|
||||
let formData = new FormData(form);
|
||||
|
||||
axios
|
||||
.post(URL, params)
|
||||
.then(function (response) {
|
||||
console.log(response);
|
||||
})
|
||||
.catch(function (error) {
|
||||
console.log(error);
|
||||
});
|
||||
e.preventDefault();
|
||||
});
|
||||
});
|
||||
let id = $('#indsend').attr('name');
|
||||
let value = $('#indsend').val();
|
||||
|
||||
let startTime = $("#startTime").text();
|
||||
let endTime = $("#endTime").text();
|
||||
|
||||
formData.append(id, value);
|
||||
formData.set('startTime', startTime);
|
||||
formData.append('endTime', endTime);
|
||||
|
||||
axios.post(URL, formData, {
|
||||
header: 'multipart/form-data'
|
||||
}).then(res => {
|
||||
if (res.status === 200)
|
||||
{
|
||||
console.log('New Game Jam Created!');
|
||||
}
|
||||
}).catch(error => {
|
||||
console.log(error.response);
|
||||
});
|
||||
|
||||
e.preventDefault();
|
||||
});
|
||||
});
|
|
@ -1,46 +0,0 @@
|
|||
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();
|
||||
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
// 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;
|
||||
|
|
@ -42,7 +42,7 @@ const renderCalendar = () => {
|
|||
"December",
|
||||
];
|
||||
|
||||
document.querySelector(".date h1").innerHTML = months[date.getMonth()] + " " + date.getFullYear();
|
||||
document.querySelector(".date h1").innerHTML = months[date.getMonth()];
|
||||
|
||||
document.querySelector(".date p").innerHTML = new Date().toLocaleDateString('da-DK', {
|
||||
weekday: 'long',
|
||||
|
@ -58,7 +58,10 @@ const renderCalendar = () => {
|
|||
}
|
||||
|
||||
for (let i = 1; i <= lastDay; i++) {
|
||||
if (i === new Date().getDate() && date.getMonth() === new Date().getMonth() && date.getFullYear() === new Date().getFullYear()) {
|
||||
if (
|
||||
i === new Date().getDate() &&
|
||||
date.getMonth() === new Date().getMonth()
|
||||
) {
|
||||
|
||||
days += `<div class="today" onClick="clickdate()">${i}</div>`;
|
||||
|
||||
|
|
|
@ -1,334 +1,363 @@
|
|||
$(document).ready(function () {
|
||||
// Register Start
|
||||
axios.defaults.baseURL = "http://localhost/Game-Jaming";
|
||||
// Register Start
|
||||
let selectedGameJam;
|
||||
let isAdminLoggedIn = false;
|
||||
let displayValue = 0;
|
||||
let arr = [
|
||||
{"id": "-1", "Gamejam": "Vælg aktivt GameJam"}
|
||||
];
|
||||
|
||||
let selectedGameJam;
|
||||
let isAdminLoggedIn = false;
|
||||
let displayValue = 0;
|
||||
let arr = [{ id: "-1", Gamejam: "Vælg aktivt GameJam" }];
|
||||
if (getCookie('userName') != null)
|
||||
{
|
||||
isAdminLoggedIn = true;
|
||||
SwitchNavInfo(true, true);
|
||||
}
|
||||
else if (getCookie('groupName') != null)
|
||||
{
|
||||
isAdminLoggedIn = false;
|
||||
SwitchNavInfo(true);
|
||||
}
|
||||
|
||||
if (getCookie("userName") != null) {
|
||||
isAdminLoggedIn = true;
|
||||
SwitchNavInfo(true, true);
|
||||
} else if (getCookie("groupName") != null) {
|
||||
isAdminLoggedIn = false;
|
||||
SwitchNavInfo(true);
|
||||
}
|
||||
// Populate select with options from the database
|
||||
axios.get('/Backend/Controllers/GameJam/GetGameJam.php')
|
||||
.then(function(res) {
|
||||
let resArr = res.data.data;
|
||||
|
||||
// Populate select with options from the database
|
||||
axios
|
||||
.get("/Backend/Controllers/GameJam/GetGameJam.php")
|
||||
.then(function (res) {
|
||||
let resArr = res.data.data;
|
||||
|
||||
for (let i = 0; i < res.data.data.length; i++) {
|
||||
arr.push({
|
||||
id: resArr[i].id,
|
||||
Gamejam: resArr[i].name,
|
||||
});
|
||||
}
|
||||
|
||||
$.each(arr, function (i, data) {
|
||||
if (i === 0) {
|
||||
$("#GameJamSelect").append(
|
||||
'<option disabled selected value="' +
|
||||
data.id +
|
||||
'">' +
|
||||
data.Gamejam +
|
||||
"</option>"
|
||||
);
|
||||
} else {
|
||||
$("#GameJamSelect").append(
|
||||
'<option value="' + data.id + '">' + data.Gamejam + "</option>"
|
||||
);
|
||||
for(let i = 0; i < res.data.data.length; i++)
|
||||
{
|
||||
arr.push({
|
||||
id: resArr[i].id,
|
||||
Gamejam: resArr[i].name
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
$.each(arr, function(i, data) {
|
||||
if (i === 0)
|
||||
{
|
||||
$('#GameJamSelect').append('<option disabled selected value="' + data.id + '">' + data.Gamejam + '</option>');
|
||||
}
|
||||
else
|
||||
{
|
||||
$('#GameJamSelect').append('<option value="' + data.id + '">' + data.Gamejam + '</option>');
|
||||
}
|
||||
});
|
||||
})
|
||||
.catch(function (error) {
|
||||
console.log(error.response);
|
||||
.catch(function(error) {
|
||||
console.log(error.response);
|
||||
});
|
||||
|
||||
// Remove invalidInput if selected option has been changed
|
||||
$("#GameJamSelect").change(function () {
|
||||
selectedGameJam = $("#GameJamSelect").children("option:selected").val();
|
||||
|
||||
if (selectedGameJam >= 1) {
|
||||
$("#GameJamSelect").removeClass("invalidInput");
|
||||
}
|
||||
});
|
||||
|
||||
// Remove invalidInput if change in group name has been detected
|
||||
$("#username").on("input", function () {
|
||||
if ($(this).hasClass("invalidInput")) {
|
||||
$(this).removeClass("invalidInput");
|
||||
}
|
||||
});
|
||||
|
||||
GetGroupNames().then(function (res) {
|
||||
let resArr = res.data;
|
||||
let groupNameTaken = false;
|
||||
|
||||
$("#RegisterBtn").click(function () {
|
||||
let groupName = $("#username").val();
|
||||
|
||||
for (let i = 0; i < resArr.length; i++) {
|
||||
if (resArr[i].group_name.toUpperCase() === groupName.toUpperCase()) {
|
||||
groupNameTaken = true;
|
||||
break;
|
||||
} else {
|
||||
groupNameTaken = false;
|
||||
// Remove invalidInput if selected option has been changed
|
||||
$('#GameJamSelect').change(function() {
|
||||
selectedGameJam = $('#GameJamSelect').children("option:selected").val();
|
||||
|
||||
if (selectedGameJam >= 1)
|
||||
{
|
||||
$('#GameJamSelect').removeClass('invalidInput');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// Check data before submitting
|
||||
$("#RegisterForm").submit(function (e) {
|
||||
/*
|
||||
if (!selectedGameJam >= 1) {
|
||||
$("#GameJamSelect").addClass("invalidInput");
|
||||
e.preventDefault();
|
||||
return false;
|
||||
} else {
|
||||
$("#gameJamId").val($("#GameJamSelect option:selected").val());
|
||||
}*/
|
||||
// Remove invalidInput if change in group name has been detected
|
||||
$('#username').on('input', function() {
|
||||
if ($(this).hasClass('invalidInput'))
|
||||
{
|
||||
$(this).removeClass('invalidInput');
|
||||
}
|
||||
})
|
||||
|
||||
if ($("#pass1").val().length === 0) {
|
||||
$("#pass1").addClass("invalidInput");
|
||||
e.preventDefault();
|
||||
return;
|
||||
}
|
||||
GetGroupNames().then(function(res) {
|
||||
let resArr = res.data;
|
||||
let groupNameTaken = false;
|
||||
|
||||
if ($("#pass2").val().length === 0) {
|
||||
$("#pass2").addClass("invalidInput");
|
||||
e.preventDefault();
|
||||
return;
|
||||
}
|
||||
$('#RegisterBtn').click(function() {
|
||||
let groupName = $('#username').val();
|
||||
|
||||
if ($("#username").val().length === 0) {
|
||||
$("#username").addClass("invalidInput");
|
||||
e.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
if ($("#pass1").hasClass("invalidInput")) {
|
||||
e.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
if ($("#pass2").hasClass("invalidInput")) {
|
||||
e.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
if (!$.isNumeric($("#NUDDisplay").text())) {
|
||||
$("#NUDDisplay").text("Ugyldigt antal!");
|
||||
$("#NUDDisplay").css({ color: "red" });
|
||||
e.preventDefault();
|
||||
} else {
|
||||
$("#groupAmount").val($("#NUDDisplay").text());
|
||||
}
|
||||
|
||||
if (groupNameTaken) {
|
||||
$("#username").addClass("invalidInput");
|
||||
e.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
let URL = "/Backend/Controllers/Group/SigningUp.php";
|
||||
|
||||
let form = $("#RegisterForm")[0];
|
||||
let formData = new FormData(form);
|
||||
|
||||
let id = $("#RegisterBtn").attr("name");
|
||||
let value = $("#RegisterBtn").val();
|
||||
|
||||
formData.append(id, value);
|
||||
|
||||
axios
|
||||
.post(URL, formData, {
|
||||
header: "multipart/form-data",
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.status === 201) {
|
||||
SwitchNavInfo(true);
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
console.log(error.response);
|
||||
for(let i = 0; i < resArr.length; i++)
|
||||
{
|
||||
if (resArr[i].group_name.toUpperCase() === groupName.toUpperCase())
|
||||
{
|
||||
groupNameTaken = true;
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
groupNameTaken = false;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
e.preventDefault();
|
||||
// Check data before submitting
|
||||
$('#RegisterForm').submit(function(e) {
|
||||
|
||||
if(!selectedGameJam >= 1)
|
||||
{
|
||||
$('#GameJamSelect').addClass('invalidInput');
|
||||
e.preventDefault();
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$('#gameJamId').val($('#GameJamSelect option:selected').val());
|
||||
}
|
||||
|
||||
if($('#pass1').val().length === 0)
|
||||
{
|
||||
$('#pass1').addClass('invalidInput');
|
||||
e.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
if($('#pass2').val().length === 0)
|
||||
{
|
||||
$('#pass2').addClass('invalidInput');
|
||||
e.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
if($('#username').val().length === 0)
|
||||
{
|
||||
$('#username').addClass('invalidInput');
|
||||
e.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
if($('#pass1').hasClass('invalidInput'))
|
||||
{
|
||||
e.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
if($('#pass2').hasClass('invalidInput'))
|
||||
{
|
||||
e.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
if(!$.isNumeric($('#NUDDisplay').text()))
|
||||
{
|
||||
$('#NUDDisplay').text('Ugyldigt antal!');
|
||||
$('#NUDDisplay').css({"color": "red"});
|
||||
e.preventDefault();
|
||||
}
|
||||
else
|
||||
{
|
||||
$('#groupAmount').val($('#NUDDisplay').text());
|
||||
}
|
||||
|
||||
if (groupNameTaken)
|
||||
{
|
||||
$('#username').addClass('invalidInput');
|
||||
e.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
let URL = "/Backend/Controllers/Group/SigningUp.php";
|
||||
|
||||
let form = $('#RegisterForm')[0];
|
||||
let formData = new FormData(form);
|
||||
|
||||
let id = $('#RegisterBtn').attr('name');
|
||||
let value = $('#RegisterBtn').val();
|
||||
|
||||
formData.append(id, value);
|
||||
|
||||
axios.post(URL, formData, {
|
||||
header: 'multipart/form-data'
|
||||
}).then(res => {
|
||||
if (res.status === 201)
|
||||
{
|
||||
SwitchNavInfo(true);
|
||||
}
|
||||
}).catch(error => {
|
||||
console.log(error.response);
|
||||
});
|
||||
|
||||
e.preventDefault();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
$("#NUDPlus").click(function () {
|
||||
if ($("#NUDDisplay").css("color") === "rgb(255, 0, 0)") {
|
||||
$("#NUDDisplay").css({ color: "rgba(255, 255, 255, .55)" });
|
||||
$('#NUDPlus').click(function() {
|
||||
if($('#NUDDisplay').css('color') === 'rgb(255, 0, 0)')
|
||||
{
|
||||
$('#NUDDisplay').css({'color': 'rgba(255, 255, 255, .55)'});
|
||||
}
|
||||
|
||||
displayValue++;
|
||||
|
||||
$('#NUDDisplay').text(displayValue);
|
||||
});
|
||||
|
||||
$('#NUDMinus').click(function() {
|
||||
if (displayValue <= 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
else if(displayValue <= 1)
|
||||
{
|
||||
$('#NUDDisplay').text(1);
|
||||
}
|
||||
else
|
||||
{
|
||||
displayValue--;
|
||||
$('#NUDDisplay').text(displayValue);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
async function GetGroupNames() {
|
||||
const res = await axios.get('/Backend/Controllers/Group/GetGroup.php');
|
||||
|
||||
return res.data;
|
||||
}
|
||||
|
||||
displayValue++;
|
||||
// Register end
|
||||
|
||||
$("#NUDDisplay").text(displayValue);
|
||||
});
|
||||
// Login start
|
||||
$('#LoginForm').submit(function(e) {
|
||||
let URL = "/Backend/Controllers/Group/Login.php";
|
||||
|
||||
$("#NUDMinus").click(function () {
|
||||
if (displayValue <= 0) {
|
||||
return;
|
||||
} else if (displayValue <= 1) {
|
||||
$("#NUDDisplay").text(1);
|
||||
} else {
|
||||
displayValue--;
|
||||
$("#NUDDisplay").text(displayValue);
|
||||
let form = $('#LoginForm')[0];
|
||||
let formData = new FormData(form);
|
||||
|
||||
let id = $('#LoginBtn').attr('name');
|
||||
let value = $('#LoginBtn').val();
|
||||
|
||||
formData.append(id, value);
|
||||
|
||||
axios.post(URL, formData, {
|
||||
header: 'multipart/form-data'
|
||||
}).then(res => {
|
||||
if (res.status === 200)
|
||||
{
|
||||
isAdminLoggedIn = false;
|
||||
SwitchNavInfo(true);
|
||||
}
|
||||
}).catch(error => {
|
||||
if (error.response.status === 401)
|
||||
{
|
||||
$('#loginUsername').css({'border-color':'red'});
|
||||
$('#loginPassword').css({'border-color':'red'});
|
||||
$('#ErrorText').css({'display':'block'});
|
||||
}
|
||||
else
|
||||
{
|
||||
console.log(error.response);
|
||||
}
|
||||
});
|
||||
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$('#AdminLoginForm').submit(function(e) {
|
||||
let URL = "/Backend/Controllers/Admin/AdminLogin.php";
|
||||
|
||||
let form = $('#AdminLoginForm')[0];
|
||||
let formData = new FormData(form);
|
||||
|
||||
let id = $('#AdminLoginBtn').attr('name');
|
||||
let value = $('#AdminLoginBtn').val();
|
||||
|
||||
formData.append(id, value);
|
||||
|
||||
axios.post(URL, formData, {
|
||||
header: 'multipart/form-data'
|
||||
}).then(res => {
|
||||
if (res.status === 200)
|
||||
{
|
||||
isAdminLoggedIn = true;
|
||||
SwitchNavInfo(true, true);
|
||||
}
|
||||
}).catch(error => {
|
||||
if (error.response.status === 401)
|
||||
{
|
||||
$('#adminUsername').css({'border-color':'red'});
|
||||
$('#adminPassword').css({'border-color':'red'});
|
||||
$('#AdminErrorText').css({'display':'block'});
|
||||
}
|
||||
else
|
||||
{
|
||||
console.log(error.response);
|
||||
}
|
||||
});
|
||||
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
function SwitchNavInfo(isLoggedIn, isAdmin) {
|
||||
if (isLoggedIn)
|
||||
{
|
||||
$('#NavUser').css({'display':'block'});
|
||||
$('#NavUser').text(`Welcome, ${isAdmin ? getCookie('userName') : getCookie('groupName')}!`);
|
||||
|
||||
$('#NavLogin').css({'display':'none'});
|
||||
$('#NavLogout').css({'display':'block'});
|
||||
|
||||
$('#LoginModal').modal('hide');
|
||||
}
|
||||
else
|
||||
{
|
||||
$('#NavUser').css({'display':'none'});
|
||||
$('#NavUser').text(``);
|
||||
|
||||
$('#NavLogin').css({'display':'block'});
|
||||
$('#NavLogout').css({'display':'none'});
|
||||
}
|
||||
|
||||
if (isAdmin === undefined)
|
||||
{
|
||||
return
|
||||
}
|
||||
else
|
||||
{
|
||||
if (isAdmin)
|
||||
{
|
||||
if (isLoggedIn)
|
||||
{
|
||||
$('#AdminPanel').css({'display':'block'});
|
||||
|
||||
console.log('Logged In As Admin!');
|
||||
}
|
||||
else
|
||||
{
|
||||
$('#AdminPanel').css({'display':'none'});
|
||||
|
||||
console.log('Logged Out As Admin!');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
// Login end
|
||||
|
||||
async function GetGroupNames() {
|
||||
const res = await axios.get("/Backend/Controllers/Group/GetGroup.php");
|
||||
// Logout start
|
||||
$('#NavLogout').click(function() {
|
||||
axios.get('/Backend/Controllers/Group/Logout.php').then(res => {
|
||||
if (res.status == 200)
|
||||
{
|
||||
SwitchNavInfo(false, isAdminLoggedIn);
|
||||
isAdminLoggedIn = false;
|
||||
}
|
||||
}).catch(error => {
|
||||
console.log(error.response);
|
||||
});
|
||||
});
|
||||
// Logout end
|
||||
|
||||
return res.data;
|
||||
}
|
||||
|
||||
// Register end
|
||||
|
||||
// Login start
|
||||
$("#LoginForm").submit(function (e) {
|
||||
let URL = "/Backend/Controllers/Group/Login.php";
|
||||
|
||||
let form = $("#LoginForm")[0];
|
||||
let formData = new FormData(form);
|
||||
|
||||
let id = $("#LoginBtn").attr("name");
|
||||
let value = $("#LoginBtn").val();
|
||||
|
||||
formData.append(id, value);
|
||||
|
||||
axios
|
||||
.post(URL, formData, {
|
||||
header: "multipart/form-data",
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.status === 200) {
|
||||
isAdminLoggedIn = false;
|
||||
SwitchNavInfo(true);
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
if (error.response.status === 401) {
|
||||
$("#loginUsername").css({ "border-color": "red" });
|
||||
$("#loginPassword").css({ "border-color": "red" });
|
||||
$("#ErrorText").css({ display: "block" });
|
||||
} else {
|
||||
console.log(error.response);
|
||||
}
|
||||
});
|
||||
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$("#AdminLoginForm").submit(function (e) {
|
||||
let URL = "/Backend/Controllers/Admin/AdminLogin.php";
|
||||
|
||||
let form = $("#AdminLoginForm")[0];
|
||||
let formData = new FormData(form);
|
||||
|
||||
let id = $("#AdminLoginBtn").attr("name");
|
||||
let value = $("#AdminLoginBtn").val();
|
||||
|
||||
formData.append(id, value);
|
||||
|
||||
axios
|
||||
.post(URL, formData, {
|
||||
header: "multipart/form-data",
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.status === 200) {
|
||||
isAdminLoggedIn = true;
|
||||
SwitchNavInfo(true, true);
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
if (error.response.status === 401) {
|
||||
$("#adminUsername").css({ "border-color": "red" });
|
||||
$("#adminPassword").css({ "border-color": "red" });
|
||||
$("#AdminErrorText").css({ display: "block" });
|
||||
} else {
|
||||
console.log(error.response);
|
||||
}
|
||||
});
|
||||
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
function SwitchNavInfo(isLoggedIn, isAdmin) {
|
||||
if (isLoggedIn) {
|
||||
$("#NavUser").css({ display: "block" });
|
||||
$("#NavUser").text(
|
||||
`Welcome, ${isAdmin ? getCookie("userName") : getCookie("groupName")}!`
|
||||
);
|
||||
|
||||
$("#NavLogin").css({ display: "none" });
|
||||
$("#NavLogout").css({ display: "block" });
|
||||
|
||||
$("#LoginModal").modal("hide");
|
||||
} else {
|
||||
$("#NavUser").css({ display: "none" });
|
||||
$("#NavUser").text(``);
|
||||
|
||||
$("#NavLogin").css({ display: "block" });
|
||||
$("#NavLogout").css({ display: "none" });
|
||||
}
|
||||
|
||||
if (isAdmin === undefined) {
|
||||
return;
|
||||
} else {
|
||||
if (isAdmin) {
|
||||
if (isLoggedIn) {
|
||||
$("#AdminPanel").css({ display: "block" });
|
||||
|
||||
console.log("Logged In As Admin!");
|
||||
} else {
|
||||
$("#AdminPanel").css({ display: "none" });
|
||||
|
||||
console.log("Logged Out As Admin!");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// Login end
|
||||
|
||||
// Logout start
|
||||
$("#NavLogout").click(function () {
|
||||
axios
|
||||
.get("/Backend/Controllers/Group/Logout.php")
|
||||
.then((res) => {
|
||||
if (res.status == 200) {
|
||||
SwitchNavInfo(false, isAdminLoggedIn);
|
||||
isAdminLoggedIn = false;
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
console.log(error.response);
|
||||
});
|
||||
});
|
||||
// Logout end
|
||||
|
||||
function getCookie(name) {
|
||||
// Split cookie string and get all individual name=value pairs in an array
|
||||
var cookieArr = document.cookie.split(";");
|
||||
|
||||
// Loop through the array elements
|
||||
for (var i = 0; i < cookieArr.length; i++) {
|
||||
var cookiePair = cookieArr[i].split("=");
|
||||
|
||||
/* Removing whitespace at the beginning of the cookie name
|
||||
function getCookie(name) {
|
||||
// Split cookie string and get all individual name=value pairs in an array
|
||||
var cookieArr = document.cookie.split(";");
|
||||
|
||||
// Loop through the array elements
|
||||
for(var i = 0; i < cookieArr.length; i++) {
|
||||
var cookiePair = cookieArr[i].split("=");
|
||||
|
||||
/* Removing whitespace at the beginning of the cookie name
|
||||
and compare it with the given string */
|
||||
if (name == cookiePair[0].trim()) {
|
||||
// Decode the cookie value and return
|
||||
return decodeURIComponent(cookiePair[1]);
|
||||
}
|
||||
if(name == cookiePair[0].trim()) {
|
||||
// Decode the cookie value and return
|
||||
return decodeURIComponent(cookiePair[1]);
|
||||
}
|
||||
}
|
||||
|
||||
// Return null if not found
|
||||
return null;
|
||||
}
|
||||
|
||||
// Return null if not found
|
||||
return null;
|
||||
}
|
||||
});
|
||||
});
|
|
@ -1,28 +0,0 @@
|
|||
// 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;
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
$(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();
|
||||
});
|
||||
});
|
|
@ -1,30 +1,25 @@
|
|||
body {
|
||||
text-align: center;
|
||||
background-color: #121B26;
|
||||
color: #F2E6D8;
|
||||
}
|
||||
|
||||
.HeaderPanel {
|
||||
position: fixed;
|
||||
overflow: hidden;
|
||||
background-color: #59142D;
|
||||
background-color: rgb(33, 37, 41);
|
||||
padding: 10px 10px;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.HeaderPanel a {
|
||||
text-align: center;
|
||||
color: #F2E6D8;
|
||||
padding: 6px;
|
||||
text-decoration: none;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.HeaderPanel a:hover {
|
||||
color: #BF7D65;
|
||||
}
|
||||
.HeaderPanel a {
|
||||
text-align: center;
|
||||
color: rgba(255, 255, 255, .75);
|
||||
padding: 6px;
|
||||
text-decoration: none;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.HeaderTitle {
|
||||
text-align: center;
|
||||
|
@ -37,19 +32,10 @@ body {
|
|||
float: left;
|
||||
}
|
||||
|
||||
h5{
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
/*Create game jam*/
|
||||
|
||||
.container{
|
||||
height: 70vh !important;
|
||||
}
|
||||
#createGameJam {
|
||||
/*justify-content: center;*/
|
||||
display: grid;
|
||||
width: 90%;
|
||||
#createGameJam{
|
||||
justify-content: center;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
#createGameJam input{
|
||||
|
@ -62,10 +48,10 @@ h5{
|
|||
}
|
||||
|
||||
#startDate {
|
||||
/*width: 32.5%;*/
|
||||
width: 32.5%;
|
||||
display: inline-block !important;
|
||||
margin-right: 2.5%;
|
||||
|
||||
float: left;
|
||||
}
|
||||
|
||||
#startDateLabel {
|
||||
|
@ -74,50 +60,49 @@ h5{
|
|||
}
|
||||
|
||||
#endDate {
|
||||
/*width: 32.5%;
|
||||
*/
|
||||
width: 32.5%;
|
||||
display: inline-block !important;
|
||||
margin-left: 2.5%;
|
||||
margin-right: 2.5%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#endDateLabel {
|
||||
display: inline-block;
|
||||
left: 0;
|
||||
/* left: 37.5%;
|
||||
*/
|
||||
}
|
||||
#colDate{
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
#colTime{
|
||||
width: 40%;
|
||||
left: 37.5%;
|
||||
}
|
||||
|
||||
#startTime {
|
||||
/* width: 12.5%;
|
||||
*/
|
||||
/* display: inline-block !important;*/
|
||||
width: 12.5%;
|
||||
display: inline-block !important;
|
||||
margin-right: 2.5%;
|
||||
float: left;
|
||||
justify-content: center;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
#startTimeLabel {
|
||||
display: inline-block;
|
||||
left: 0;
|
||||
left: 72.5%;
|
||||
}
|
||||
|
||||
#endTime {
|
||||
width: 12.5%;
|
||||
display: inline-block !important;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#endTimeLabel {
|
||||
display: inline-block;
|
||||
left: 0;
|
||||
left: 87.5%;
|
||||
}
|
||||
|
||||
|
||||
#description {
|
||||
background-color: rgb(18, 18, 18);
|
||||
color: rgba(255, 255, 255, .55);
|
||||
border-radius: 15px;
|
||||
border: double;
|
||||
width:400px;
|
||||
height:250px;
|
||||
}
|
||||
|
||||
#Beskrivelse {
|
||||
|
@ -125,113 +110,31 @@ h5{
|
|||
}
|
||||
|
||||
#indsend {
|
||||
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%;
|
||||
border-radius: 15px;
|
||||
color: rgba(255, 255, 255, .55);
|
||||
background-color: rgb(18, 18, 18);
|
||||
border: double;
|
||||
}
|
||||
#indsend:hover {
|
||||
color: #BF7D65;
|
||||
}
|
||||
|
||||
#row{
|
||||
width:90%;
|
||||
}
|
||||
/*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 {
|
||||
position: relative;
|
||||
padding: 15px 0 0;
|
||||
margin-top: 10px;
|
||||
position: relative;
|
||||
padding: 15px 0 0;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.FormFieldInput {
|
||||
font-family: inherit;
|
||||
width: 100%;
|
||||
border: 0;
|
||||
border-bottom: 2px solid #9b9b9b;
|
||||
outline: 0;
|
||||
font-size: 1.3rem;
|
||||
color: #fff;
|
||||
padding: 7px 0;
|
||||
background: transparent;
|
||||
transition: border-color 0.2s;
|
||||
font-family: inherit;
|
||||
width: 100%;
|
||||
border: 0;
|
||||
border-bottom: 2px solid #9b9b9b;
|
||||
outline: 0;
|
||||
font-size: 1.3rem;
|
||||
color: #fff;
|
||||
padding: 7px 0;
|
||||
background: transparent;
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
|
||||
.FormFieldInput::placeholder {
|
||||
|
@ -245,45 +148,32 @@ h5{
|
|||
}
|
||||
|
||||
.FormFieldLabel {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
display: block;
|
||||
transition: 0.2s;
|
||||
font-size: 1rem;
|
||||
color: #F2E6D8;
|
||||
|
||||
position: absolute;
|
||||
top: 0;
|
||||
display: block;
|
||||
transition: 0.2s;
|
||||
font-size: 1rem;
|
||||
color: #9b9b9b;
|
||||
}
|
||||
|
||||
.FormFieldInput:focus {
|
||||
padding-bottom: 6px;
|
||||
font-weight: 700;
|
||||
border-width: 3px;
|
||||
border-image: linear-gradient(to right, #59142D, #FF142D);
|
||||
/*linear-gradient(to right, #11998e, #38ef7d);*/
|
||||
border-image-slice: 1;
|
||||
padding-bottom: 6px;
|
||||
font-weight: 700;
|
||||
border-width: 3px;
|
||||
border-image: 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:invalid {
|
||||
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;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,7 @@
|
|||
body,
|
||||
html {
|
||||
background-color: #121B26 !important;
|
||||
color: #F2E6D8 !important;
|
||||
background-color: rgb(18, 18, 18) !important;
|
||||
color: rgba(255, 255, 255, .55) !important;
|
||||
font-family: Arial, Helvetica, sans-serif !important;
|
||||
margin: 40px !important;
|
||||
padding: 10px !important;
|
||||
|
@ -16,55 +16,35 @@ html {
|
|||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#suggestions {
|
||||
justify-content: center;
|
||||
background-color: blue;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#isWebBased {
|
||||
border: 0;
|
||||
background-color: transparent;
|
||||
display: block;
|
||||
margin: 20px auto;
|
||||
text-align: center;
|
||||
border: 2px solid #2A558C;
|
||||
padding: 10px 10px;
|
||||
outline: none;
|
||||
color: #F2E6D8;
|
||||
border-radius: 24px;
|
||||
transition: 0.25s;
|
||||
position: static;
|
||||
bottom: 45vh;
|
||||
display: inline;
|
||||
left: 27vw;
|
||||
border-radius: 15px;
|
||||
color: rgba(255, 255, 255, .55);
|
||||
background-color: rgb(18, 18, 18);
|
||||
border: double;
|
||||
height: 30px;
|
||||
font-weight: bold;
|
||||
margin: 8px;
|
||||
}
|
||||
#isWebBased:hover,
|
||||
#gameFil:hover {
|
||||
color: #BF7D65;
|
||||
}
|
||||
|
||||
#gameFil {
|
||||
border: 0;
|
||||
background-color: transparent;
|
||||
display: block;
|
||||
margin: 20px auto;
|
||||
text-align: center;
|
||||
border: 2px solid #2A558C;
|
||||
padding: 10px 10px;
|
||||
outline: none;
|
||||
color: #F2E6D8;
|
||||
border-radius: 24px;
|
||||
transition: 0.25s;
|
||||
position: static;
|
||||
bottom: 45vh;
|
||||
display: inline;
|
||||
border-radius: 15px;
|
||||
color: rgba(255, 255, 255, .55);
|
||||
background-color: rgb(18, 18, 18);
|
||||
border: double;
|
||||
height: 30px;
|
||||
font-weight: bold;
|
||||
margin: 8px;
|
||||
}
|
||||
|
||||
#thumbnailFile {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
|
||||
}
|
||||
|
||||
#thumbnailFile img{
|
||||
width: 100%;
|
||||
height:100%;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
#description {
|
||||
|
@ -80,12 +60,114 @@ html {
|
|||
margin: 20px !important;
|
||||
}
|
||||
|
||||
.GradientDivider {
|
||||
margin: 16px 0 16px 0;
|
||||
.jcarousel-wrapper {
|
||||
margin: 20px auto;
|
||||
position: relative;
|
||||
/*border: 10px solid #fff;*/
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
-webkit-box-shadow: 0 0 2px #999;
|
||||
-moz-box-shadow: 0 0 2px #999;
|
||||
box-shadow: 0 0 2px #999;
|
||||
}
|
||||
|
||||
/** Carousel **/
|
||||
|
||||
.jcarousel {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.jcarousel ul {
|
||||
width: 10000em;
|
||||
position: relative;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.jcarousel li {
|
||||
width: 100%;
|
||||
float: left;
|
||||
border: 1px solid #fff;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.jcarousel img {
|
||||
display: block;
|
||||
border: none;
|
||||
height: 3px !important;
|
||||
background: #59142D !important;
|
||||
background: linear-gradient( to right, #121B26, #59142D, #94153d, #59142D, #121B26) !important;
|
||||
max-width: 100%;
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
/** Carousel Controls **/
|
||||
|
||||
.jcarousel-control-prev,
|
||||
.jcarousel-control-next {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -15px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
text-align: center;
|
||||
background: #4E443C;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 0 1px #000;
|
||||
font: 24px/27px Arial, sans-serif;
|
||||
-webkit-border-radius: 30px;
|
||||
-moz-border-radius: 30px;
|
||||
border-radius: 30px;
|
||||
-webkit-box-shadow: 0 0 4px #F0EFE7;
|
||||
-moz-box-shadow: 0 0 4px #F0EFE7;
|
||||
box-shadow: 0 0 4px #F0EFE7;
|
||||
}
|
||||
|
||||
.jcarousel-control-prev {
|
||||
left: 15px;
|
||||
}
|
||||
|
||||
.jcarousel-control-next {
|
||||
right: 15px;
|
||||
}
|
||||
|
||||
/** Carousel Pagination **/
|
||||
|
||||
.jcarousel-pagination {
|
||||
position: absolute;
|
||||
bottom: -40px;
|
||||
left: 50%;
|
||||
-webkit-transform: translate(-50%, 0);
|
||||
-ms-transform: translate(-50%, 0);
|
||||
transform: translate(-50%, 0);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.jcarousel-pagination a {
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 11px;
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
line-height: 10px;
|
||||
background: #fff;
|
||||
color: #4E443C;
|
||||
border-radius: 10px;
|
||||
text-indent: -9999px;
|
||||
margin-right: 7px;
|
||||
-webkit-box-shadow: 0 0 2px #4E443C;
|
||||
-moz-box-shadow: 0 0 2px #4E443C;
|
||||
box-shadow: 0 0 2px #4E443C;
|
||||
}
|
||||
|
||||
.jcarousel-pagination a.active {
|
||||
background: #4E443C;
|
||||
color: #fff;
|
||||
opacity: 1;
|
||||
-webkit-box-shadow: 0 0 2px #F0EFE7;
|
||||
-moz-box-shadow: 0 0 2px #F0EFE7;
|
||||
box-shadow: 0 0 2px #F0EFE7;
|
||||
}
|
|
@ -7,7 +7,7 @@
|
|||
border-radius: 5px;
|
||||
-webkit-box-shadow: 0 0 2px #999;
|
||||
-moz-box-shadow: 0 0 2px #999;
|
||||
box-shadow: none !important;
|
||||
box-shadow: 0 0 2px #999;
|
||||
}
|
||||
|
||||
/** Carousel **/
|
||||
|
@ -29,7 +29,7 @@
|
|||
.jcarousel li {
|
||||
width: 200px;
|
||||
float: left;
|
||||
/* border: 1px solid #fff;*/
|
||||
border: 1px solid #fff;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
|
@ -51,8 +51,8 @@
|
|||
width: 30px;
|
||||
height: 30px;
|
||||
text-align: center;
|
||||
background: #59142D;
|
||||
color: #F2E6D8;
|
||||
background: #4E443C;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 0 1px #000;
|
||||
font: 24px/27px Arial, sans-serif;
|
||||
|
@ -63,14 +63,10 @@
|
|||
-moz-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 {
|
||||
left: 15px;
|
||||
}
|
||||
.jcarousel-control-prev {
|
||||
left: 15px;
|
||||
}
|
||||
|
||||
.jcarousel-control-next {
|
||||
right: 15px;
|
||||
|
@ -110,11 +106,12 @@
|
|||
box-shadow: 0 0 2px #4E443C;
|
||||
}
|
||||
|
||||
.jcarousel-pagination a.active {
|
||||
background: #59142D;
|
||||
color: #F2E6D8;
|
||||
opacity: 1;
|
||||
-webkit-box-shadow: 0 0 2px #F0EFE7;
|
||||
-moz-box-shadow: 0 0 2px #F0EFE7;
|
||||
box-shadow: 0 0 2px #F0EFE7;
|
||||
}
|
||||
.jcarousel-pagination a.active {
|
||||
background: #4E443C;
|
||||
color: #fff;
|
||||
opacity: 1;
|
||||
|
||||
-webkit-box-shadow: 0 0 2px #F0EFE7;
|
||||
-moz-box-shadow: 0 0 2px #F0EFE7;
|
||||
box-shadow: 0 0 2px #F0EFE7;
|
||||
}
|
||||
|
|
|
@ -3,9 +3,7 @@
|
|||
"illuminate/database": "^8.30",
|
||||
"ext-mysqli": "*",
|
||||
"ext-sqlite3": "*",
|
||||
"ext-fileinfo": "*",
|
||||
"ext-json": "*",
|
||||
"twbs/bootstrap": "5.0.0-beta3"
|
||||
"ext-fileinfo": "*"
|
||||
},
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "e0289598393b91834d5fbd72b92a029a",
|
||||
"content-hash": "f7278c3dc731961ed65f3f31bf2b49f0",
|
||||
"packages": [
|
||||
{
|
||||
"name": "doctrine/inflector",
|
||||
|
@ -103,16 +103,16 @@
|
|||
},
|
||||
{
|
||||
"name": "illuminate/collections",
|
||||
"version": "v8.40.0",
|
||||
"version": "v8.36.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/illuminate/collections.git",
|
||||
"reference": "deccb956d38710f3f8baf36dd876c3fa1585ec22"
|
||||
"reference": "591e31015a8b0731708c54411cb52d50a00b2bc3"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/illuminate/collections/zipball/deccb956d38710f3f8baf36dd876c3fa1585ec22",
|
||||
"reference": "deccb956d38710f3f8baf36dd876c3fa1585ec22",
|
||||
"url": "https://api.github.com/repos/illuminate/collections/zipball/591e31015a8b0731708c54411cb52d50a00b2bc3",
|
||||
"reference": "591e31015a8b0731708c54411cb52d50a00b2bc3",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -153,11 +153,11 @@
|
|||
"issues": "https://github.com/laravel/framework/issues",
|
||||
"source": "https://github.com/laravel/framework"
|
||||
},
|
||||
"time": "2021-04-22T21:08:09+00:00"
|
||||
"time": "2021-04-01T13:26:52+00:00"
|
||||
},
|
||||
{
|
||||
"name": "illuminate/container",
|
||||
"version": "v8.40.0",
|
||||
"version": "v8.36.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/illuminate/container.git",
|
||||
|
@ -208,16 +208,16 @@
|
|||
},
|
||||
{
|
||||
"name": "illuminate/contracts",
|
||||
"version": "v8.40.0",
|
||||
"version": "v8.36.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/illuminate/contracts.git",
|
||||
"reference": "5152041a5c4ac4dbebb3c8ee72d05666c592ae08"
|
||||
"reference": "5764f703ea8f74ced163125d810951cd5ef2b7e1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/illuminate/contracts/zipball/5152041a5c4ac4dbebb3c8ee72d05666c592ae08",
|
||||
"reference": "5152041a5c4ac4dbebb3c8ee72d05666c592ae08",
|
||||
"url": "https://api.github.com/repos/illuminate/contracts/zipball/5764f703ea8f74ced163125d810951cd5ef2b7e1",
|
||||
"reference": "5764f703ea8f74ced163125d810951cd5ef2b7e1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -252,20 +252,20 @@
|
|||
"issues": "https://github.com/laravel/framework/issues",
|
||||
"source": "https://github.com/laravel/framework"
|
||||
},
|
||||
"time": "2021-04-23T13:31:10+00:00"
|
||||
"time": "2021-04-01T13:09:31+00:00"
|
||||
},
|
||||
{
|
||||
"name": "illuminate/database",
|
||||
"version": "v8.40.0",
|
||||
"version": "v8.36.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/illuminate/database.git",
|
||||
"reference": "742c062a6447278f6b6f8622bd649173ed51fa3a"
|
||||
"reference": "09a2d38e27f930a5d9b7ef3514b650a3dc4cdd55"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/illuminate/database/zipball/742c062a6447278f6b6f8622bd649173ed51fa3a",
|
||||
"reference": "742c062a6447278f6b6f8622bd649173ed51fa3a",
|
||||
"url": "https://api.github.com/repos/illuminate/database/zipball/09a2d38e27f930a5d9b7ef3514b650a3dc4cdd55",
|
||||
"reference": "09a2d38e27f930a5d9b7ef3514b650a3dc4cdd55",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -320,11 +320,11 @@
|
|||
"issues": "https://github.com/laravel/framework/issues",
|
||||
"source": "https://github.com/laravel/framework"
|
||||
},
|
||||
"time": "2021-04-28T14:34:49+00:00"
|
||||
"time": "2021-04-06T13:40:22+00:00"
|
||||
},
|
||||
{
|
||||
"name": "illuminate/macroable",
|
||||
"version": "v8.40.0",
|
||||
"version": "v8.36.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/illuminate/macroable.git",
|
||||
|
@ -370,16 +370,16 @@
|
|||
},
|
||||
{
|
||||
"name": "illuminate/support",
|
||||
"version": "v8.40.0",
|
||||
"version": "v8.36.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/illuminate/support.git",
|
||||
"reference": "ce1682ef73ab28a61be01c24ec5b090bdf2c3256"
|
||||
"reference": "26aa01648f348df7b7988ee911cdf98bcaae8ea1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/illuminate/support/zipball/ce1682ef73ab28a61be01c24ec5b090bdf2c3256",
|
||||
"reference": "ce1682ef73ab28a61be01c24ec5b090bdf2c3256",
|
||||
"url": "https://api.github.com/repos/illuminate/support/zipball/26aa01648f348df7b7988ee911cdf98bcaae8ea1",
|
||||
"reference": "26aa01648f348df7b7988ee911cdf98bcaae8ea1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -434,20 +434,20 @@
|
|||
"issues": "https://github.com/laravel/framework/issues",
|
||||
"source": "https://github.com/laravel/framework"
|
||||
},
|
||||
"time": "2021-04-28T12:56:25+00:00"
|
||||
"time": "2021-04-06T13:05:53+00:00"
|
||||
},
|
||||
{
|
||||
"name": "nesbot/carbon",
|
||||
"version": "2.47.0",
|
||||
"version": "2.46.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/briannesbitt/Carbon.git",
|
||||
"reference": "606262fd8888b75317ba9461825a24fc34001e1e"
|
||||
"reference": "2fd2c4a77d58a4e95234c8a61c5df1f157a91bf4"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/606262fd8888b75317ba9461825a24fc34001e1e",
|
||||
"reference": "606262fd8888b75317ba9461825a24fc34001e1e",
|
||||
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/2fd2c4a77d58a4e95234c8a61c5df1f157a91bf4",
|
||||
"reference": "2fd2c4a77d58a4e95234c8a61c5df1f157a91bf4",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -527,7 +527,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2021-04-13T21:54:02+00:00"
|
||||
"time": "2021-02-24T17:30:44+00:00"
|
||||
},
|
||||
{
|
||||
"name": "psr/container",
|
||||
|
@ -630,16 +630,16 @@
|
|||
},
|
||||
{
|
||||
"name": "symfony/console",
|
||||
"version": "v5.2.7",
|
||||
"version": "v5.2.6",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/console.git",
|
||||
"reference": "90374b8ed059325b49a29b55b3f8bb4062c87629"
|
||||
"reference": "35f039df40a3b335ebf310f244cb242b3a83ac8d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/console/zipball/90374b8ed059325b49a29b55b3f8bb4062c87629",
|
||||
"reference": "90374b8ed059325b49a29b55b3f8bb4062c87629",
|
||||
"url": "https://api.github.com/repos/symfony/console/zipball/35f039df40a3b335ebf310f244cb242b3a83ac8d",
|
||||
"reference": "35f039df40a3b335ebf310f244cb242b3a83ac8d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -707,7 +707,7 @@
|
|||
"terminal"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/console/tree/v5.2.7"
|
||||
"source": "https://github.com/symfony/console/tree/v5.2.6"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
@ -723,7 +723,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2021-04-19T14:07:32+00:00"
|
||||
"time": "2021-03-28T09:42:18+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/polyfill-ctype",
|
||||
|
@ -1213,21 +1213,21 @@
|
|||
},
|
||||
{
|
||||
"name": "symfony/service-contracts",
|
||||
"version": "v2.4.0",
|
||||
"version": "v2.2.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/service-contracts.git",
|
||||
"reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb"
|
||||
"reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb",
|
||||
"reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb",
|
||||
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/d15da7ba4957ffb8f1747218be9e1a121fd298a1",
|
||||
"reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.2.5",
|
||||
"psr/container": "^1.1"
|
||||
"psr/container": "^1.0"
|
||||
},
|
||||
"suggest": {
|
||||
"symfony/service-implementation": ""
|
||||
|
@ -1235,7 +1235,7 @@
|
|||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "2.4-dev"
|
||||
"dev-master": "2.2-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/contracts",
|
||||
|
@ -1272,7 +1272,7 @@
|
|||
"standards"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/service-contracts/tree/v2.4.0"
|
||||
"source": "https://github.com/symfony/service-contracts/tree/master"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
@ -1288,7 +1288,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2021-04-01T10:43:52+00:00"
|
||||
"time": "2020-09-07T11:33:47+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/string",
|
||||
|
@ -1375,16 +1375,16 @@
|
|||
},
|
||||
{
|
||||
"name": "symfony/translation",
|
||||
"version": "v5.2.7",
|
||||
"version": "v5.2.6",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/translation.git",
|
||||
"reference": "e37ece5242564bceea54d709eafc948377ec9749"
|
||||
"reference": "2cc7f45d96db9adfcf89adf4401d9dfed509f4e1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/translation/zipball/e37ece5242564bceea54d709eafc948377ec9749",
|
||||
"reference": "e37ece5242564bceea54d709eafc948377ec9749",
|
||||
"url": "https://api.github.com/repos/symfony/translation/zipball/2cc7f45d96db9adfcf89adf4401d9dfed509f4e1",
|
||||
"reference": "2cc7f45d96db9adfcf89adf4401d9dfed509f4e1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -1448,7 +1448,7 @@
|
|||
"description": "Provides tools to internationalize your application",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/translation/tree/v5.2.7"
|
||||
"source": "https://github.com/symfony/translation/tree/v5.2.6"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
@ -1464,20 +1464,20 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2021-04-01T08:15:21+00:00"
|
||||
"time": "2021-03-23T19:33:48+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/translation-contracts",
|
||||
"version": "v2.4.0",
|
||||
"version": "v2.3.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/translation-contracts.git",
|
||||
"reference": "95c812666f3e91db75385749fe219c5e494c7f95"
|
||||
"reference": "e2eaa60b558f26a4b0354e1bbb25636efaaad105"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/translation-contracts/zipball/95c812666f3e91db75385749fe219c5e494c7f95",
|
||||
"reference": "95c812666f3e91db75385749fe219c5e494c7f95",
|
||||
"url": "https://api.github.com/repos/symfony/translation-contracts/zipball/e2eaa60b558f26a4b0354e1bbb25636efaaad105",
|
||||
"reference": "e2eaa60b558f26a4b0354e1bbb25636efaaad105",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -1489,7 +1489,7 @@
|
|||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "2.4-dev"
|
||||
"dev-master": "2.3-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/contracts",
|
||||
|
@ -1526,7 +1526,7 @@
|
|||
"standards"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/translation-contracts/tree/v2.4.0"
|
||||
"source": "https://github.com/symfony/translation-contracts/tree/v2.3.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
@ -1542,63 +1542,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2021-03-23T23:28:01+00:00"
|
||||
},
|
||||
{
|
||||
"name": "twbs/bootstrap",
|
||||
"version": "v5.0.0-beta3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/twbs/bootstrap.git",
|
||||
"reference": "220139a89ffc3864bbb6e1b35471667318eadc1f"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/twbs/bootstrap/zipball/220139a89ffc3864bbb6e1b35471667318eadc1f",
|
||||
"reference": "220139a89ffc3864bbb6e1b35471667318eadc1f",
|
||||
"shasum": ""
|
||||
},
|
||||
"replace": {
|
||||
"twitter/bootstrap": "self.version"
|
||||
},
|
||||
"type": "library",
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Mark Otto",
|
||||
"email": "markdotto@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "Jacob Thornton",
|
||||
"email": "jacobthornton@gmail.com"
|
||||
}
|
||||
],
|
||||
"description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
|
||||
"homepage": "https://getbootstrap.com/",
|
||||
"keywords": [
|
||||
"JS",
|
||||
"css",
|
||||
"framework",
|
||||
"front-end",
|
||||
"mobile-first",
|
||||
"responsive",
|
||||
"sass",
|
||||
"web"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/twbs/bootstrap/issues",
|
||||
"source": "https://github.com/twbs/bootstrap/tree/v5.0.0-beta3"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://opencollective.com/bootstrap",
|
||||
"type": "open_collective"
|
||||
}
|
||||
],
|
||||
"time": "2021-03-23T16:26:54+00:00"
|
||||
"time": "2020-09-28T13:05:58+00:00"
|
||||
},
|
||||
{
|
||||
"name": "voku/portable-ascii",
|
||||
|
@ -1678,16 +1622,13 @@
|
|||
"packages-dev": [],
|
||||
"aliases": [],
|
||||
"minimum-stability": "stable",
|
||||
"stability-flags": {
|
||||
"twbs/bootstrap": 10
|
||||
},
|
||||
"stability-flags": [],
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false,
|
||||
"platform": {
|
||||
"ext-mysqli": "*",
|
||||
"ext-sqlite3": "*",
|
||||
"ext-fileinfo": "*",
|
||||
"ext-json": "*"
|
||||
"ext-fileinfo": "*"
|
||||
},
|
||||
"platform-dev": [],
|
||||
"plugin-api-version": "2.0.0"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"driver": "mysql",
|
||||
"host": "172.16.5.5",
|
||||
"database": "GameJamDB",
|
||||
"username": "ida",
|
||||
"password": "123qwe"
|
||||
}
|
||||
"driver":"mysql",
|
||||
"host":"localhost",
|
||||
"database":"testdb",
|
||||
"username":"root",
|
||||
"password":"V#_xWL6_"
|
||||
}
|
Loading…
Reference in New Issue