From 75e4ed82769143be8968edf9110e6e2fd5d85028 Mon Sep 17 00:00:00 2001
From: Mateja <mail@matejamaric.com>
Date: Sun, 18 Oct 2020 22:09:53 +0200
Subject: forms and migrations

---
 resources/views/pages/reserve.blade.php | 176 ++++++++++++++++++++++++++++++++
 1 file changed, 176 insertions(+)

(limited to 'resources/views/pages/reserve.blade.php')

diff --git a/resources/views/pages/reserve.blade.php b/resources/views/pages/reserve.blade.php
index b4a9f19..777325b 100644
--- a/resources/views/pages/reserve.blade.php
+++ b/resources/views/pages/reserve.blade.php
@@ -1,4 +1,180 @@
 @extends('layouts.app')
 
 @section('content')
+<form action="{{ route('reserve') }}" method="POST">
+
+  <!-- SPECIAL CALL -->
+<div class="form-group">
+  <label for="special-call">Special Callsign:</label>
+  <select class="form-control" id="special-call" name="scall">
+    <option value="YT50SCWC">YT50SCWC</option>
+  </select> 
+</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">
+</div>
+
+<div class="form-group">
+  <label for="start-time">Start time:</label>
+  <input class="form-control" type="time" id="start-time" name="stime">
+</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">
+</div>
+
+<div class="form-group">
+  <label for="end-time">End time:</label>
+  <input class="form-control" type="time" id="end-time" name="etime">
+</div>
+
+  <!-- BANDS -->
+  <fieldset class="form-group">
+    <legend>I will be active on bands:</legend>
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="cb1" name="freqs[]" value="1.8 MHz">
+    <label class="form-check-label" for="cb1">1.8 MHz</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="cb2" name="freqs[]" value="3.5 MHz">
+    <label class="form-check-label" for="cb2">3.5 MHz</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="cb3" name="freqs[]" value="7 MHz">
+    <label class="form-check-label" for="cb3">7 MHz</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="cb4" name="freqs[]" value="10 MHz">
+    <label class="form-check-label" for="cb4">10 MHz</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="cb5" name="freqs[]" value="14 MHz">
+    <label class="form-check-label" for="cb5">14 MHz</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="cb6" name="freqs[]" value="18 MHz">
+    <label class="form-check-label" for="cb6">18 MHz</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="cb7" name="freqs[]" value="21 MHz">
+    <label class="form-check-label" for="cb7">21 MHz</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="cb8" name="freqs[]" value="24 MHz">
+    <label class="form-check-label" for="cb8">24 MHz</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="cb9" name="freqs[]" value="28 MHz">
+    <label class="form-check-label" for="cb9">28 MHz</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="cb10" name="freqs[]" value="50 MHz">
+    <label class="form-check-label" for="cb10">50 MHz</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="cb11" name="freqs[]" value="144 MHz">
+    <label class="form-check-label" for="cb11">144 MHz</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="cb12" name="freqs[]" value="432 MHz">
+    <label class="form-check-label" for="cb12">432 MHz</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="cb13" name="freqs[]" value="1.2 GHz">
+    <label class="form-check-label" for="cb13">1.2 GHz</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="cb14" name="freqs[]" value="2.3 GHz">
+    <label class="form-check-label" for="cb14">2.3 GHz</label>
+</div>
+
+  </fieldset>
+  <!-- MODES -->
+  <fieldset class="form-group">
+    <legend>I will use modes:</legend>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="CW" name="modes[]" value="CW">
+    <label class="form-check-label" for="CW">CW</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="SSB" name="modes[]" value="SSB">
+    <label class="form-check-label" for="SSB">SSB</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="FM" name="modes[]" value="FM">
+    <label class="form-check-label" for="FM">FM</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="RTTY" name="modes[]" value="RTTY">
+    <label class="form-check-label" for="RTTY">RTTY</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="MFSK" name="modes[]" value="MFSK">
+    <label class="form-check-label" for="MFSK">MFSK (JT65, FT8...)</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="IMAGING" name="modes[]" value="IMAGING">
+    <label class="form-check-label" for="IMAGING">IMAGING (ATV, SSTV...)</label>
+</div>
+
+<div class="form-check">
+    <input class="form-check-input" type="checkbox" id="OTHER DIGITAL" name="modes[]" value="OTHER DIGITAL">
+    <label class="form-check-label" for="OTHER DIGITAL">OTHER DIGITAL</label>
+</div>
+
+  </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">
+</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">
+</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">
+</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">
+</div>
+
+  <!-- SUBMIT BUTTON -->
+<div class="form-group">
+  <input class="btn btn-primary" type="submit" value="Submit reservation request">
+</div>
+</form>
 @endsection()
-- 
cgit v1.2.3