atcheck/resources/views/map/summary_map.blade.php

46 lines
1.4 KiB
PHP
Raw Permalink Normal View History

2019-12-20 01:11:51 +01:00
@extends('layouts.app')
2019-12-07 19:49:42 +01:00
@section('title') Wybór miejsca @endsection
2019-12-20 01:11:51 +01:00
@section('additional_meta')
<link rel="stylesheet" type="text/css" href="{{ asset('css/map/jquery.seat-charts.css') }}">
2019-12-07 19:49:42 +01:00
@endsection
2019-12-20 01:11:51 +01:00
@section('content')
<div class="wrapper">
<div class="map-buttons">
<a href="{{ route('user_classes') }}" class="checkout-button end-button"> Zakończ zapisy </a>
</div>
@if($warning)
2020-01-18 01:19:30 +01:00
<h1 class="summary-map-h"> {{ $warning }} </h1>
@else
2020-01-18 01:19:30 +01:00
<h1 class="summary-map-h"> Zostałeś poprawnie zapisany.</h1>
@endif
<br><br>
2019-12-20 15:46:32 +01:00
<h2> {{ $student_name }} {{ $student_surname }} </h2>
<br><br>
2019-12-20 15:46:32 +01:00
<h3> {{ $student_id_number }} </h3>
<br><br>
@if(!$mode == "quick")
<h3> miejsce: </h3>
<ul id="sel-seat"> {{ $seat_number }} </ul>
@endif
2020-01-18 17:25:32 +01:00
<a href="{{ route('user_start_classes', [$classes_id]) }}"><button type="button" id="next_student" class="checkout-button">Następny student (2) &raquo;</button></a>
2019-12-20 01:11:51 +01:00
</div>
2020-01-18 17:25:32 +01:00
<script>
var counter = 1;
var t = setInterval(function() {
$('#next_student').html('Następny student (' + counter + ') &raquo;');
counter--;
}, 1000);
window.setTimeout(function(){
clearInterval(t);
$('#next_student').click();
}, 3000);
</script>
2019-12-07 19:49:42 +01:00
@endsection