v1.1.0a - Added "andet option" til feedback
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
<option selected="selected" name="all" value="all">Alle</option>
|
||||
<option name="ris" value="Ris">Ris</option>
|
||||
<option name="ros" value="Ros">Ros</option>
|
||||
<option name="andet" value="Andet">Andet</option>
|
||||
</select>
|
||||
<!-- Dont delete me sir :(
|
||||
<input class="checkbox-inline" type="checkbox" name="checkbox" id="ris" value="ris">
|
||||
@@ -33,7 +34,7 @@
|
||||
<tr>
|
||||
<th style="width: 6em;">Dato</th>
|
||||
<th>Feedback Besked</th>
|
||||
<th style="width: 5em;">Ris el. Ros</th>
|
||||
<th style="width: 7em;">Feedback type</th>
|
||||
@if(auth()->user()->can('feedback.delete'))
|
||||
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
||||
@endif
|
||||
|
||||
@@ -13,14 +13,15 @@
|
||||
<main style="min-height: calc(100% - 61.34px)" class="text-center">
|
||||
<div method="post" style="margin-top: 4rem; margin-bottom: auto; max-width: 100%; padding: 0 0.45rem 0 0.45rem; display: flex; flex-direction: column; justify-content: center;">
|
||||
@csrf
|
||||
<span>Ris el. Ros?</span>
|
||||
<span>{{__("msg.risros")}}</span>
|
||||
<select id="suggestion_form" name="suggestion_form" class="mb-2" required>
|
||||
<option selected>Ros</option>
|
||||
<option>Ris</option>
|
||||
<option selected value="Ros">{{__("msg.ros")}}</option>
|
||||
<option value="Ris">{{__("msg.ris")}}</option>
|
||||
<option value="Andet">{{__("msg.andet")}}</option>
|
||||
</select>
|
||||
<span>Besked:</span>
|
||||
<textarea id="message" name="message" placeholder="Skriv Ris/Ros besked her" style="resize: vertical;" required></textarea>
|
||||
<button onclick="ajaxCall(document.getElementById('suggestion_form'), document.getElementById('message'))" class="btn btn-sde-blue mt-2">Send Ris/Ros</button>
|
||||
<span>{{__("msg.besked")}}:</span>
|
||||
<textarea id="message" name="message" placeholder="{{__("msg.besked")}}" style="resize: vertical;" required></textarea>
|
||||
<button onclick="ajaxCall(document.getElementById('suggestion_form'), document.getElementById('message'))" class="btn btn-sde-blue mt-2">{{__("msg.send")}}</button>
|
||||
</div>
|
||||
<div id="snackbar"></div>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user