p5.js-web-editor/client/images/help.svg
Andrew Nicolaou ae668f681e HTTPS UI switch (#335)
* Checkbox to toggle project's serveSecure flag

This doesn't yet persist or reload the page.

* Help button that shows modal to explain feature

* Extracts protocol redirection to helper

* Returns promise from saveProject() action to allow chaining

* Setting serveSecure flag on project redirects after saving project

* Set serveSecure on Project model in API and client

* Redirect to correct protocol when project is loaded
2017-05-03 11:46:12 -04:00

7 lines
3.3 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28">
<g id="Page-1" fill="none" fill-rule="evenodd">
<g id="Group" fill="#3B3B3B">
<path id="Combined-Shape" d="M14,28 C6.2680135,28 0,21.7319865 0,14 C0,6.2680135 6.2680135,0 14,0 C21.7319865,0 28,6.2680135 28,14 C28,21.7319865 21.7319865,28 14,28 Z M11.9785156,18.0493164 L13.675293,18.0493164 L13.675293,17.8295898 C13.675293,17.4715151 13.7037758,17.1582045 13.7607422,16.8896484 C13.8177086,16.6210924 13.9235018,16.3586439 14.078125,16.1022949 C14.2327482,15.845946 14.4443346,15.581463 14.7128906,15.3088379 C14.9814467,15.0362128 15.3273091,14.7167987 15.7504883,14.3505859 C16.1899436,13.968097 16.5724268,13.6059587 16.8979492,13.2641602 C17.2234717,12.9223616 17.4960927,12.5683612 17.7158203,12.2021484 C17.935548,11.8359357 18.1003412,11.4392111 18.2102051,11.0119629 C18.3200689,10.5847147 18.375,10.0984728 18.375,9.55322266 C18.375,8.8452113 18.2610688,8.20841754 18.0332031,7.64282227 C17.8053374,7.07722699 17.4798198,6.59912305 17.0566406,6.20849609 C16.6334614,5.81786914 16.1187368,5.51879987 15.5124512,5.3112793 C14.9061656,5.10375873 14.2246132,5 13.4677734,5 C12.6783815,5 11.9012083,5.12003461 11.1362305,5.36010742 C10.3712527,5.60018024 9.65918298,5.89111157 9,6.23291016 L9.76904297,8.00292969 C10.3387073,7.7262356 10.9287079,7.48209741 11.5390625,7.27050781 C12.1494171,7.05891821 12.7923143,6.953125 13.4677734,6.953125 C13.9235049,6.953125 14.3242984,7.01619403 14.670166,7.14233398 C15.0160336,7.26847394 15.3049305,7.44750861 15.5368652,7.67944336 C15.7688,7.91137811 15.9458002,8.18806805 16.0678711,8.50952148 C16.189942,8.83097491 16.2509766,9.18700977 16.2509766,9.57763672 C16.2509766,10.008954 16.2082524,10.3853337 16.1228027,10.7067871 C16.0373531,11.0282405 15.9071461,11.3293443 15.7321777,11.6101074 C15.5572094,11.8908705 15.3313816,12.1675605 15.0546875,12.4401855 C14.7779934,12.7128106 14.4443379,13.0159489 14.0537109,13.3496094 C13.6468079,13.691408 13.3090834,14.01896 13.0405273,14.3322754 C12.7719713,14.6455908 12.5583504,14.9650049 12.3996582,15.2905273 C12.240966,15.6160498 12.1311038,15.9659812 12.0700684,16.340332 C12.0090329,16.7146829 11.9785156,17.1337867 11.9785156,17.5976562 L11.9785156,18.0493164 Z M11.3925781,21.7480469 C11.3925781,22.0491552 11.4332678,22.3075347 11.5146484,22.5231934 C11.5960291,22.738852 11.7058912,22.9158522 11.8442383,23.0541992 C11.9825853,23.1925463 12.1453441,23.2942705 12.3325195,23.359375 C12.5196949,23.4244795 12.7231434,23.4570312 12.9428711,23.4570312 C13.1544607,23.4570312 13.3558747,23.4244795 13.5471191,23.359375 C13.7383636,23.2942705 13.9031569,23.1925463 14.0415039,23.0541992 C14.179851,22.9158522 14.2897131,22.738852 14.3710938,22.5231934 C14.4524744,22.3075347 14.4931641,22.0491552 14.4931641,21.7480469 C14.4931641,21.4388005 14.4524744,21.176352 14.3710938,20.9606934 C14.2897131,20.7450347 14.179851,20.570069 14.0415039,20.435791 C13.9031569,20.301513 13.7383636,20.2038577 13.5471191,20.1428223 C13.3558747,20.0817868 13.1544607,20.0512695 12.9428711,20.0512695 C12.7231434,20.0512695 12.5196949,20.0817868 12.3325195,20.1428223 C12.1453441,20.2038577 11.9825853,20.301513 11.8442383,20.435791 C11.7058912,20.570069 11.5960291,20.7450347 11.5146484,20.9606934 C11.4332678,21.176352 11.3925781,21.4388005 11.3925781,21.7480469 Z"/>
</g>
</g>
</svg>