2021-11-10 21:00:18 +00:00
|
|
|
<script src="{{url_for('static', filename='jquery-3.6.0.min.js') }}"></script>
|
|
|
|
<script>
|
|
|
|
function GetAllServices(){
|
|
|
|
$.ajax({
|
|
|
|
type: "POST",
|
|
|
|
url: "/GetServices",
|
|
|
|
data: JSON.stringify({
|
|
|
|
"nummer": "-1",
|
|
|
|
}),
|
|
|
|
contentType: "application/json",
|
|
|
|
dataType: 'text json',
|
|
|
|
success: function(response) {
|
|
|
|
document.getElementById('resultblock').innerHTML = response
|
|
|
|
},
|
|
|
|
error: function(error){
|
|
|
|
console.log(error);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
GetAllServices();
|
|
|
|
</script>
|
|
|
|
|
2021-11-07 21:40:34 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
<head>
|
2021-11-10 21:00:18 +00:00
|
|
|
|
2021-11-07 21:40:34 +00:00
|
|
|
<div class="headerblock">
|
|
|
|
|
|
|
|
</div>
|
2021-11-10 21:00:18 +00:00
|
|
|
<title>Administratie</title>
|
2021-11-07 21:40:34 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="requestblock">
|
2021-11-10 21:00:18 +00:00
|
|
|
<div class="MainText">
|
|
|
|
<h1 style="text-align: center;">Voeg dienst toe</h1>
|
|
|
|
<h3 style="text-align: center;">Vul de datum en groepen in om toe te voegen</h3>
|
2021-11-07 21:40:34 +00:00
|
|
|
|
2021-11-10 21:00:18 +00:00
|
|
|
|
|
|
|
<div class="a_datum_block">
|
|
|
|
<input class="a_datum_input" id="datum_input" name="text" placeholder="1-11-2021">
|
|
|
|
<tr>Tijd</tr>
|
|
|
|
<input class="a_datum_input" id="tijd_input" name="text" placeholder="9:30">
|
|
|
|
</div>
|
|
|
|
<div class="a_datum_block">
|
|
|
|
<input class="a_van_input" id="van_input" name="text" placeholder="1">
|
|
|
|
<tr>t/m</tr>
|
|
|
|
<input class="a_van_input" id="tot_input" name="text" placeholder="10">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="add_service_btn" onclick="AddService()">Toevoegen</div>
|
|
|
|
</div>
|
2021-11-07 21:40:34 +00:00
|
|
|
</div>
|
|
|
|
|
2021-11-08 22:28:40 +00:00
|
|
|
<div class="resultblock" id="resultblock">
|
2021-11-07 21:40:34 +00:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|