Eliminadas admin_login y compras_login, usando login genérico
This commit is contained in:
parent
fdd3232345
commit
faa947e6a7
4 changed files with 2 additions and 42 deletions
|
@ -9,7 +9,7 @@ class AdminController extends Controller
|
||||||
{
|
{
|
||||||
public function show()
|
public function show()
|
||||||
{
|
{
|
||||||
return view('auth/admin_login');
|
return view('auth/login');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function index() {
|
public function index() {
|
||||||
|
|
|
@ -37,7 +37,7 @@ class ComprasController
|
||||||
|
|
||||||
public function show()
|
public function show()
|
||||||
{
|
{
|
||||||
return view('auth/compras_login');
|
return view('auth/login');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function cargarCanasta(Request $request): JsonResponse
|
public function cargarCanasta(Request $request): JsonResponse
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<title>{{ config('app.name', 'Pedidos del MPS') }}</title>
|
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
|
|
||||||
<link rel="stylesheet" href="{{ mix('css/app.css') }}">
|
|
||||||
<script src="https://kit.fontawesome.com/9235d1c676.js" crossorigin="anonymous"></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="root">
|
|
||||||
<form method="post" action="/login">
|
|
||||||
@csrf
|
|
||||||
<app-login></app-login>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
<script src="{{ mix('js/app.js') }}" defer></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,20 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<title>{{ config('app.name', 'Pedidos del MPS') }}</title>
|
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
|
|
||||||
<link rel="stylesheet" href="{{ mix('css/app.css') }}">
|
|
||||||
<script src="https://kit.fontawesome.com/9235d1c676.js" crossorigin="anonymous"></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="root">
|
|
||||||
<form method="post" action="/login">
|
|
||||||
@csrf
|
|
||||||
<app-login></app-login>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
<script src="{{ mix('js/app.js') }}" defer></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Loading…
Add table
Reference in a new issue