diff --git a/app/Models/Librilladora.php b/app/Models/Librilladora.php index f1c6117..6ca5db5 100644 --- a/app/Models/Librilladora.php +++ b/app/Models/Librilladora.php @@ -9,6 +9,7 @@ use Illuminate\Support\Facades\File; class Librilladora extends Model { use HasFactory; + public function prueba(string $fileName) { $mpdf = new \Mpdf\Mpdf(); @@ -21,7 +22,7 @@ class Librilladora extends Model { // // Require composer autoload // require_once __DIR__ . '/vendor/autoload.php'; $file = 'uploads/'.$fileName; - $pagecount = $mpdf->SetSourceFile($file); + $mpdf->SetSourceFile($file); $tplId = $mpdf->importPage(1); $mpdf->useTemplate($tplId); File::delete($file); diff --git a/public/css/welcome.css b/public/css/welcome.css index 2cefaee..a2c8308 100644 --- a/public/css/welcome.css +++ b/public/css/welcome.css @@ -1,8 +1,3 @@ -#logo { - width:80%; - margin: auto; -} - div.p-6 { text-align: center; } @@ -16,8 +11,18 @@ button, input[type="submit"] { } input.formulario { + margin: 0.5rem; background-color: white; border-radius: 5px; padding: 5px; } +input.formulario.numero-input { + width: 3rem; +} + +h1 { + margin-left: auto; + margin-right: auto; +} + diff --git a/resources/css/welcome.css b/resources/css/welcome.css new file mode 100644 index 0000000..e69de29 diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index dcc80f5..dc41c54 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -8,7 +8,7 @@ - +