takielias / tablar

Tablar: A Laravel Dashboard Preset Based on Tabler HTML Template + Vite. https://tablar.ebuz.xyz/docs
https://tablar.ebuz.xyz
MIT License
281 stars 32 forks source link

2 body html tags in source code and html structure not correct #36

Closed raveiga closed 10 months ago

raveiga commented 10 months ago

Hello.

I installed Tablar 4.0 in Laravel 10.31.0.

Examining the source code of the page, the very top begins with:

<body>
<div class="page">
    <!-- Top Navbar -->
    <header class="navbar navbar-expand-md d-print-none"
                    data-bs-theme="light"
    >
.... more html code here....

</footer>
    </div>
</div>
</body>

And in the middle of the page after the </body> tag appears:

<!doctype html>
        <html lang="en">
                <head>
            <meta charset="utf-8"/>
            <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
            <meta http-equiv="X-UA-Compatible" content="ie=edge"/>

            <title>
                                Tablar                            </title>
            <title>Dashboard</title>
            <!-- CSS files -->
.... more html code here....                    
                            </head>
        <body class="combo" >
                <div class="modal modal-blur fade" id="modal-report" tabindex="-1" role="dialog" aria-hidden="true">

.... more html code here....

I tried to export all views and is doing the same.

Any idea, how to fix this?

Thank you.

takielias commented 10 months ago

@raveiga Could you please share the View Page source?

raveiga commented 10 months ago

Hi, you can see a test page with the default layout like in docs example:

https://ficharng.iessanclemente.net:65001/ https://ficharng.iessanclemente.net:65001/home https://ficharng.iessanclemente.net:65001/test

To login: test@test.es abc123..

takielias commented 10 months ago

@raveiga Thanks for your precious support. Could you please update the package & let me know your feedback?

raveiga commented 10 months ago

Hi, again.

I updated the library with composer upgrade and now everything looks ok !

Thanks a million for the quick solution.

Regards. Rafa.