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

51 lines
2.8 KiB
PHP
Raw Normal View History

2019-12-07 19:49:42 +01:00
@extends('layouts.map')
@section('title') Wybór miejsca @endsection
@section('map_meta')
2019-12-13 23:28:16 +01:00
<script type="text/javascript" src="{{ asset('js/map/jquery.seat-charts.min.js') }}"></script>
2019-12-07 19:49:42 +01:00
<link rel="stylesheet" type="text/css" href="{{ asset('css/map/jquery.seat-charts.css') }}">
<link rel="stylesheet" type="text/css" href="{{ asset('css/map/seatchart.css') }}">
<script type="text/javascript" src="{{ asset('js/map/seatchart.js') }}"></script>
2019-12-14 00:09:51 +01:00
<script type="text/javascript" src="{{ asset('js/map/seatchart-custom.js') }}"></script>
<link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet">
2019-12-07 19:49:42 +01:00
@endsection
@section('map_content')
<div class="seat-chart-wrapper">
<div id="seat-map">
2019-12-13 23:28:16 +01:00
<div class="front-indicator">
<p class="seat-p">
{{ App\Subject::find(App\Classes::find($classes_id)->subject_id)->name }},
{{ App\Subject::find(App\Classes::find($classes_id)->subject_id)->weekday }}
{{ App\Classes::find($classes_id)->date }} {{ App\Subject::find(App\Classes::find($classes_id)->subject_id)->time }},
<b>sala {{ App\Room::find(App\Subject::find(App\Classes::find($classes_id)->subject_id)->room_id)->name }}</b>
</p>
</div>
2019-12-07 19:49:42 +01:00
</div>
</div>
<br/>
<div class='seat-stat-wrapper'>
<div id="legend">
</div>
<div class="booking-details">
2019-12-08 00:00:52 +01:00
<h2 id="studentName"> <span class="student_name"> {{ $student_name }} </span><span class="student_surname"> {{ $student_surname }} </span> </h2>
2019-12-07 19:49:42 +01:00
<h3 class="student_id_number"> {{ $student_id_number }}</h3>
<h3>Wybrane miejsce:
<span id="selected-seats"></span>
</h3>
@foreach($seat_numbers as $seat_number)
<input type="hidden" class="unavailable_place" value="{{ $seat_number }}">
@endforeach
2019-12-09 12:17:23 +01:00
<input type="hidden" class="room_arrangement" name="room_arrangement" id="room_arrangement" value="{{ $room_arrangement }}">
2019-12-07 19:49:42 +01:00
<form method="POST" action="{{ route('user_save_classes_data') }}">
<input type="hidden" value="{{ $classes_id }}" class="classes_id" name="classes_id">
<input type="hidden" value="{{ $student_name }}" class="student_name" name="student_name">
<input type="hidden" value="{{ $student_surname }}" class="student_surname" name="student_surname">
<input type="hidden" value="{{ $student_id_number }}" class="student_id_number" name="student_id_number">
<input type="hidden" value="" class="seat_number" name="seat_number">
<button type="submit" class="checkout-button">Zapisz &raquo;</button>
</form>
</div>
</div>
@endsection