GCDWebUploader: disable some feature
This commit is contained in:
@ -1,3 +1,3 @@
|
|||||||
"PROLOGUE" = "<p>Drag & drop files on this window or use the \"Upload Files…\" button to upload new files.</p>";
|
"PROLOGUE" = "<p>Drag & drop files on this window or use the \"Import Files…\" button to import new files.</p>";
|
||||||
"EPILOGUE" = "";
|
"EPILOGUE" = "";
|
||||||
"FOOTER_FORMAT" = "%@ %@";
|
"FOOTER_FORMAT" = "%@ %@";
|
||||||
|
|||||||
@ -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…
|
<span class="glyphicon glyphicon-upload"></span> Import Files…
|
||||||
<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…
|
<!-- <span class="glyphicon glyphicon-folder-close"></span> Create Folder…-->
|
||||||
</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>
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user