This repository has been archived by the owner on Jul 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sistemato il login, il tfalogin e la dashboard
- Loading branch information
Showing
5 changed files
with
52 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,44 @@ | ||
@extends('layouts.app') | ||
<!--TODO pagina tfa --> | ||
@section('content') | ||
<div class="container"> | ||
<div class="row justify-content-center"> | ||
<div class="col-md-8"> | ||
<div class="card"> | ||
<div class="card-header">{{ __('Login') }} <i class="fa fa-home"></i> </div> | ||
|
||
<div class="card-body"> | ||
<form method="POST" action="{{ route('login') }}"> | ||
@csrf | ||
|
||
<div class="form-group row"> | ||
<label for="code" class="col-md-4 col-form-label text-md-right">Codice 2FA</label> | ||
|
||
<div class="col-md-6"> | ||
<input id="code" type="text" class="form-control @error('email') is-invalid @enderror" name="code"> | ||
|
||
@error('email') | ||
<span class="invalid-feedback" role="alert"> | ||
<strong>{{ $message }}</strong> | ||
</span> | ||
@enderror | ||
<div class="container"> | ||
<div class="row justify-content-center"> | ||
<div class="col-xl-10 col-lg-12 col-md-9"> | ||
<div class="card o-hidden border-0 shadow-lg my-5"> | ||
<div class="card-body p-0"> | ||
<div class="row"> | ||
<div class="col-lg-6"> | ||
<div class="p-5"> | ||
<div class="text-center"> | ||
<h1 class="h4 text-gray-900 mb-4">Codice TFA <i class="fab fa-telegram text-primary"></i> </h1> | ||
<p>Accedi a <strong>Telegram</strong> e inserisci il codice che ti è stato inviato.</p> | ||
</div> | ||
</div> | ||
<form class="user" method="POST" action="{{ route('login') }}"> | ||
@csrf | ||
<div class="form-group"> | ||
<input id="code" type="text" | ||
class="form-control form-control-user form-codice-tfa @error('email') is-invalid @enderror" | ||
name="code" placeholder="Inserisci il codice"> | ||
|
||
<div class="form-group row mb-0"> | ||
<div class="col-md-8 offset-md-4"> | ||
<button type="submit" class="btn btn-primary"> | ||
{{ __('Login') }} | ||
</button> | ||
@error('email') | ||
<span class="invalid-feedback" role="alert"> | ||
<strong>{{ $message }}</strong> | ||
</span> | ||
@enderror | ||
</div> | ||
|
||
</div> | ||
<div class="form-group mb-0"> | ||
<button type="submit" class="btn btn-primary btn-user btn-block"> | ||
Invia codice <i class="fas fa-sign-in-alt"></i> | ||
</button> | ||
</div> | ||
</form> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="col-lg-6 d-none d-lg-block bg-login-image"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters