This commit is contained in:
afornerot 2019-09-13 14:19:11 +02:00
parent 065f2f950c
commit 7b0327be3f
7 changed files with 70 additions and 21 deletions

View File

@ -8,7 +8,7 @@ INSERT IGNORE INTO `niveau01` (`id`, `label`, `siren`) VALUES
(-100, 'DRAAF', '130007107');
INSERT IGNORE INTO `user` (`id`, `niveau01_id`, `username`, `firstname`, `lastname`, `password`, `email`, `avatar`, `role`,`siren`,`authlevel`) VALUES
(-100, -100, 'admin', 'Administrateur', 'draaf', '{SSHA}wTxgoh4oDctfUvQYMDCurI6uofNO2oRA
(-100, -100, 'admin', 'Administrateur', 'draaf', '{SSHA}euZCgZjWhBu0xUZI9lPK2ncV9oaB+Jqo
', 'admin@ldapbundle.ac-arno.fr', 'admin.jpg', 'ROLE_ADMIN', '130007107', 'simple');

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -4,7 +4,7 @@
{% set header = "transnum-header.jpg" %}
{% set heightheader = "" %}
{% set colormain = "22a7f0" %}
{% set colormain = "2176ad" %}
{% set fontcolorhover = "" %}
{% set colorbody = "" %}

View File

@ -1,21 +1,11 @@
#appmenu {
background-image: linear-gradient(90deg,rgba(34,167,240,1),rgba(34,167,240,0.1)),url(/ninegate/bundles/cadolescore/themes/transnum/transnum-header.jpg);
background-position-y: -100px;
background-size: cover;
}
.widgetheader .title {
font-size: 25px;
}
.widget-bordered {
border: none !important;
}
.widget-bordered .widgetbody {
margin-top: 5px;
}
.grid .grid-small, .grid .grid-small .item-link {
height: 130px;
@ -23,13 +13,69 @@
.widgetheader, .widgetbody, .grid-item-content, .widgetbody .list-item, .grid-item, .cat-list-feed {
border-radius: 6px;
border-radius: 10px;
}
.grid-preview .caption {
border-radius: 0px 0px 6px 6px;
border-radius: 0px 0px 10px 10px;
}
.grid-preview img {
border-radius: 6px 6px 0px 0px;
border-radius: 10px 10px 0px 0px;
}
.widget-bordered .grid-item-content {
background-color: transparent ! important;
}
.widget-bordered {
border: none !important;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
background-color: transparent;
border-radius: 10px;
}
.widget-bordered .widgetheader {
border-radius: 10px 10px 0px 0px;
}
.widget-bordered .widgetbody {
border-radius: 0px 0px 10px 10px;
}
.widget-bordered .grid-list {
border-radius: 0px;
}
.grid .grid-preview {
width: 15%;
min-width: 160px;
}
.grid .grid-preview .grid-item-title {
font-size:14px;
line-height: 8px;
}
.grid .grid-preview .grid-item-title small {
font-size:9px;
}
.widget-bordered .grid-preview img {
border-radius: 0px;
}
.widget-bordered .widget-event {
background-color: #fff !important;
padding:5px 10px 5px 10px !important;
border-radius: 10px;
color: #000 !important;
margin-top: 5px;
}
.mychat .message {
border-radius: 10px;
}

View File

@ -646,7 +646,7 @@ class InitDataCommand extends ContainerAwareCommand
$entityWidget->setOpened(true);
$entityWidget->setAccess(["config","user","group"]);
$parameter = json_decode('{"fields": [{"id": "modedesktop", "loc": "col1", "type": "desktopmode", "label": "Mode Affichage", "value": "2", "mandatory": "true"},{"id": "Applications", "loc": "col1", "type": "appexternal", "label": "Applications à affichier", "value": "", "mandatory": "false"}]}');
$parameter = json_decode('{"fields": [{"id": "modedesktop", "loc": "col1", "type": "desktopmode", "label": "Mode Affichage", "value": "2", "mandatory": "true"},{"id": "appexternal", "loc": "col1", "type": "appexternal", "label": "Applications à affichier", "value": "", "mandatory": "false"}]}');
$entityWidget->setParameter($parameter);
$em->persist($entityWidget);
}

View File

@ -55,8 +55,9 @@
{% if loop.index ==1 %}
{% set haveitem=true %}
{% if itemcategorys|length > 1 %}
<h3 class="grid-title" style="{{ colorbodyfont }}" data-idcategory="{{ itemcategory.id }}">{{ itemcategory.label }}</h3>
{% endif %}
<div class="grid clearfix">
<div class="grid-sizer {{ stylegrid }}"></div>

View File

@ -68,7 +68,7 @@
<div style="margin-top:15px; font-weight:bold; font-size:18px;">{{ libday ~ " " ~ dateeventstart|date("d/m/Y") }}</div>
{% endif %}
<div style="background-color:{{ event.color }}; color: #FFF; padding:2px;">
<div class="widget-event" style="background-color:{{ event.color }}; color: #FFF; padding:2px;">
{% if not event.allDay %}
{{ event.start | date("H:i") }} -
{%endif%}
@ -79,6 +79,8 @@
{% endfor %}
{% endfor %}
<div style="cursor:pointer; text-align: right; margin-top:20px;"><a onClick="showFrameitem('calendar','{{url }}',true)" style="{{ stylewidgetbody }}">Voir mes Agendas</a></div>
</div>
{% endif %}
</div>