|
|
@ -9,20 +9,20 @@ export default PropertyView.extend({ |
|
|
const { pfx, em } = this; |
|
|
const { pfx, em } = this; |
|
|
|
|
|
|
|
|
return ` |
|
|
return ` |
|
|
<div class="${pfx}field ${pfx}file"> |
|
|
<div class="${pfx}field ${pfx}file"> |
|
|
<div id='${pfx}input-holder'> |
|
|
<div id='${pfx}input-holder'> |
|
|
<div class="${pfx}btn-c"> |
|
|
<div class="${pfx}btn-c"> |
|
|
<button class="${pfx}btn" id="${pfx}images" type="button"> |
|
|
<button class="${pfx}btn" id="${pfx}images" type="button"> |
|
|
${em.t('styleManager.fileButton')} |
|
|
${em.t('styleManager.fileButton')} |
|
|
</button> |
|
|
</button> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div style="clear:both;"></div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div id="${pfx}preview-box" class="${pfx}preview-file-box"> |
|
|
|
|
|
<div id="${pfx}preview-file" class="${pfx}preview-file"></div> |
|
|
|
|
|
<div id="${pfx}close" class="${pfx}preview-file-close">⨯</div> |
|
|
</div> |
|
|
</div> |
|
|
<div style="clear:both;"></div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div id="${pfx}preview-box"> |
|
|
|
|
|
<div id="${pfx}preview-file"></div> |
|
|
|
|
|
<div id="${pfx}close">⨯</div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
`;
|
|
|
`;
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
@ -133,7 +133,7 @@ export default PropertyView.extend({ |
|
|
}, |
|
|
}, |
|
|
target: this.getTargetModel(), |
|
|
target: this.getTargetModel(), |
|
|
types: ['image'], |
|
|
types: ['image'], |
|
|
accept: 'image/*' |
|
|
accept: 'image/*', |
|
|
}); |
|
|
}); |
|
|
} |
|
|
}, |
|
|
}); |
|
|
}); |
|
|
|