Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html ng-app="myApp">
- <head>
- <meta charset="UTF-8">
- <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css">
- <link rel="stylesheet" type="text/css" href="css/lattes.css"/>
- <title>Lattes</title>
- </head>
- <body>
- <h1>Buscador lattes</h1>
- <div class="col-xs-12 col-md-12" id="teste">
- <!--Com botão-->
- <input type="text" placeholder="Search" ng-model="busca">
- <button type="submit" ng-click="buscar(busca)" class="btn btn-success">
- <i classe="glyphicon glyphicon-search"></i></button>
- <!--Sem botão-->
- <!-- <input type="text" ng-model="data"ng-keyup="procurar(data)"> -->
- </div>
- <!--CCM-->
- <div id="lista" ng-controller="customersCtrl_ccm" , ng-controller="customersCtrl_mhlb">
- <table class="table table-hover table-bordered table-striped " border="1">
- <thead>
- <tr>
- <th>Data</th>
- <th>Artigo</th>
- <th>Qualis</th>
- <th>Evento</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="x in lista | filter:search">
- <td>{{x.ano}}</td>
- <td>{{x.artigo}}</td>
- <td>{{x.qualis}}</td>
- <td>{{x.evento}}</td>
- </tr>
- </tbody>
- </table>
- <!--CCM-->
- <!--MHLB-->
- <table class="table table-hover table-bordered table-striped " border="1">
- <!-- <thead>
- <tr>
- <th>Data</th>
- <th>Artigo</th>
- <th>Qualis</th>
- <th>Evento</th>
- </tr>
- </thead> -->
- <tbody>
- <tr ng-repeat="m in lista | filter:search">
- <td>{{m.ano}}</td>
- <td>{{m.artigo}}</td>
- <td>{{m.qualis}}</td>
- <td>{{m.evento}}</td>
- </tr>
- </tbody>
- </table>
- </div>
- <!--MHLB-->
- </body>
- <script src="lib/angular.js"></script>
- <!--<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>-->
- <script type="text/javascript" src="js/app.js"></script>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement