mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Fix #1160 : Fix advanced search collection list
This commit is contained in:
@@ -18,15 +18,23 @@
|
|||||||
{% for collection in base["collections"] %}
|
{% for collection in base["collections"] %}
|
||||||
{% set base_id = collection["base_id"] %}
|
{% set base_id = collection["base_id"] %}
|
||||||
<li class="clkbas">
|
<li class="clkbas">
|
||||||
<label style="line-height: 18px;" onclick="infoSbas($('#ck_{{base_id}}_{{unique_id}}'),{{sbas_id}}, false, event); return false;"
|
<table>
|
||||||
for="ck_{{base_id}}_{{unique_id}}" class="ck_{{base_id}} {% if collection["selected"] %}selected{% endif %} checkbox">
|
<tr>
|
||||||
{{base_id|get_collection_logo(app)|raw}} {{base_id|bas_names(app)}}
|
<td>
|
||||||
<input class="ck_{{collection["base_id"]}} checkbas" style="*margin-top:-18px;"
|
<input class="ck_{{collection["base_id"]}} checkbas" style="*margin-top:-18px;"
|
||||||
onclick="cancelEvent(event);return false;"
|
onclick="cancelEvent(event);return false;"
|
||||||
onmousedown="infoSbas(this, {{sbas_id}}, false, event); return false;"
|
onmousedown="infoSbas(this, {{sbas_id}}, false, event); return false;"
|
||||||
id="ck_{{collection["base_id"]}}_{{unique_id}}" type="checkbox"
|
id="ck_{{collection["base_id"]}}_{{unique_id}}" type="checkbox"
|
||||||
name="bases[]" value="{{collection["base_id"]}}" {% if collection["selected"] %}checked="checked"{% endif %} />
|
name="bas[]" value="{{collection["base_id"]}}" {% if collection["selected"] %}checked="checked"{% endif %} />
|
||||||
</label>
|
</td>
|
||||||
|
<td>
|
||||||
|
<label style="line-height: 18px;" onclick="infoSbas($('#ck_{{base_id}}_{{unique_id}}'),{{sbas_id}}, false, event); return false;"
|
||||||
|
for="ck_{{base_id}}_{{unique_id}}" class="ck_{{base_id}} {% if collection["selected"] %}selected{% endif %} checkbox">
|
||||||
|
{{base_id|get_collection_logo(app)|raw}} {{base_id|bas_names(app)}}
|
||||||
|
</label>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
@@ -1862,17 +1862,22 @@ H4 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.clkbas {
|
.clkbas {
|
||||||
white-space: nowrap;
|
white-space: normal;
|
||||||
margin:0 5px;
|
margin:0 5px;
|
||||||
|
-webkit-column-break-inside:avoid;
|
||||||
|
-moz-column-break-inside:avoid;
|
||||||
|
-o-column-break-inside:avoid;
|
||||||
|
-ms-column-break-inside:avoid;
|
||||||
|
column-break-inside:avoid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clkbas label {
|
#searchForm .clkbas label {
|
||||||
color: #AAAAAA;
|
color: #AAAAAA;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clkbas label.selected {
|
#searchForm .clkbas label.selected {
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1923,17 +1923,22 @@ H4 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.clkbas {
|
.clkbas {
|
||||||
white-space: nowrap;
|
white-space: normal;
|
||||||
margin:0 5px;
|
margin:0 5px;
|
||||||
|
-webkit-column-break-inside:avoid;
|
||||||
|
-moz-column-break-inside:avoid;
|
||||||
|
-o-column-break-inside:avoid;
|
||||||
|
-ms-column-break-inside:avoid;
|
||||||
|
column-break-inside:avoid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clkbas label {
|
#searchForm .clkbas label {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clkbas label.selected {
|
#searchForm .clkbas label.selected {
|
||||||
color: #555555;
|
color: #555555;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user