ToniCalfim / adiantiFramework

Estudos de Adianti Framework
0 stars 0 forks source link

btn #3

Open ToniCalfim opened 2 years ago

ToniCalfim commented 2 years ago

btn btn-primary btn btn-secondary btn btn-success btn btn-danger btn btn-warning btn btn-info btn btn-light btn btn-dark btn btn-link

ToniCalfim commented 2 years ago
<div class="footer-actions">

    <div class="btn btn-danger" style="float: right" id="close-modal"> Fechar </div>

<div>
<script>

    $('#close-modal').click(

        function () {

            $('[widget="TWindow"]').remove();

        }

    );

</script>
ToniCalfim commented 2 years ago
<div class="footer-actions">

    <a class="btn btn-default" generator="adianti" href="index.php?class=SidePageView&method=onClose&static=1"
        style="float: left">
        <i class="fa fa-times red" aria-hidden="true"></i>
        Close
    </a>

</div>
public static function onClose() {

    TScript::create("Template.closeRightPanel()");

}
ToniCalfim commented 2 years ago

https://getbootstrap.com/docs/5.1/components/buttons/