mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
Portal: Enhancements on ManageBrick badges UI.
SVN:trunk[5870]
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
{# itop-portal-dashlet-basic/tile.html.twig #}
|
{# itop-portal-dashlet-basic/tile.html.twig #}
|
||||||
{# Image brick tile layout #}
|
{# Image brick tile layout #}
|
||||||
|
|
||||||
<div class="col-xs-12 col-sm-{{ oBrick.GetWidth }} tile-chart">
|
<div class="col-xs-12 col-sm-{{ oBrick.GetWidth }}">
|
||||||
{% block pTileWrapper %}
|
{% block pTileWrapper %}
|
||||||
<a href="{{ app.url_generator.generate('p_manage_brick_display_as', {'sBrickId': sBrickId, 'sDisplayMode': oBrick.GetDisplayMode}) }}{% if app['combodo.portal.instance.routes'][oBrick.GetRouteName]['hash'] is defined %}#{{ app['combodo.portal.instance.routes'][oBrick.GetRouteName]['hash'] }}{% endif %}"
|
<a href="{{ app.url_generator.generate('p_manage_brick_display_as', {'sBrickId': sBrickId, 'sDisplayMode': oBrick.GetDisplayMode}) }}{% if app['combodo.portal.instance.routes'][oBrick.GetRouteName]['hash'] is defined %}#{{ app['combodo.portal.instance.routes'][oBrick.GetRouteName]['hash'] }}{% endif %}"
|
||||||
{% if app['combodo.portal.instance.routes'][oBrick.GetRouteName]['navigation_menu_attr'] is defined %}{% for key, value in app['combodo.portal.instance.routes'][oBrick.GetRouteName]['navigation_menu_attr'] %} {{ key }}="{{ value }}"{% endfor %}{% endif %}
|
{% if app['combodo.portal.instance.routes'][oBrick.GetRouteName]['navigation_menu_attr'] is defined %}{% for key, value in app['combodo.portal.instance.routes'][oBrick.GetRouteName]['navigation_menu_attr'] %} {{ key }}="{{ value }}"{% endfor %}{% endif %}
|
||||||
{% if oBrick.GetModal %}data-toggle="modal" data-target="#modal-for-all"{% endif %}
|
{% if oBrick.GetModal %}data-toggle="modal" data-target="#modal-for-all"{% endif %}
|
||||||
class="tile{# vertical-center#}"
|
class="tile tile_chart{# vertical-center#}"
|
||||||
id="brick-{{ oBrick.GetId }}"
|
id="brick-{{ oBrick.GetId }}"
|
||||||
data-brick-id="{{ oBrick.GetId }}">
|
data-brick-id="{{ oBrick.GetId }}">
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -344,17 +344,9 @@ footer {
|
|||||||
/**********************************/
|
/**********************************/
|
||||||
/* ManageBrick badge tile display */
|
/* ManageBrick badge tile display */
|
||||||
/**********************************/
|
/**********************************/
|
||||||
.home a.tile.tile_badge {
|
|
||||||
/*padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
margin-bottom: 25px;
|
|
||||||
height: 12em;
|
|
||||||
min-height: unset;*/
|
|
||||||
}
|
|
||||||
.home a.tile.tile_badge > div {
|
.home a.tile.tile_badge > div {
|
||||||
display: table;
|
display: table;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
/*padding: 12% 10% 0;*/
|
|
||||||
}
|
}
|
||||||
.home a.tile.tile_badge > div > div {
|
.home a.tile.tile_badge > div > div {
|
||||||
display: table-row;
|
display: table-row;
|
||||||
|
|||||||
@@ -368,18 +368,9 @@ footer{
|
|||||||
/**********************************/
|
/**********************************/
|
||||||
/* ManageBrick badge tile display */
|
/* ManageBrick badge tile display */
|
||||||
/**********************************/
|
/**********************************/
|
||||||
.home a.tile.tile_badge {
|
|
||||||
/*padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
margin-bottom: 25px;
|
|
||||||
height: 12em;
|
|
||||||
min-height: unset;*/
|
|
||||||
}
|
|
||||||
|
|
||||||
.home a.tile.tile_badge > div {
|
.home a.tile.tile_badge > div {
|
||||||
display: table;
|
display: table;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
/*padding: 12% 10% 0;*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.home a.tile.tile_badge > div > div {
|
.home a.tile.tile_badge > div > div {
|
||||||
@@ -390,11 +381,6 @@ footer{
|
|||||||
display: table-cell;
|
display: table-cell;
|
||||||
}
|
}
|
||||||
|
|
||||||
//.home div.tile-chart > a > div {
|
|
||||||
// padding: 0.25em;
|
|
||||||
//}
|
|
||||||
|
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.home a.tile.tile_badge > div > div > div.tile_body div.tile_count {
|
.home a.tile.tile_badge > div > div > div.tile_body div.tile_count {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -407,7 +393,6 @@ footer{
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.home .tile{
|
.home .tile{
|
||||||
display: block;
|
display: block;
|
||||||
@@ -445,7 +430,7 @@ footer{
|
|||||||
|
|
||||||
.home a.tile.tile_badge{
|
.home a.tile.tile_badge{
|
||||||
height: 10em;
|
height: 10em;
|
||||||
overflow-y: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.home a.tile.tile_badge > div > div > div.tile_decoration{
|
.home a.tile.tile_badge > div > div > div.tile_decoration{
|
||||||
top: unset;
|
top: unset;
|
||||||
|
|||||||
Reference in New Issue
Block a user