mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 06:48:50 +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 #}
|
||||
{# 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 %}
|
||||
<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 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 }}"
|
||||
data-brick-id="{{ oBrick.GetId }}">
|
||||
<div>
|
||||
|
||||
@@ -344,17 +344,9 @@ footer {
|
||||
/**********************************/
|
||||
/* 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 {
|
||||
display: table;
|
||||
width: 100%;
|
||||
/*padding: 12% 10% 0;*/
|
||||
}
|
||||
.home a.tile.tile_badge > div > div {
|
||||
display: table-row;
|
||||
|
||||
@@ -368,18 +368,9 @@ footer{
|
||||
/**********************************/
|
||||
/* 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 {
|
||||
display: table;
|
||||
width: 100%;
|
||||
/*padding: 12% 10% 0;*/
|
||||
}
|
||||
|
||||
.home a.tile.tile_badge > div > div {
|
||||
@@ -390,11 +381,6 @@ footer{
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
//.home div.tile-chart > a > div {
|
||||
// padding: 0.25em;
|
||||
//}
|
||||
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.home a.tile.tile_badge > div > div > div.tile_body div.tile_count {
|
||||
position: absolute;
|
||||
@@ -407,7 +393,6 @@ footer{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.home .tile{
|
||||
display: block;
|
||||
@@ -445,7 +430,7 @@ footer{
|
||||
|
||||
.home a.tile.tile_badge{
|
||||
height: 10em;
|
||||
overflow-y: hidden;
|
||||
overflow: hidden;
|
||||
}
|
||||
.home a.tile.tile_badge > div > div > div.tile_decoration{
|
||||
top: unset;
|
||||
|
||||
Reference in New Issue
Block a user