Skip to content

Instantly share code, notes, and snippets.

View HenderOrlando's full-sized avatar

Hender Orlando HenderOrlando

  • Pempo
View GitHub Profile
{% include '_xeditable.html.twig' with {
id: "",
clase: "",
placement: ""
name: "",
type: "",
pk: ,
url: '',
datos: {},
originalTitle: "",
{% include '_listGroup.html.twig' with {
group : [
{
url : 'url',
class : 'class',
attrs : 'attrs',
heading : 'heading',
text : 'text',
badge : {
url : 'url',
{% include '_listGroup_item.html.twig' with {
url : 'url',
class : 'class',
attrs : 'attrs',
heading : 'heading',
text : 'text',
badge : {
url : 'url',
class : 'class',
attrs : 'attrs',
String class Class
String id Id
String attrs Atributos extra
String tipo nombre de la etiqueta "audio", "video" o "img"
Collection sources [
{
String src Src o Url del Archivo de Audio, Video o Img
String type Tipo del Archivo o Video (audio/mp3, video/mp4, etc)
},
]
{% include '_botones.html.twig' with {
'buttonset': 'horizontal',
'botones' : [
{
'url' : '',
'label' : 'Index 1'
},
{
'url' : '',
'label' : 'Index 2'
{% include '_boton.html.twig' with {
'url' : '',
'label' : '',
'class' : '',
'list' : [],
'type' : '',
'sizing' : '',
'view' : '',
'es_item' : false,
'dropdown' : true,
{% include '_box.html.twig' with {
is_row : true,
num : null,
contenido : {
id : 'id_box',
url : 'url/del/header',
open : 'right',
texto : 'Encabezado',
cols : [{
tipo : "img",
{% include '_boxes.html.twig' with {
'boxes' : [
{
is_row : true,
num : null,
contenido : {
id : 'id_box',
url : 'url/del/header',
open : 'right',
texto : 'Encabezado',
Routing.generate('route_id', /* your params */, true)
@HenderOrlando
HenderOrlando / alert_confirm_BootstrapDialog.js
Last active August 29, 2015 13:57
Archivos de ejemplo para llamar el modal.
BootstrapDialog.alert('Hi Apple!', function(){
alert('Hi Orange!');
});
BootstrapDialog.confirm('Hi Apple, are you sure?', function(result){
if(result) {
alert('Yup.');
}else {
alert('Nope.');
}