PHRAS-408 #fix

This commit is contained in:
Nicolas Le Goff
2015-02-11 19:47:48 +01:00
parent c06563b4dd
commit 948971eba4
5 changed files with 19 additions and 4 deletions

View File

@@ -42,12 +42,12 @@
{% set statusbit = attribute(status, bit) %}
<td>
{% if statusbit['img_off'] %}
<img title='{{ statusbit['labels_off_i18n'][app['locale.I18n']] }}' src='{{ statusbit['img_off'] }}' />
<img class="status-img" title='{{ statusbit['labels_off_i18n'][app['locale.I18n']] }}' src='{{ statusbit['img_off'] }}' />
{% endif %}
{{ statusbit['labels_off_i18n'][app['locale.I18n']] }}
/
{% if statusbit['img_on'] %}
<img title='{{ statusbit['labels_on_i18n'][app['locale.I18n']] }}' src='{{ statusbit['img_on'] }}' />
<img class="status-img" title='{{ statusbit['labels_on_i18n'][app['locale.I18n']] }}' src='{{ statusbit['img_on'] }}' />
{% endif %}
{{ statusbit['labels_on_i18n'][app['locale.I18n']] }}
</td>

View File

@@ -53,7 +53,7 @@
<span class="btn btn-success fileinput-button pull-left">
<i class="icon-plus icon-white"></i>
<span>{% trans %}Select files...{% endtrans %}</span>
<input type="file" name="image_off" accept="image/*"/>
<input type="file" name="image_off" accept="image/jpg, image/png"/>
</span>
<div class='thumbnail pull-left' style='height:20px;width:20px;margin-left:10px;'>
{% if status['img_off'] is defined and status['img_off'] %}
@@ -117,7 +117,7 @@
<span class="btn btn-success fileinput-button pull-left">
<i class="icon-plus icon-white"></i>
<span>{% trans %}Select files...{% endtrans %}</span>
<input type="file" name="image_on" accept="image/*"/>
<input type="file" name="image_on" accept="image/jpg, image/png"/>
</span>
<div class='thumbnail pull-left' style='height:20px;width:20px;margin-left:10px'>
{% if status['img_on'] is defined and status['img_on'] %}

View File

@@ -75,3 +75,8 @@ div[id$="_indexed_percent"] {
a.btn {
text-decoration: none;
}
.status-img {
max-width: 16px;
max-heigh: 16px;
}

View File

@@ -4261,3 +4261,8 @@ ui-dialog-titlebar {
#clientModal .close {
color: #fff;
}
#answers .status img {
max-width: 16px;
max-heigh: 16px;
}

View File

@@ -4385,3 +4385,8 @@ ui-dialog-titlebar {
#clientModal .close {
color: #404040;
}
#answers .status img {
max-width: 16px;
max-heigh: 16px;
}