icon
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
maltegrosse 2023-01-24 09:27:49 +01:00
parent 138d105460
commit fad5034e2d
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
export default {};
export const Icon: any = '<?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="1991.000000pt" height="1991.000000pt" viewBox="0 0 1991.000000 1991.000000" preserveAspectRatio="xMidYMid meet"> <g transform="translate(0.000000,1991.000000) scale(0.100000,-0.100000)" fill="#000000" stroke="none"> <path d="M7755 16490 c-946 -148 -1754 -278 -1795 -290 -110 -31 -194 -82 -280 -169 -224 -227 -260 -566 -88 -832 83 -129 211 -226 363 -276 154 -50 109 -55 1835 215 850 133 1559 243 1575 245 25 1 259 -150 1315 -847 706 -466 1307 -859 1334 -873 95 -48 157 -65 267 -70 204 -11 364 50 505 191 90 91 130 154 170 271 24 70 28 95 27 200 0 102 -4 132 -26 200 -35 105 -88 193 -163 269 -84 85 -2900 1945 -3008 1987 -82 32 -175 49 -256 48 -30 0 -829 -121 -1775 -269z"/> <path d="M15960 16364 c-750 -114 -1361 -668 -1543 -1399 -45 -181 -52 -241 -52 -460 0 -219 7 -279 52 -460 107 -432 384 -831 753 -1084 448 -308 1009 -406 1540 -271 396 101 769 350 1020 680 168 221 287 485 346 765 36 169 44 450 19 627 -45 315 -166 611 -356 868 -34 47 -114 137 -178 201 -64 64 -154 144 -201 178 -253 187 -551 310 -857 355 -138 20 -410 20 -543 0z"/> <path d="M12105 15519 c-44 -5 -89 -10 -100 -12 -13 -2 121 -96 414 -291 256 -169 458 -311 493 -344 122 -116 220 -300 249 -468 7 -40 10 -118 7 -193 -4 -108 -10 -140 -38 -223 -91 -272 -301 -473 -577 -553 -203 -59 -430 -38 -619 58 -28 14 -491 316 -1028 671 l-978 645 -56 -25 c-257 -113 -737 -390 -1077 -622 -408 -278 -1113 -842 -1294 -1037 -268 -288 -444 -617 -497 -929 -24 -144 -15 -402 19 -546 51 -215 141 -419 296 -675 54 -89 361 -521 759 -1070 645 -888 667 -920 643 -927 -15 -5 -764 -105 -1666 -223 -902 -118 -1674 -222 -1715 -231 -224 -48 -440 -183 -587 -368 -77 -96 -164 -268 -193 -381 -93 -360 7 -738 264 -998 137 -138 303 -234 491 -283 84 -23 122 -27 240 -27 128 -1 353 28 2685 336 1400 186 2569 342 2598 348 314 63 594 287 734 586 142 303 123 683 -48 965 -20 32 -424 594 -900 1250 l-865 1192 113 73 c308 201 647 393 1058 598 422 212 650 315 1406 640 l472 202 6 -171 c4 -94 16 -539 27 -988 18 -734 22 -826 39 -893 31 -123 82 -208 182 -308 l88 -88 422 -208 c233 -115 1051 -520 1818 -901 767 -380 1429 -703 1470 -718 65 -22 91 -26 195 -26 139 0 197 14 320 77 109 56 215 163 272 272 58 112 77 189 77 315 0 190 -62 338 -196 473 l-78 79 -898 445 c-493 245 -1226 609 -1629 808 l-731 363 -6 53 c-3 30 -21 724 -41 1542 -36 1481 -36 1488 -60 1583 -55 216 -182 423 -384 625 -156 155 -293 253 -481 343 -331 159 -731 225 -1115 185z"/> <path d="M3490 13800 l0 -90 1720 0 1720 0 0 90 0 90 -1720 0 -1720 0 0 -90z"/> <path d="M630 13285 l0 -85 2470 0 2470 0 0 85 0 85 -2470 0 -2470 0 0 -85z"/> <path d="M2770 12775 l0 -85 1720 0 1720 0 0 85 0 85 -1720 0 -1720 0 0 -85z"/> <path d="M6957 11232 c-13 -24 -649 -2373 -644 -2379 6 -5 2087 264 2095 272 2 1 -254 358 -569 791 -314 434 -582 805 -594 824 -98 153 -168 273 -221 377 -35 68 -65 119 -67 115z"/> <path d="M3395 5946 c-1262 -939 -1303 -972 -1403 -1136 -103 -167 -152 -342 -152 -540 0 -282 99 -520 299 -721 152 -151 312 -238 521 -281 136 -29 347 -21 473 16 104 31 193 70 268 118 51 33 4113 3055 4172 3104 16 13 24 24 19 24 -6 0 -437 -57 -959 -126 -943 -125 -949 -125 -1108 -121 -131 4 -178 9 -258 30 -281 74 -518 235 -692 469 l-20 27 -1160 -863z"/> <path d="M11442 5673 l3 -88 1723 -3 1722 -2 0 90 0 90 -1725 0 -1726 0 3 -87z"/> <path d="M8590 5160 l0 -90 2468 2 2467 3 3 88 3 87 -2471 0 -2470 0 0 -90z"/> <path d="M10730 4650 l0 -90 1720 0 1720 0 0 90 0 90 -1720 0 -1720 0 0 -90z"/> </g> </svg>'
export const TrainingIcon: any = '<?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="1991.000000pt" height="1991.000000pt" viewBox="0 0 1991.000000 1991.000000" preserveAspectRatio="xMidYMid meet"> <g transform="translate(0.000000,1991.000000) scale(0.100000,-0.100000)" fill="#000000" stroke="none"> <path d="M7755 16490 c-946 -148 -1754 -278 -1795 -290 -110 -31 -194 -82 -280 -169 -224 -227 -260 -566 -88 -832 83 -129 211 -226 363 -276 154 -50 109 -55 1835 215 850 133 1559 243 1575 245 25 1 259 -150 1315 -847 706 -466 1307 -859 1334 -873 95 -48 157 -65 267 -70 204 -11 364 50 505 191 90 91 130 154 170 271 24 70 28 95 27 200 0 102 -4 132 -26 200 -35 105 -88 193 -163 269 -84 85 -2900 1945 -3008 1987 -82 32 -175 49 -256 48 -30 0 -829 -121 -1775 -269z"/> <path d="M15960 16364 c-750 -114 -1361 -668 -1543 -1399 -45 -181 -52 -241 -52 -460 0 -219 7 -279 52 -460 107 -432 384 -831 753 -1084 448 -308 1009 -406 1540 -271 396 101 769 350 1020 680 168 221 287 485 346 765 36 169 44 450 19 627 -45 315 -166 611 -356 868 -34 47 -114 137 -178 201 -64 64 -154 144 -201 178 -253 187 -551 310 -857 355 -138 20 -410 20 -543 0z"/> <path d="M12105 15519 c-44 -5 -89 -10 -100 -12 -13 -2 121 -96 414 -291 256 -169 458 -311 493 -344 122 -116 220 -300 249 -468 7 -40 10 -118 7 -193 -4 -108 -10 -140 -38 -223 -91 -272 -301 -473 -577 -553 -203 -59 -430 -38 -619 58 -28 14 -491 316 -1028 671 l-978 645 -56 -25 c-257 -113 -737 -390 -1077 -622 -408 -278 -1113 -842 -1294 -1037 -268 -288 -444 -617 -497 -929 -24 -144 -15 -402 19 -546 51 -215 141 -419 296 -675 54 -89 361 -521 759 -1070 645 -888 667 -920 643 -927 -15 -5 -764 -105 -1666 -223 -902 -118 -1674 -222 -1715 -231 -224 -48 -440 -183 -587 -368 -77 -96 -164 -268 -193 -381 -93 -360 7 -738 264 -998 137 -138 303 -234 491 -283 84 -23 122 -27 240 -27 128 -1 353 28 2685 336 1400 186 2569 342 2598 348 314 63 594 287 734 586 142 303 123 683 -48 965 -20 32 -424 594 -900 1250 l-865 1192 113 73 c308 201 647 393 1058 598 422 212 650 315 1406 640 l472 202 6 -171 c4 -94 16 -539 27 -988 18 -734 22 -826 39 -893 31 -123 82 -208 182 -308 l88 -88 422 -208 c233 -115 1051 -520 1818 -901 767 -380 1429 -703 1470 -718 65 -22 91 -26 195 -26 139 0 197 14 320 77 109 56 215 163 272 272 58 112 77 189 77 315 0 190 -62 338 -196 473 l-78 79 -898 445 c-493 245 -1226 609 -1629 808 l-731 363 -6 53 c-3 30 -21 724 -41 1542 -36 1481 -36 1488 -60 1583 -55 216 -182 423 -384 625 -156 155 -293 253 -481 343 -331 159 -731 225 -1115 185z"/> <path d="M3490 13800 l0 -90 1720 0 1720 0 0 90 0 90 -1720 0 -1720 0 0 -90z"/> <path d="M630 13285 l0 -85 2470 0 2470 0 0 85 0 85 -2470 0 -2470 0 0 -85z"/> <path d="M2770 12775 l0 -85 1720 0 1720 0 0 85 0 85 -1720 0 -1720 0 0 -85z"/> <path d="M6957 11232 c-13 -24 -649 -2373 -644 -2379 6 -5 2087 264 2095 272 2 1 -254 358 -569 791 -314 434 -582 805 -594 824 -98 153 -168 273 -221 377 -35 68 -65 119 -67 115z"/> <path d="M3395 5946 c-1262 -939 -1303 -972 -1403 -1136 -103 -167 -152 -342 -152 -540 0 -282 99 -520 299 -721 152 -151 312 -238 521 -281 136 -29 347 -21 473 16 104 31 193 70 268 118 51 33 4113 3055 4172 3104 16 13 24 24 19 24 -6 0 -437 -57 -959 -126 -943 -125 -949 -125 -1108 -121 -131 4 -178 9 -258 30 -281 74 -518 235 -692 469 l-20 27 -1160 -863z"/> <path d="M11442 5673 l3 -88 1723 -3 1722 -2 0 90 0 90 -1725 0 -1726 0 3 -87z"/> <path d="M8590 5160 l0 -90 2468 2 2467 3 3 88 3 87 -2471 0 -2470 0 0 -90z"/> <path d="M10730 4650 l0 -90 1720 0 1720 0 0 90 0 90 -1720 0 -1720 0 0 -90z"/> </g> </svg>'

View File

@ -6,7 +6,7 @@ import {
ICommandPalette,
MainAreaWidget
} from '@jupyterlab/apputils';
import { Icon } from './images';
import { TrainingIcon } from './images';
import { ISettingRegistry } from '@jupyterlab/settingregistry';
import { LabIcon } from '@jupyterlab/ui-components';
//import { requestAPI } from './handler';
@ -42,7 +42,7 @@ const plugin: JupyterFrontEndPlugin<void> = {
// `The jupyterlab-data-pool server extension appears to be missing.\n${reason}`
// );
// });
const webDavIcon = new LabIcon({ name: 'ui-components:training-icon', svgstr: Icon});
const webDavIcon = new LabIcon({ name: 'ui-components:training-icon', svgstr: TrainingIcon});
const label = "Training"
const content = new TrainingWidget(label);