This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="CompanyBaseRow" class="row" data-array="0"> | |
<div id="CompanyRow0"> | |
<div class="col-sm-6"> | |
<div class="form-group"> | |
<h5>Companies <span class="text-danger">*</span></h5> | |
{{ Form::select('[item][0][new_company_id]', $platformsDev, null, ['class' => 'select2-single', 'id' => 'companies0', 'placeholder' => 'Select Company', 'required' => false]) }} | |
</div> | |
</div> | |
<div class="col-sm-6"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
echo '<div id="info_telefone" class="info_telefone" data-array="0">'; | |
echo $this->Form->input('ClientesTelefone.0.telefone', array( | |
'before' => '<div class="section row mb10"><label class="field-label col-md-2 text-center">' . __("Telefone") . ':</label><div class="col-md-3">', | |
'between' => '<label class="field prepend-icon">', | |
'after' => '<label class="field-icon"><i class="fa fa-phone"></i></label></label></div><div id="divBtnAddTelefone" class="col-md-3"><button id="btn_add_telefone" type="button" class="btn btn-info btn-alt btn-block"> + Adicionar Telefone</button></div></div>', | |
'required' => false, | |
'class' => 'gui-input clientes_telefone fone', | |
'label' => false) | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@foreach ($sistemas as $sistema) | |
<div class="section row mbn"> | |
<div class="col-md-12 pl15"> | |
<div class='col-xs-6'> | |
<div class="section hide"> | |
<label for="plano_sistema_id" class="field prepend-icon"> | |
{{ Form::hidden('plano_sistema_id['.$sistema->id.']', $sistema->id, ['class' => 'form-control', 'id' => 'plano_sistema_id_'.$sistema->id, 'placeholder' => '', 'required' => false]) }} | |
</label> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<transition-group tag="tbody" name="flip-list"> | |
<tr v-for="(item, index) in lista" :key="index" :id="'linha_'+item.id"> | |
<template v-for="field in fields"> | |
<template v-for="(i, k) in item"> | |
<td :class="((k === 0) ? 'text-right' : 'text-center')" v-if="(k == field)" v-html="i.toUpperCase()" :key="k"></td> | |
</template> | |
</template> | |
<td class="actions text-center"> | |
<div class="btn-group" role="group" aria-label="Botões de Ação"> | |
<a href="#" id="editar" @click="edita(item.id)" class="btn btn-sm btn-success" alt="Editar" title="Editar"><i class="glyphicon glyphicon-edit"></i> </a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Illuminate\Database\Seeder; | |
class BancosTableSeeder extends Seeder | |
{ | |
/** | |
* Run the database seeds. | |
* | |
* @return void |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Os dados aqui, são recebidos pela view DO PLUGIN Dropzone que é renderizada quando eu chamo (neste exemplo: eventos/galeria/id) | |
#O próprio DropZoneJS faz via loop, a inserção das imagens, por isto é um save simples sem precisar utilizar arrays, etc... | |
public function admin_add($file = null) { | |
if ($this->request->is('post')) { | |
if ($this->request->is('ajax')) { | |
$this->request->data['Dropzone'] = $_FILES['file']; | |
$this->request->data['Dropzone']['model_name'] = CakeSession::read('DropZoneModel'); | |
$this->request->data['Dropzone']['model_id'] = CakeSession::read('DropZoneModelId'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once('../inc/protege.php'); | |
require_once('../../inc/conexao.php'); | |
$conn = open_database(); | |
?> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$anterior = $pg - 1; | |
$proximo = $pg + 1; | |
?> | |
<div id="bottom" class="row"> | |
<div class="col-md-12"> | |
<ul class="pagination"> | |
<?php | |
if($anterior == 0) { | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, ViewChild, ElementRef } from '@angular/core'; | |
import { IonicPage, NavController, NavParams, LoadingController } from 'ionic-angular'; | |
import { Http } from '@angular/http' | |
import 'rxjs/add/operator/map' | |
import 'rxjs/add/operator/catch' | |
import { Geolocation } from '@ionic-native/geolocation'; | |
import { GM_API } from '../../app.api' | |
import { ErrorHandler } from '../../app.error-handler' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Directive, HostListener, Input, ElementRef, forwardRef } from '@angular/core'; | |
import { NG_VALUE_ACCESSOR, ControlValueAccessor } from '@angular/forms'; | |
@Directive({ | |
selector: '[inputMask]', | |
providers: [{ | |
provide: NG_VALUE_ACCESSOR, | |
useExisting: InputMaskDirective, | |
multi: true |