ro
3d17771f76
The first part of improving the API is removing all admin functions from the front end so those no admin methods will be available client side. The urls in the FipamoAdmin js file have been changed to post directly to the system and they are handled from there. To account for this change controller routes for every standard method have been created for better organization and readability. The FipamoAdmin js file will be integrated with the rest of the front end code and will not be seperate library
16 lines
788 B
PHP
16 lines
788 B
PHP
<section class="login">
|
|
<div>
|
|
<img alt="fipamo logo" id="the-logo" class="logo-medium" src="/assets/images/global/fipamo-logo-secondary.svg"/>
|
|
</div>
|
|
<form action="/login" method="post" enctype="multipart/form-data">
|
|
<label class="inline">handle</label><input class="input-light" type="text" name="handle" class="inline" placeholder="Handle" required/>
|
|
<label class="inline">password</label><input class="input-light" type="password" name="password" class="inline" placeholder="Password" required/>
|
|
@if($errors->any())
|
|
<input type="submit" value="{{$errors->first()}}" name="submit_button">
|
|
@else
|
|
<input type="submit" value="Knock Knock" name="submit_button">
|
|
@endif
|
|
@csrf
|
|
</form>
|
|
</section>
|