diff options
Diffstat (limited to 'resources')
-rw-r--r-- | resources/views/pages/gallery.blade.php | 10 | ||||
-rw-r--r-- | resources/views/pages/news.blade.php | 5 | ||||
-rw-r--r-- | resources/views/pages/reserve.blade.php | 51 | ||||
-rw-r--r-- | resources/views/pages/sponsoring.blade.php | 7 |
4 files changed, 54 insertions, 19 deletions
diff --git a/resources/views/pages/gallery.blade.php b/resources/views/pages/gallery.blade.php index 7b29580..ebdf42c 100644 --- a/resources/views/pages/gallery.blade.php +++ b/resources/views/pages/gallery.blade.php @@ -1,10 +1,8 @@ @extends('layouts.app') @section('content') - <img src="/imgs/camp.png" alt="YOTA camp"/> - <img src="/imgs/yota.jpg" alt="YOTA"/> - - <h1>Sponsors: </h1> - <img src="/imgs/4o3a.png" alt="4o3a"/> - <img src="/imgs/spiderbeam.gif" alt="Spiderbeam"/> + <div class="row"> + <img class="col-lg-6" src="/imgs/camp.png" alt="YOTA camp"/> + <img class="col-lg-6" src="/imgs/yota.jpg" alt="YOTA"/> + </div> @endsection() diff --git a/resources/views/pages/news.blade.php b/resources/views/pages/news.blade.php index a8685eb..5e4453f 100644 --- a/resources/views/pages/news.blade.php +++ b/resources/views/pages/news.blade.php @@ -4,11 +4,8 @@ @foreach($news as $post) <div class="well"> <h3>{{ $post->title }}</h3> - <small>Written at: {{ $post->created_at }}</small> + <small>Published at {{ $post->created_at->format('Y-m-d') }}@isset ($post->author) by {{$post->author }}@endisset</small> <p>{{ $post->text }}</p> - @isset ($post->author) - <small>Author: {{ $post->author }}</small> - @endisset </div> @endforeach @endsection() diff --git a/resources/views/pages/reserve.blade.php b/resources/views/pages/reserve.blade.php index a3a2519..26003b8 100644 --- a/resources/views/pages/reserve.blade.php +++ b/resources/views/pages/reserve.blade.php @@ -11,31 +11,46 @@ <!-- SPECIAL CALL --> <div class="form-group"> <label for="special-call">Special Callsign:</label> - <select class="form-control" id="special-call" name="scall"> + <select class="form-control @error('scall') is-invalid @enderror" id="special-call" name="scall"> <option value="YT50SCWC">YT50SCWC</option> </select> + @error('scall') + <div class="alert alert-danger mt-2">{{ $message }}</div> + @enderror </div> <!-- START TIME --> <div class="form-group"> <label for="start-date">Start date:</label> - <input class="form-control" type="date" id="start-date" name="sdate"> + <input class="form-control @error('sdate') is-invalid @enderror" type="date" id="start-date" name="sdate"> + @error('sdate') + <div class="alert alert-danger mt-2">{{ $message }}</div> + @enderror </div> <div class="form-group"> <label for="start-time">Start time:</label> - <input class="form-control" type="time" id="start-time" name="stime"> + <input class="form-control @error('stime') is-invalid @enderror" type="time" id="start-time" name="stime"> + @error('stime') + <div class="alert alert-danger mt-2">{{ $message }}</div> + @enderror </div> <!-- END TIME --> <div class="form-group"> <label for="end-date">End date:</label> - <input class="form-control" type="date" id="end-date" name="edate"> + <input class="form-control @error('edate') is-invalid @enderror" type="date" id="end-date" name="edate"> + @error('edate') + <div class="alert alert-danger mt-2">{{ $message }}</div> + @enderror </div> <div class="form-group"> <label for="end-time">End time:</label> - <input class="form-control" type="time" id="end-time" name="etime"> + <input class="form-control @error('etime') is-invalid @enderror" type="time" id="end-time" name="etime"> + @error('etime') + <div class="alert alert-danger mt-2">{{ $message }}</div> + @enderror </div> <!-- BANDS --> @@ -111,6 +126,9 @@ <label class="form-check-label" for="cb14">2.3 GHz</label> </div> +@error('freqs') + <div class="alert alert-danger mt-2">{{ $message }}</div> +@enderror </fieldset> <!-- MODES --> <fieldset class="form-group"> @@ -151,30 +169,45 @@ <label class="form-check-label" for="OTHER DIGITAL">OTHER DIGITAL</label> </div> +@error('modes') + <div class="alert alert-danger mt-2">{{ $message }}</div> +@enderror </fieldset> <!-- OPERATOR CALL --> <div class="form-group"> <label for="operator-call">Operator Callsign:</label> - <input class="form-control" type="text" id="operator-call" name="ocall"> + <input class="form-control @error('ocall') is-invalid @enderror" type="text" id="operator-call" name="ocall"> + @error('ocall') + <div class="alert alert-danger mt-2">{{ $message }}</div> + @enderror </div> <!-- OPERATOR NAME --> <div class="form-group"> <label for="operator-name">Operator name:</label> - <input class="form-control" type="text" id="operator-name" name="oname"> + <input class="form-control @error('oname') is-invalid @enderror" type="text" id="operator-name" name="oname"> + @error('oname') + <div class="alert alert-danger mt-2">{{ $message }}</div> + @enderror </div> <!-- OPERATOR EMAIL --> <div class="form-group"> <label for="operator-email">Operator email:</label> - <input class="form-control" type="email" id="operator-email" name="email"> + <input class="form-control @error('email') is-invalid @enderror" type="email" id="operator-email" name="email"> + @error('email') + <div class="alert alert-danger mt-2">{{ $message }}</div> + @enderror </div> <!-- OPERATOR PHONE --> <div class="form-group"> <label for="operator-phone">Operator phone:</label> - <input class="form-control" type="tel" id="operator-phone" name="phone"> + <input class="form-control @error('phone') is-invalid @enderror" type="tel" id="operator-phone" name="phone"> + @error('phone') + <div class="alert alert-danger mt-2">{{ $message }}</div> + @enderror </div> <!-- SUBMIT BUTTON --> diff --git a/resources/views/pages/sponsoring.blade.php b/resources/views/pages/sponsoring.blade.php index 78ef499..826fe09 100644 --- a/resources/views/pages/sponsoring.blade.php +++ b/resources/views/pages/sponsoring.blade.php @@ -3,4 +3,11 @@ @section('content') <p>If you are willing to be one of the sponsors of the event and help us set the high standards for Balkan YOTA camp, feel free to contact Goran YT7AW hajosevic at gmail . com</p> <p>As part of the camp and presentations will be dedicated to already experienced HAM radio operators, this is a great opportunity to present your company and products in the region. Additionally a banner and link to your website will be made available here.</p> + +<h3 class="mt-3">Sponsors: </h1> + +<div class="row"> + <img class="col-md-2" src="/imgs/4o3a.png" alt="4o3a"/> + <img class="col-md-2" src="/imgs/spiderbeam.gif" alt="Spiderbeam"/> +</div> @endsection() |