svg
This commit is contained in:
parent
746e3453fd
commit
c5564cfdd6
|
@ -47,7 +47,7 @@ INSERT IGNORE INTO `config` (`order`, `visible`, `changeable`, `required`, `type
|
||||||
('002', 1, 0, 1, 'string', 'version', '1.0.0', '', 'Version de l\'application'),
|
('002', 1, 0, 1, 'string', 'version', '1.0.0', '', 'Version de l\'application'),
|
||||||
('003', 1, 1, 0, 'string', 'subappname', 'Portail', '', 'Le sous titre de votre site'),
|
('003', 1, 1, 0, 'string', 'subappname', 'Portail', '', 'Le sous titre de votre site'),
|
||||||
('004', 1, 1, 1, 'logo', 'logo', 'uploads/logo/logo.png', '', 'Le logo de votre site'),
|
('004', 1, 1, 1, 'logo', 'logo', 'uploads/logo/logo.png', '', 'Le logo de votre site'),
|
||||||
('005', 1, 0, 0, 'theme', 'theme', '', '', 'Le theme de votre site'),
|
('005', 0, 1, 0, 'theme', 'theme', '', '', 'Le theme de votre site'),
|
||||||
|
|
||||||
|
|
||||||
('040', 1, 1, 1, 'boolean', 'fgheader', '1', '', 'Utiliser une image en bannière du site'),
|
('040', 1, 1, 1, 'boolean', 'fgheader', '1', '', 'Utiliser une image en bannière du site'),
|
||||||
|
|
|
@ -92,6 +92,7 @@ class ConfigType extends AbstractType
|
||||||
"Righteous-Regular" => "Righteous-Regular",
|
"Righteous-Regular" => "Righteous-Regular",
|
||||||
"Signika-Regular" => "Signika-Regular",
|
"Signika-Regular" => "Signika-Regular",
|
||||||
"Teko-Bold" => "Teko-Bold",
|
"Teko-Bold" => "Teko-Bold",
|
||||||
|
"LuckiestGuy-Regular" => "LuckiestGuy-Regular",
|
||||||
);
|
);
|
||||||
|
|
||||||
$builder->add("value", ChoiceType::class,
|
$builder->add("value", ChoiceType::class,
|
||||||
|
|
|
@ -116,4 +116,10 @@
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'LuckiestGuy-Regular';
|
||||||
|
src: url('../fonts/typo/LuckiestGuy-Regular.ttf') format('truetype');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
Binary file not shown.
|
@ -46,7 +46,9 @@
|
||||||
<div class="widgetbody" style="{{ stylewidgetbody }}">
|
<div class="widgetbody" style="{{ stylewidgetbody }}">
|
||||||
{% if bookmarks is not empty %}
|
{% if bookmarks is not empty %}
|
||||||
<div class="bookmark-container">
|
<div class="bookmark-container">
|
||||||
|
{% if items is not empty %}
|
||||||
<h3 class="grid-title" data-idcategory="bookmark" style="{{ colorbodyfont }}">Favoris</h3>
|
<h3 class="grid-title" data-idcategory="bookmark" style="{{ colorbodyfont }}">Favoris</h3>
|
||||||
|
{% endif %}
|
||||||
<div class="grid clearfix">
|
<div class="grid clearfix">
|
||||||
<div class="grid-sizer {{ stylegrid }}"></div>
|
<div class="grid-sizer {{ stylegrid }}"></div>
|
||||||
<div class="grid-gutter-sizer"></div>
|
<div class="grid-gutter-sizer"></div>
|
||||||
|
@ -93,15 +95,29 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% set mycategs = [] %}
|
||||||
{% for itemcategory in itemcategorys %}
|
{% for itemcategory in itemcategorys %}
|
||||||
{% set haveitem=false %}
|
{% set haveitem=false %}
|
||||||
|
|
||||||
|
{% for item in items if item.itemcategory==itemcategory %}
|
||||||
|
|
||||||
|
{% if loop.index ==1 %}
|
||||||
|
{% set mycategs = mycategs|merge({ (loop.index) : itemcategory}) %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% for itemcategory in mycategs %}
|
||||||
|
{% set haveitem=false %}
|
||||||
|
|
||||||
{% for item in items if item.itemcategory==itemcategory %}
|
{% for item in items if item.itemcategory==itemcategory %}
|
||||||
|
|
||||||
{% if loop.index ==1 %}
|
{% if loop.index ==1 %}
|
||||||
{% set haveitem=true %}
|
{% set haveitem=true %}
|
||||||
|
|
||||||
|
{% if mycategs|length > 1 %}
|
||||||
<h3 class="grid-title" style="{{ colorbodyfont }}" data-idcategory="{{ itemcategory.id }}">{{ itemcategory.label }}</h3>
|
<h3 class="grid-title" style="{{ colorbodyfont }}" data-idcategory="{{ itemcategory.id }}">{{ itemcategory.label }}</h3>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="grid clearfix">
|
<div class="grid clearfix">
|
||||||
<div class="grid-sizer {{ stylegrid }}"></div>
|
<div class="grid-sizer {{ stylegrid }}"></div>
|
||||||
|
|
Loading…
Reference in New Issue