form_ghost_template_upload.html 1.5 KB

1234567891011121314151617
  1. <div id="bx-uploader-file-{storage_object}-{file_id}" class="bx-uploader-ghost flex items-start mt-2">
  2. <div class="bx-uploader-ghost-cnt">
  3. <div class="bx-base-general-icon-wrapper">
  4. <input type="hidden" name="__name__[]" value="{file_id}" />
  5. <img src="{file_icon}" class="bx-base-general-icon bx-base-general-icon-{file_id} rounded" />
  6. </div>
  7. <span class="bx-base-general-uploader-ghost">
  8. <a class="bx-btn bx-btn-small mr-2" href="javascript:void(0);" title="<bx_text:_sys_txt_form_entry_input_picture_delete />" onclick="bx_base_general_delete_ghost('{file_id}', '{file_url}', '{file_icon}', ['__editor_id__'], {js_instance_name});">
  9. <bx_image_auto:times />
  10. </a>
  11. <a class="bx-btn bx-btn-small mr-2" href="javascript:void(0);" title="<bx_text:_sys_txt_form_entry_input_picture_copy />" onclick="bx_copy_to_clipboard('{file_url}');">
  12. <bx_image_auto:copy />
  13. </a>
  14. </span>
  15. </div>
  16. <input class="bx-def-font-inputs bx-form-input-text block w-full py-2 px-3 border border-gray-300 dark:border-gray-700 rounded-md shadow-sm bg-white dark:bg-gray-900 placeholder-gray-500 focus:outline-none focus:placeholder-gray-400 focus:ring-2 focus:text-gray-900 dark:focus:text-gray-100 focus:ring-blue-500 focus:border-opacity-70 focus:ring-opacity-20 focus:border-blue-500 text-sm text-gray-700 dark:text-gray-300 appearance-none" type="text" value="{file_title_attr}" name="title-{file_id}" />
  17. </div>