Update
This commit is contained in:
parent
0419ecf707
commit
2293fc669e
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"ExpandedNodes": [
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"PreviewInSolutionExplorer": false
|
||||||
|
}
|
|
@ -611,7 +611,19 @@
|
||||||
<!-- Administation -->
|
<!-- Administation -->
|
||||||
<section id="admin">
|
<section id="admin">
|
||||||
<h3>Administration</h3>
|
<h3>Administration</h3>
|
||||||
<p></p>
|
<form id="createGameJam">
|
||||||
|
<label for="nameOfGameJam">Indtast navn på Game Jam:</label>
|
||||||
|
<input type="text" name="nameOfGameJam" id="nameOfGameJam" >
|
||||||
|
<br />
|
||||||
|
<input type="date" name="startDate" id="startDate">Start dato
|
||||||
|
<input type="date" name="endDate" id="endDate">Slut dato
|
||||||
|
<br />
|
||||||
|
<input type="time" name="startTime" id="startTime">Start tid
|
||||||
|
<input type="time" name="endTime" id="endTime">Slut tid
|
||||||
|
<br />
|
||||||
|
<input type="text" name="description" id="description"/>
|
||||||
|
<button type="button" name="indsend" id="indsend">Indsend</button>
|
||||||
|
</form>
|
||||||
</section>
|
</section>
|
||||||
<!-- Administation slut -->
|
<!-- Administation slut -->
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ const renderCalendar = () => {
|
||||||
days += `<div class="today" onClick="clickdate()">${i}</div>`;
|
days += `<div class="today" onClick="clickdate()">${i}</div>`;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
days += `<div onClick="clickdate()">${i}</div>`;
|
days += `<div class="today" ><span id="testEvent2"onClick="clickdate()"></span>${i}</div>`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -106,3 +106,29 @@ var myModal = document.getElementById('popup')
|
||||||
myModal.addEventListener('shown.bs.modal', function() {
|
myModal.addEventListener('shown.bs.modal', function() {
|
||||||
myInput.focus()
|
myInput.focus()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
//Admin add event
|
||||||
|
$("#indsend").click(function () {
|
||||||
|
let startDate = $("#startDate").val();
|
||||||
|
let endDate = $("#endDate").val();
|
||||||
|
let startTime = $("#startTime").val();
|
||||||
|
let endTime = $("#endTime").val();
|
||||||
|
console.log(`startDate ${startDate} \n
|
||||||
|
endDate ${endDate} \n
|
||||||
|
startTime ${startTime} \n
|
||||||
|
endTime ${endTime}`);
|
||||||
|
})
|
||||||
|
|
||||||
|
function addEvent() {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//Admin
|
||||||
|
/*
|
||||||
|
$(document).ready(function () {
|
||||||
|
$('#description').keyup(function () {
|
||||||
|
$(this).attr('size', $(this).val().length)
|
||||||
|
});
|
||||||
|
});
|
||||||
|
*/
|
|
@ -671,6 +671,17 @@ image_gruppenavn{
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
/*Kalender slut*/
|
/*Kalender slut*/
|
||||||
|
/*Event*/
|
||||||
|
#testEvent2 {
|
||||||
|
position: absolute;
|
||||||
|
width: 220px;
|
||||||
|
height: 10px;
|
||||||
|
position: absolute;
|
||||||
|
background: red;
|
||||||
|
border-radius: 10px;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
/*Event slut*/
|
||||||
|
|
||||||
#return-to-top {
|
#return-to-top {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
@ -713,3 +724,36 @@ image_gruppenavn{
|
||||||
color: rgba(255, 255, 255, .55);;
|
color: rgba(255, 255, 255, .55);;
|
||||||
top: 5px;
|
top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*Adminside*/
|
||||||
|
|
||||||
|
#nameOfGameJam {
|
||||||
|
|
||||||
|
}
|
||||||
|
#startDate {
|
||||||
|
|
||||||
|
}
|
||||||
|
#endDate{
|
||||||
|
|
||||||
|
}
|
||||||
|
#startTime{
|
||||||
|
|
||||||
|
}
|
||||||
|
#endTime{
|
||||||
|
|
||||||
|
}
|
||||||
|
#description {
|
||||||
|
|
||||||
|
background-color: rgb(18, 18, 18);
|
||||||
|
color: rgba(255, 255, 255, .55);
|
||||||
|
border-radius:15px;
|
||||||
|
border:double;
|
||||||
|
|
||||||
|
}
|
||||||
|
#indsend {
|
||||||
|
border-radius: 10px;
|
||||||
|
color: rgba(255, 255, 255, .55);
|
||||||
|
background-color: rgb(18, 18, 18);
|
||||||
|
border: double;
|
||||||
|
}
|
||||||
|
/*Adminside slut*/
|
Loading…
Reference in New Issue