mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
3.8 IMG upload bug
This commit is contained in:
parent
b67ae3e9d2
commit
69f8d3aa95
@ -21,13 +21,13 @@
|
||||
color: #fff;
|
||||
position: absolute;
|
||||
z-index: 15;
|
||||
right: 0px;
|
||||
top: 0px;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
#setimage {
|
||||
#setimage,#rotateImage,#deleteImage {
|
||||
padding: 9px 10px;
|
||||
color: white;
|
||||
border-radius: 0px;
|
||||
border-radius: 0;
|
||||
font-weight: bold;
|
||||
}
|
||||
/*Mobil Modu*/
|
||||
|
||||
@ -2,4 +2,6 @@
|
||||
|
||||
return [
|
||||
'showOn' => 'Main',
|
||||
'rotate' => 'Rotate',
|
||||
'delete' => 'Delete'
|
||||
];
|
||||
|
||||
@ -2,4 +2,6 @@
|
||||
|
||||
return [
|
||||
'showOn' => 'Vitrin',
|
||||
'rotate' => 'Döndür',
|
||||
'delete' => 'Sil'
|
||||
];
|
||||
|
||||
@ -7,20 +7,13 @@
|
||||
{% endif %}
|
||||
|
||||
<div class="{{ table.options.container_class }}">
|
||||
|
||||
{% block panel %}
|
||||
<div class="{{ table.options.panel_class }} panel-table">
|
||||
|
||||
<div>
|
||||
{% block body %}
|
||||
{{ view("visiosoft.field_type.media::table/partials/body", {'table': table}) }}
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
{% block panel %}
|
||||
<div class="{{ table.options.panel_class }} panel-table">
|
||||
<div>
|
||||
{% block body %}
|
||||
{{ view("visiosoft.field_type.media::table/partials/body", {'table': table}) }}
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
@ -44,6 +44,7 @@ class ValueTableBuilder extends TableBuilder
|
||||
*/
|
||||
protected $columns = [
|
||||
'path' => '{entry.path}',
|
||||
// 'path' => '<img src="/files/{entry.path}" width="64" height="48" />',
|
||||
];
|
||||
|
||||
/**
|
||||
@ -65,12 +66,12 @@ class ValueTableBuilder extends TableBuilder
|
||||
],
|
||||
'rotate' => [
|
||||
'target' => '_blank',
|
||||
'icon' => 'fa fa-repeat',
|
||||
'icon' => 'fa fa-sync-alt',
|
||||
'type' => 'info',
|
||||
'text' => '',
|
||||
'class' => 'col-4',
|
||||
'attributes' => [
|
||||
'id' => 'setimage',
|
||||
'id' => 'rotateImage',
|
||||
'onclick' => 'rotateImage(event, {entry.id})',
|
||||
],
|
||||
],
|
||||
@ -78,11 +79,11 @@ class ValueTableBuilder extends TableBuilder
|
||||
'target' => '_blank',
|
||||
'icon' => 'fa fa-trash',
|
||||
'type' => 'danger',
|
||||
'text' => '',
|
||||
'text' => 'visiosoft.field_type.media::button.delete',
|
||||
'class' => 'col-4 deleteImage',
|
||||
'attributes' => [
|
||||
'onclick' => 'deleteImage(event, {entry.id})',
|
||||
'id' => 'setimage',
|
||||
'id' => 'deleteImage',
|
||||
],
|
||||
],
|
||||
];
|
||||
@ -97,6 +98,7 @@ class ValueTableBuilder extends TableBuilder
|
||||
'show_headers' => false,
|
||||
'sortable_headers' => false,
|
||||
'no_results_message' => 'visiosoft.field_type.media::message.no_files_selected',
|
||||
'table_view' => 'visiosoft.field_type.media::table/table'
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user