GCDWebUploader: disable some feature

This commit is contained in:
2026-06-08 15:00:38 +07:00
parent f90cd113ba
commit ef4b622b13
3 changed files with 18 additions and 18 deletions

View File

@ -1,3 +1,3 @@
"PROLOGUE" = "<p>Drag &amp; drop files on this window or use the \"Upload Files&hellip;\" button to upload new files.</p>"; "PROLOGUE" = "<p>Drag &amp; drop files on this window or use the \"Import Files&hellip;\" button to import new files.</p>";
"EPILOGUE" = ""; "EPILOGUE" = "";
"FOOTER_FORMAT" = "%@ %@"; "FOOTER_FORMAT" = "%@ %@";

View File

@ -66,12 +66,12 @@
<div class="btn-toolbar"> <div class="btn-toolbar">
<button type="button" class="btn btn-primary fileinput-button" id="upload-file"> <button type="button" class="btn btn-primary fileinput-button" id="upload-file">
<span class="glyphicon glyphicon-upload"></span> Upload Files&hellip; <span class="glyphicon glyphicon-upload"></span> Import Files&hellip;
<input id="fileupload" type="file" name="files[]" multiple> <input id="fileupload" type="file" name="files[]" multiple>
</button> </button>
<button type="button" class="btn btn-success" id="create-folder"> <!-- <button type="button" class="btn btn-success" id="create-folder">-->
<span class="glyphicon glyphicon-folder-close"></span> Create Folder&hellip; <!-- <span class="glyphicon glyphicon-folder-close"></span> Create Folder&hellip;-->
</button> <!-- </button>-->
<button type="button" class="btn btn-default" id="reload"> <button type="button" class="btn btn-default" id="reload">
<span class="glyphicon glyphicon-refresh"></span> Refresh <span class="glyphicon glyphicon-refresh"></span> Refresh
</button> </button>
@ -156,16 +156,16 @@
<p>{%=formatFileSize(o.size)%}</p> <p>{%=formatFileSize(o.size)%}</p>
{% } %} {% } %}
</td> </td>
<td class="column-move"> <!-- <td class="column-move">-->
<button type="button" class="btn btn-default btn-xs button-move"> <!-- <button type="button" class="btn btn-default btn-xs button-move">-->
<span class="glyphicon glyphicon glyphicon-share-alt"></span> <!-- <span class="glyphicon glyphicon glyphicon-share-alt"></span>-->
</button> <!-- </button>-->
</td> <!-- </td>-->
<td class="column-delete"> <!-- <td class="column-delete">-->
<button type="button" class="btn btn-danger btn-xs button-delete"> <!-- <button type="button" class="btn btn-danger btn-xs button-delete">-->
<span class="glyphicon glyphicon-trash"></span> <!-- <span class="glyphicon glyphicon-trash"></span>-->
</button> <!-- </button>-->
</td> <!-- </td>-->
</tr> </tr>
</script> </script>

View File

@ -420,15 +420,15 @@ NS_ASSUME_NONNULL_END
} }
- (BOOL)shouldMoveItemFromPath:(NSString*)fromPath toPath:(NSString*)toPath { - (BOOL)shouldMoveItemFromPath:(NSString*)fromPath toPath:(NSString*)toPath {
return YES; return NO;
} }
- (BOOL)shouldDeleteItemAtPath:(NSString*)path { - (BOOL)shouldDeleteItemAtPath:(NSString*)path {
return YES; return NO;
} }
- (BOOL)shouldCreateDirectoryAtPath:(NSString*)path { - (BOOL)shouldCreateDirectoryAtPath:(NSString*)path {
return YES; return NO;
} }
@end @end