Skip to content

Instantly share code, notes, and snippets.

@HenderOrlando
Created March 6, 2014 20:04
Show Gist options
  • Select an option

  • Save HenderOrlando/9398242 to your computer and use it in GitHub Desktop.

Select an option

Save HenderOrlando/9398242 to your computer and use it in GitHub Desktop.
{% include '_page_3Col.html.twig' with {
boxes_left : {
'side' : 'left',
'breadcrumb': {
ver_sesion : true,
search : {action: 'action/para/search'},
},
'boxes' : [
{
is_row : true,
contenido : {
cols : [{
texto : 'Nuevo Evento',
url : path('nuevo_eventos_usuario_ajax', {usuario: app.user.usernamecanonical}),
open : 'modal',
body : 'Nuevo Evento'
},{
texto : 'Nuevo Grupo',
url : path('agregar_grupo_ajax', {usuario: app.user.usernamecanonical}),
open : 'modal',
body : 'Nuevo Grupo'
},{
texto : 'Invita a amigos',
url : 'nuevo_amigo',
open : 'modal',
body : 'Invitar Amigo'
},{
texto : 'Agrega Archivos',
url : 'nueva_presentacion',
open : 'modal',
body : 'Nueva Presentación'
}
],
}
},
{
is_row : true,
contenido : {
id : 'resumen-mis-eventos',
url : path('list_eventos_usuario_ajax', {usuario: sesion.usernamecanonical}),
open : 'right',
texto : 'Mis Eventos',
cols : [{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
},{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
}
],
}
},
{
is_row : true,
separa : true,
num_separa : 2,
contenido : {
id : 'resumen-mis-presentaciones',
texto : 'Mis Presentaciones',
cols : [{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
},{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
}
],
}
},
{
is_row : true,
separa : true,
num_separa : 2,
contenido : {
id : 'resumen-mis-contactos',
texto : 'Mis Contactos',
cols : [{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
},{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
}
],
}
},
{
is_row : true,
separa : true,
num_separa : 2,
contenido : {
id : 'resumen-mis-grupos',
url : path('list_grupos_usuario_ajax', {usuario: sesion.usernamecanonical}),
open : 'right',
texto : 'Mis Grupos',
cols : [{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
},{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
}
],
}
},
{
is_row : true,
separa : true,
num_separa : 2,
contenido : {
id : 'resumen-mis-lugares',
texto : 'Mis Lugares',
cols : [{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
},{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
}
],
}
}
]
},
boxes_right : {
'side' : 'right',
'breadcrumb': {
ver_sesion : true,
search : {action: 'action/para/search'},
},
'boxes' : [
{
is_row : true,
contenido : {
cols : [{
texto : 'Nuevo Evento',
url : path('nuevo_eventos_usuario_ajax', {usuario: app.user.usernamecanonical}),
open : 'modal',
body : 'Nuevo Evento'
},{
texto : 'Nuevo Grupo',
url : path('agregar_grupo_ajax', {usuario: app.user.usernamecanonical}),
open : 'modal',
body : 'Nuevo Grupo'
},{
texto : 'Invita a amigos',
url : 'nuevo_amigo',
open : 'modal',
body : 'Invitar Amigo'
},{
texto : 'Agrega Archivos',
url : 'nueva_presentacion',
open : 'modal',
body : 'Nueva Presentación'
}
],
}
},
{
is_row : true,
contenido : {
id : 'resumen-mis-eventos',
url : path('list_eventos_usuario_ajax', {usuario: sesion.usernamecanonical}),
open : 'right',
texto : 'Mis Eventos',
cols : [{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
},{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
}
],
}
},
{
is_row : true,
separa : true,
num_separa : 2,
contenido : {
id : 'resumen-mis-presentaciones',
texto : 'Mis Presentaciones',
cols : [{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
},{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
}
],
}
},
{
is_row : true,
separa : true,
num_separa : 2,
contenido : {
id : 'resumen-mis-contactos',
texto : 'Mis Contactos',
cols : [{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
},{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
}
],
}
},
{
is_row : true,
separa : true,
num_separa : 2,
contenido : {
id : 'resumen-mis-grupos',
url : path('list_grupos_usuario_ajax', {usuario: sesion.usernamecanonical}),
open : 'right',
texto : 'Mis Grupos',
cols : [{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
},{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
}
],
}
},
{
is_row : true,
separa : true,
num_separa : 2,
contenido : {
id : 'resumen-mis-lugares',
texto : 'Mis Lugares',
cols : [{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
},{
tipo : "img",
body_sources : [
{
src : 'url/de/la/imagen'
}
]
},{
body : 'SIN DEFINIR'
}
],
}
}
]
},
boxes_center : {
media : {
tipo : 'img',
sources : [
{
src : 'url/a/la/imagen',
}
]
},
botones : {
'buttonset': 'horizontal',
'botones' : [
{
'url' : 'Enviar/Mensaje/de/Contacto/',
'label' : 'Enviar mensaje'
'type' : 'Info',
},
{
'url' : 'Administrar/perfil/',
'class' : 'open-panel-right',
'label' : 'Administrar'
'type' : 'primary',
'list' : [
{
'url' : 'bandeja/de/entrada/',
'class' : 'open-panel-right',
'label' : 'Bandeja de Entrada'
},
{
'url' : 'usuarios/',
'class' : 'open-panel-right',
'label' : 'Usuarios',
},
{
'url' : 'archivos/',
'class' : 'open-panel-right',
'label' : 'Galerías',
},
{
'url' : 'participacion/',
'class' : 'open-panel-right',
'label' : 'Participación',
},
],
},
},
infos : [
{
title :'texto 1',
numCol :1,
xeditable :{
valor : 'texto',
emptyText : 'vacío',
placeholder : 'texto',
}
},
{
title :'texto 2',
text :'texto 2',
numCol :1,
},
],
redes : [
{
name : 'facebook',
title : 'Facebook de ',
href : '/facebook/'
},
{
name : 'twitter',
title : 'Twitter de ',
href : '/twitter/'
},
],
},
pages_mmenu : [
{
title : 'Eventos',
canonical : 'eventos',
url : 'url/carga/items/',
},{
title : 'Presentaciones',
canonical : 'presentaciones',
url : 'url/carga/items/',
},{
title : 'Presentadores',
canonical : 'presentadores',
url : 'url/carga/items/',
},{
title : 'Lugares',
canonical : 'lugares',
url : 'url/carga/items/',
},{
title : 'Grupos',
canonical : 'grupos',
url : 'url/carga/items/',
}
]
} %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment