forked from Coded/SIPRP
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
3.7 KiB
97 lines
3.7 KiB
<!-- Search View -->
|
|
<section id="SearchView" class="content">
|
|
|
|
<div class="page-header">
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<h3 class="m-b-none page-title">Pesquisa de Utentes</h3>
|
|
</div>
|
|
<div class="col-md-6">
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<form role="form" name="editForm" parsley-validate>
|
|
|
|
<div class="panel panel-default">
|
|
<div class="panel-body">
|
|
|
|
<div class="form-horizontal">
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">Empresa</label>
|
|
<div class="col-sm-10">
|
|
<input ng-model="searching.Name" type="text" class="form-control" typeahead />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">Estabelecimento</label>
|
|
<div class="col-sm-10">
|
|
<input type="text" class="form-control" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<div class="col-sm-12">
|
|
<button ng-click="list()" type="button" class="btn btn-sm btn-primary pull-right">
|
|
<span class="glyphicon glyphicon-search"></span> Pesquisar
|
|
</button>
|
|
<button ng-click="clear()" type="button" class="btn btn-sm btn-default pull-right m-r-5">
|
|
<span class="glyphicon glyphicon-remove"></span> Limpar
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th class="col-md-2 hidden-xs">campo 1</th>
|
|
<th class="col-md-3 hidden-xs">campo 2</th>
|
|
<th class="col-md-3">campo 3</th>
|
|
<th class="col-md-3">campo 4</th>
|
|
<th class="col-md-1"> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="item in testArray">
|
|
<td class="hidden-xs"><span ng-bind="item.campo1"></span></td>
|
|
<td class="hidden-xs"><span ng-bind="item.campo2"></span></td>
|
|
<td><span ng-bind="item.campo3"></span></td>
|
|
<td><span ng-bind="item.campo4"></span></td>
|
|
<td>
|
|
<button ng-click="edit(item)" type="button" class="btn btn-xs btn-default">
|
|
<span class="glyphicon glyphicon-pencil"></span>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div class="form-horizontal">
|
|
|
|
<div class="form-group">
|
|
<div class="col-sm-12">
|
|
<button ng-click="add()" type="button" class="btn btn-sm btn-success">
|
|
<span class="glyphicon glyphicon-plus"></span> Novo
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|