v1.5.14 - Added Allow Actions (Registering)
Fixed User Pictures
This commit is contained in:
@@ -10,20 +10,24 @@
|
||||
<div class="brand">
|
||||
<img src="{{URL::asset('/images/logos/Logo-hvid.svg')}}" alt="Syddansk Erhvervsskole">
|
||||
</div>
|
||||
<form action="{{ route("users.signupStore") }}" method="post" onsubmit="return checkInputs()">
|
||||
@csrf
|
||||
<label hidden id="erroremail">E-mail already exists</label>
|
||||
<label hidden id="errornotsamepass" for="errormesseages">Password dosen't match</label>
|
||||
<label hidden id="errorphone">Phone number already in use</label>
|
||||
<input class="appinput" type="text" name="name_first" placeholder="Firstname" required>
|
||||
<input class="appinput" type="text" name="name_last" placeholder="Lastname" required>
|
||||
<input class="appinput" type="email" id="email" name="email" placeholder="E-mail" required>
|
||||
<input class="appinput" type="password" pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}" title="Must contain at least one number and one uppercase and lowercase letter, and at least 8 or more characters" name="password" id="password1" placeholder="Password" required>
|
||||
<input class="appinput" type="password" name="password2" id="password2" placeholder="Confirm password" required>
|
||||
<input class="appinput" type="tel" id="phone" name="phone" placeholder="Phone number" pattern="[0-9]{2}[0-9]{2}[0-9]{2}[0-9]{2}" required class="mb-2rem">
|
||||
<input class="btn btn-dark" type="submit" id="disable" value="Sign up">
|
||||
<input onclick="window.history.back()" class="btn btn-dark text-center " value="Back">
|
||||
</form>
|
||||
@if (\App\AllowAction::query()->where('action', '=', 'Registering')->first()->allow == true)
|
||||
<form action="{{ route("users.signupStore") }}" method="post" onsubmit="return checkInputs()">
|
||||
@csrf
|
||||
<label hidden id="erroremail">E-mail already exists</label>
|
||||
<label hidden id="errornotsamepass" for="errormesseages">Password dosen't match</label>
|
||||
<label hidden id="errorphone">Phone number already in use</label>
|
||||
<input class="appinput" type="text" name="name_first" placeholder="Firstname" required>
|
||||
<input class="appinput" type="text" name="name_last" placeholder="Lastname" required>
|
||||
<input class="appinput" type="email" id="email" name="email" placeholder="E-mail" required>
|
||||
<input class="appinput" type="password" pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}" title="Must contain at least one number and one uppercase and lowercase letter, and at least 8 or more characters" name="password" id="password1" placeholder="Password" required>
|
||||
<input class="appinput" type="password" name="password2" id="password2" placeholder="Confirm password" required>
|
||||
<input class="appinput" type="tel" id="phone" name="phone" placeholder="Phone number" pattern="[0-9]{2}[0-9]{2}[0-9]{2}[0-9]{2}" required class="mb-2rem">
|
||||
<input class="btn btn-dark" type="submit" id="disable" value="Sign up">
|
||||
<input onclick="window.history.back()" class="btn btn-dark text-center" value="Back">
|
||||
</form>
|
||||
@else
|
||||
<h3 class="text-white text-center mt-3">Der er ikke åbent for registrering af elever lige nu</h3>
|
||||
@endif
|
||||
</main>
|
||||
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user