feature: cloudcmd: add context menu option to toggle file selection (#420)

This commit is contained in:
Hagay Goshen 2024-10-26 14:27:35 +03:00 committed by coderiaser
parent 0f5fe2d4fe
commit 4bc5a7834e
8 changed files with 14 additions and 0 deletions

View file

@ -126,6 +126,7 @@ function getMenuData(isAuth) {
CloudCmd.Upload.show();
},
'Upload From Cloud': uploadFromCloud,
'Toggle File Selection': DOM.toggleSelectedFile,
'(Un)Select All': DOM.toggleAllSelectedFiles,
};

View file

@ -83,6 +83,11 @@
content: '\e811 ';
}
.icon-toggle-file-selection::before {
font-family: 'Fontello';
content: '\e81f ';
}
.icon-unselect-all::before {
font-family: 'Fontello';
content: '\e812 ';

Binary file not shown.

View file

@ -192,6 +192,12 @@
"code": 59422,
"src": "fontawesome"
},
{
"uid": "12f4ece88e46abd864e40b35e05b11cd",
"css": "ok",
"code": 59423,
"src": "fontawesome"
},
{
"uid": "60617c8adc1e7eb3c444a5491dd13f57",
"css": "attention-circled-1",

View file

@ -67,6 +67,8 @@
<glyph glyph-name="link-ext" unicode="&#xe81d;" d="M786 332v-178q0-67-47-114t-114-47h-464q-67 0-114 47t-47 114v464q0 66 47 113t114 48h393q7 0 12-5t5-13v-36q0-8-5-13t-12-5h-393q-37 0-63-26t-27-63v-464q0-37 27-63t63-27h464q37 0 63 27t26 63v178q0 8 5 13t13 5h36q8 0 13-5t5-13z m214 482v-285q0-15-11-25t-25-11-25 11l-98 98-364-364q-5-6-13-6t-12 6l-64 64q-6 5-6 12t6 13l364 364-98 98q-11 11-11 25t11 25 25 11h285q15 0 25-11t11-25z" horiz-adv-x="1000" />
<glyph glyph-name="link-ext-alt" unicode="&#xe81e;" d="M714 332v268q0 15-10 25t-25 11h-268q-24 0-33-22-10-23 8-39l80-80-298-298q-11-11-11-26t11-25l57-57q11-10 25-10t25 10l298 298 81-80q10-11 25-11 6 0 14 3 21 10 21 33z m143 286v-536q0-66-47-113t-114-48h-535q-67 0-114 48t-47 113v536q0 66 47 113t114 48h535q67 0 114-48t47-113z" horiz-adv-x="857.1" />
<glyph glyph-name="ok" unicode="&#xe81f;" d="M933 534q0-22-16-38l-404-404-76-76q-16-15-38-15t-38 15l-76 76-202 202q-15 16-15 38t15 38l76 76q16 16 38 16t38-16l164-165 366 367q16 16 38 16t38-16l76-76q16-15 16-38z" horiz-adv-x="1000" />
</font>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before After
Before After

Binary file not shown.

Binary file not shown.

Binary file not shown.