<div data-ng-include="'views/header.html'"></div><div class="container"><div my-title title="{{'CONFIGURAR_DESTAQUES' | translate}}"></div><div class="row"><div class="col-md-12 text-right"><button class="btn blue" style="margin-right:5px;" translate="CRIAR_DESTAQUE" data-ng-click="newDestaque()"></button> <button class="btn blue" style="margin-right:5px;" translate="GUARDAR" data-ng-click="saveDestaque()"></button></div><div class="col-md-12" style="margin-top:20px;"><div class="col-md-6" style="margin:0;padding:0;"><div class="col-md-12"><i class="fa fa-list"></i> {{'LISTA_DESTAQUES' | translate}} - <i class="fa fa-folder-o"></i> {{ destaques.length }} doc(s)</div><div class="col-md-12" style="margin-top:10px;"><div class="input-group"><input type="text" class="form-control" placeholder="{{'PESQUISA' | translate}}" data-ng-model="filter.Titulo"><div class="input-group-addon"><i class="glyphicon glyphicon-search"></i></div></div></div><div class="col-md-12" style="margin-top:10px;"><table class="table table-bordered table-condensed table-responsive" data-ng-table="tableDestaques"><thead><tr><th width="20%"><i class="fa fa-calendar"></i></th><th translate="TITULO"></th><th width="50px" title="{{'APRESENTAR_DESTAQUE_ESQUERDA_DIREITA' | translate}}">E &nbsp; D</th><th width="15%"><i class="fa fa-gears"></i></th></tr></thead><tr data-ng-repeat="item in $data"><td data-title="''" align="center">{{ item.Data }}</td><td data-title="'TITULO' | translate">{{ item.Titulo }}</td><td data-title="''"><input type="checkbox" data-ng-model="item.Posicao" data-ng-true-value="'E'" data-ng-click="checkOnlyOnePosition(item)"> &nbsp; <input type="checkbox" data-ng-model="item.Posicao" data-ng-true-value="'D'" data-ng-click="checkOnlyOnePosition(item)"></td><td data-title="''" align="center"><a href title="{{'EDITAR' | translate}}" data-ng-click="editDestaque(item)"><i class="fa fa-edit"></i></a> &nbsp; <a href title="{{'ELIMINAR' | translate}}" data-ng-click="deleteDestaque(item)"><i class="fa fa-trash-o"></i></a> &nbsp; <a href title="{{'PRE_VISUALIZAR' | translate}}" data-ng-click="previewDestaque(item)"><i class="fa fa-search"></i></a></td></tr></table></div></div><div class="col-md-6" style="margin:0;padding:0;"><div class="col-md-8"><div class="form-group"><label translate="TITULO"></label> <input type="text" class="form-control" placeholder="{{'TITULO_DESTAQUE' | translate}}" data-ng-model="destaque.Titulo"></div></div><div class="col-md-4"><div class="form-group"><label translate="DATA"></label><div class="input-group date"><input class="form-control" data-provide="datepicker" data-date-format="dd-mm-yyyy" data-date-autoclose="true" data-ng-model="destaque.Data"> <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span></div></div></div><div class="col-md-12"><div class="form-group"><label translate="CORPO_MENSAGEM"></label><div class="destaques-box"><textarea class="form-control" style="height:100%;" data-ng-model="destaque.Descricao"></textarea></div></div></div><div class="col-md-12"><div class="form-group"><label translate="FONTE"></label> <input type="text" class="form-control" placeholder="{{'FONTE' | translate}}" data-ng-model="destaque.Fonte"></div></div><div class="col-md-12"><div class="form-group"><label translate="URL_FONTE"></label> <input type="text" class="form-control" placeholder="{{'URL_FONTE' | translate}}" data-ng-model="destaque.UrlFonte"></div></div></div></div></div></div><div data-ng-include="'views/footer.html'"></div>