Arranging elements in the bootstrap header panel

0

Example

    <head>
        <title>Bootstrap Example</title>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script><scriptsrc="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    </head>
      
    <body>
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title  pull-left"><i class="fa fa-calendar-check-o" style="font-size:20px;width:30px;"></i> Eventos Vinculados</h3>
                <div class="input-group">
                    <input type="text" class="form-control" ng-model="FiltroTabela" placeholder="Buscar..." style="width:300px" />
                    <span class="input-group-btn"><i class="fa fa-search"></i></span>
                    <button type="button" class="btn btn-primary" ng-click="novoEvento()"><span class="btn-label"><i class="glyphicon glyphicon-plus"></i></span> Novo </button>

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

To align the title on the left I used panel-title pull-left but in cases where it will be used input-groups and btn-groups What would be the code to set elements alignment to the right?

    
asked by anonymous 02.10.2017 / 16:02

0 answers