Skip to content

Commit

Permalink
Ajuste vista controlador categorías
Browse files Browse the repository at this point in the history
Ajuste vista controlador categorías
  • Loading branch information
FazeElian authored Nov 21, 2023
2 parents 7ed4ee6 + 6e77ff4 commit 5cc2707
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 10 deletions.
8 changes: 4 additions & 4 deletions app/Http/Controllers/CategoryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function index()
{
$categories = Category::paginate();

return view('admin.category.index', compact('categories'))
return view('Admin.category.index', compact('categories'))
->with('i', (request()->input('page', 1) - 1) * $categories->perPage());
}

Expand All @@ -32,7 +32,7 @@ public function index()
public function create()
{
$category = new Category();
return view('admin.category.create', compact('category'));
return view('Admin.category.create', compact('category'));
}

/**
Expand Down Expand Up @@ -60,7 +60,7 @@ public function show($id)
{
$category = Category::find($id);

return view('admin.category.show', compact('category'));
return view('Admin.category.show', compact('category'));
}

/**
Expand All @@ -73,7 +73,7 @@ public function edit($id)
{
$category = Category::find($id);

return view('admin.category.edit', compact('category'));
return view('Aqdmin.category.edit', compact('category'));
}

/**
Expand Down
28 changes: 22 additions & 6 deletions public/assets/css/Admin/modules/Inventories/inventories.css
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@
.opciones-inventario{
display: flex;
width: 100%;
height: 35px;
height: 37px;
margin-top: 60px;
justify-content: space-between;
}
Expand All @@ -416,17 +416,18 @@
/* Botón: Registrar inventario */
.bott-guardar-cambios{
display: flex;
width: 200px;
width: auto;
background-color: #2121E3;
border: 1px solid black;
border-radius: 7px;
justify-content: center;
align-items: center;
padding: 10px 2rem 10px;
}

.bott-guardar-cambios a h2{
color: white;
font-size: 17px;
font-size: 18px;
}

/* @Media */
Expand Down Expand Up @@ -735,7 +736,7 @@
/* Botón: Registrar inventario */
.bott-guardar-cambios{
display: flex;
width: 180px;
width: auto;
background-color: #2121E3;
border: 1px solid black;
border-radius: 7px;
Expand All @@ -747,6 +748,11 @@
color: white;
font-size: 15px;
}

.no-records-inventories{
height: 30px;
font-size: 12px;
}
}

/* @media 768px */
Expand Down Expand Up @@ -877,6 +883,11 @@
.btn-editar-inventario h2, .btn-eliminar-inventario h2{
display: none;
}

.no-records-inventories{
height: 25px;
font-size: 10px;
}
}

@media (Max-width: 425px){
Expand Down Expand Up @@ -947,7 +958,7 @@
height: 15px;
color: white;
color: black;
margin-top: 3px;
margin-top: 1px;
}

.item-fila{
Expand Down Expand Up @@ -1021,7 +1032,7 @@

/* Botón: Guardar cambios */
.bott-guardar-cambios{
width: 100px;
width: auto;
height: 25px;
border-radius: 7px;
}
Expand All @@ -1030,4 +1041,9 @@
color: white;
font-size: 8px;
}

.no-records-inventories{
height: 20px;
font-size: 8px;
}
}
Binary file not shown.

0 comments on commit 5cc2707

Please sign in to comment.