mirror of
https://github.com/Codiad/Codiad.git
synced 2026-03-05 17:04:01 +01:00
116 lines
3.0 KiB
JSON
Executable File
116 lines
3.0 KiB
JSON
Executable File
[
|
|
{
|
|
"title": "New File",
|
|
"icon": "l",
|
|
"applies-to" : "directory-only",
|
|
"onclick": "filemanager.create_node($('#context-menu').attr('data-path'),'file');"
|
|
},
|
|
{
|
|
"title": "New Folder",
|
|
"icon": "s",
|
|
"applies-to" : "directory-only",
|
|
"onclick": "filemanager.create_node($('#context-menu').attr('data-path'),'directory');"
|
|
},
|
|
{
|
|
"title": "Break",
|
|
"icon": null,
|
|
"applies-to" : "directory-only",
|
|
"onclick": null
|
|
},
|
|
{
|
|
"title": "New Folder",
|
|
"icon": "s",
|
|
"applies-to" : "directory-only",
|
|
"onclick": "filemanager.create_node($('#context-menu').attr('data-path'),'directory');"
|
|
},
|
|
{
|
|
"title": "Break",
|
|
"icon": null,
|
|
"applies-to" : "directory-only",
|
|
"onclick": null
|
|
},
|
|
{
|
|
"title": "Search",
|
|
"icon": "4",
|
|
"applies-to" : "directory-only",
|
|
"onclick": "filemanager.search($('#context-menu').attr('data-path'));"
|
|
},
|
|
{
|
|
"title": "Break",
|
|
"icon": null,
|
|
"applies-to" : "directory-only",
|
|
"onclick": null
|
|
},
|
|
{
|
|
"title": "Upload Files",
|
|
"icon": "v",
|
|
"applies-to" : "directory-only",
|
|
"onclick": "filemanager.upload_to_node($('#context-menu').attr('data-path'));"
|
|
},
|
|
{
|
|
"title": "Break",
|
|
"icon": null,
|
|
"applies-to" : "directory-only",
|
|
"onclick": null
|
|
},
|
|
{
|
|
"title": "Copy",
|
|
"icon": "m",
|
|
"applies-to" : "both",
|
|
"onclick": "filemanager.copy_node($('#context-menu').attr('data-path'));"
|
|
},
|
|
{
|
|
"title": "Paste",
|
|
"icon": "n",
|
|
"applies-to" : "directory-only",
|
|
"onclick": "filemanager.paste_node($('#context-menu').attr('data-path'));"
|
|
},
|
|
{
|
|
"title": "Break",
|
|
"icon": null,
|
|
"applies-to" : "non-root",
|
|
"onclick": null
|
|
},
|
|
{
|
|
"title": "Rename",
|
|
"icon": "&",
|
|
"applies-to" : "non-root",
|
|
"onclick": "filemanager.rename_node($('#context-menu').attr('data-path'));"
|
|
},
|
|
{
|
|
"title": "Break",
|
|
"icon": null,
|
|
"applies-to" : "non-root",
|
|
"onclick": null
|
|
},
|
|
{
|
|
"title": "Delete",
|
|
"icon": "[",
|
|
"applies-to" : "non-root",
|
|
"onclick": "filemanager.delete_node($('#context-menu').attr('data-path'));"
|
|
},
|
|
{
|
|
"title": "Break",
|
|
"icon": null,
|
|
"applies-to" : "both",
|
|
"onclick": null
|
|
},
|
|
{
|
|
"title": "Download",
|
|
"icon": "x",
|
|
"applies-to" : "both",
|
|
"onclick": "filemanager.download($('#context-menu').attr('data-path'));"
|
|
},
|
|
{
|
|
"title": "Break",
|
|
"icon": null,
|
|
"applies-to" : "directory-only",
|
|
"onclick": null
|
|
},
|
|
{
|
|
"title": "Rescan",
|
|
"icon": "d",
|
|
"applies-to" : "directory-only",
|
|
"onclick": "filemanager.rescan($('#context-menu').attr('data-path'));"
|
|
}
|
|
] |