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