test panel

db
km0 2 years ago
parent 570f4a49e8
commit b8834cc88e

9
.gitignore vendored

@ -1,6 +1,9 @@
.env
database.db
venv/
static/cables/
static/panels/
static/snippets/
database.db
.env
!static/panels
static/panels/*
!static/panels/test_instrument.svg

@ -0,0 +1,43 @@
<svg width="1024" height="817" viewBox="0 0 1024 817" fill="none" xmlns="http://www.w3.org/2000/svg">
<g id="test_instrument">
<g id="graphics">
<rect id="borr" x="158.5" y="667.5" width="57" height="57" rx="28.5" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="8 8"/>
<rect id="borr_2" x="591.5" y="684.5" width="57" height="57" rx="28.5" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="8 8"/>
<rect id="borr_3" x="287.5" y="667.5" width="57" height="57" rx="28.5" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="8 8"/>
<rect id="borr_4" x="729.5" y="487.5" width="57" height="57" rx="28.5" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="8 8"/>
<g id="Linked Path Group">
<path id="[Linked] Vector 114" d="M267 460L232.663 501.055C225.076 510.127 220.488 521.331 219.608 533.124C216.943 568.806 213.652 618.607 215 624V624C219.724 642.896 210.59 663 191.113 663H182.246C180.088 663 177.936 662.77 175.827 662.314L175.131 662.163C156.377 658.109 143.824 640.404 146.204 621.365L148 607V601.616C148 597.22 148.508 592.839 149.515 588.56L160 544L171.733 461.872C171.91 460.628 171.944 459.368 171.833 458.116L166.9 402.623C165.904 391.425 149.731 390.891 148 402V402L142.595 449.747C142.213 453.12 140.553 456.219 137.956 458.405V458.405C130.784 464.445 119.782 461.345 116.817 452.451L107.886 425.659C105.999 419.996 105.71 413.922 107.052 408.106L123 339L134.936 274.729C135.643 270.92 136.738 267.192 138.201 263.604L181.572 157.304C185.135 148.571 190.809 140.859 198.086 134.859L234.915 104.491C240.909 99.5491 247.848 95.8845 255.309 93.722L299.779 80.8321C308.468 78.3136 317.632 77.8994 326.513 79.6238L410.618 95.9549C414.198 96.65 417.836 97 421.483 97H452.384C456.78 97 461.145 96.4901 465.429 95.5062C495.807 88.5291 550.658 77 570 77C590.8 77 609 77 615.5 77M267 460C274.333 437.333 289 389.2 289 378C289 366.8 289 326.667 289 308M267 460L285.904 514.994C287.954 520.957 289 527.218 289 533.523V586.584C289 592.164 288.18 597.715 286.568 603.057L280.026 624.725C275.94 638.262 281.966 652.803 294.431 659.481V659.481C298.743 661.791 303.56 663 308.453 663H349.92C357.144 663 363 657.144 363 649.92V649.92C363 648.647 362.814 647.381 362.448 646.161L344.404 586.013C342.81 580.699 342 575.182 342 569.634V501.645C342 493.316 343.825 485.089 347.348 477.541L363 444M267 460L295.399 444.566C306.792 438.374 319.954 436.252 332.715 438.549L363 444M363 444L499.872 396.189C505.914 394.078 512.269 393 518.669 393H544M544 393L535 302M544 393L559 460L570 578L576.846 630.2C577.602 635.966 576.835 641.83 574.621 647.207L571.368 655.107C567.105 665.459 570.88 677.378 580.325 683.389V683.389C584.031 685.747 588.333 687 592.726 687H625.443C638.118 687 650.432 682.775 660.437 674.993L663 673M663 673L657.225 667.843C643.302 655.412 636.347 636.952 638.607 618.425L644.131 573.124C644.708 568.393 644.689 563.609 644.076 558.883L636.037 496.984C635.349 491.688 635.409 486.321 636.215 481.041L655 358M663 673H665.4C681.384 673 691.166 655.46 682.767 641.861V641.861C681.597 639.966 680.745 637.893 680.244 635.724L676.46 619.325C675.49 615.122 675 610.822 675 606.508V515L655 358M655 358V325M655 325L645 290M655 325L710 308M710 308C716.667 318.333 732 339 740 339V339C754.228 339 766.175 328.292 767.728 314.149L769.5 298M710 308C700 296.333 678 272.2 670 269C663.553 266.421 628.966 243.322 602.87 225.553C591.94 218.11 584.014 207.047 580.381 194.333L575.178 176.122C571.815 164.354 572.33 151.816 576.646 140.364L589.129 107.234C593.583 95.4137 601.837 85.4079 612.595 78.7879L615.5 77M774 257L769.5 298M769.5 298L792.104 320.193C795.303 323.334 797.555 327.312 798.601 331.672L801.506 343.774C802.382 347.426 805.648 350 809.403 350V350C813.247 350 816.564 352.695 817.352 356.457L823.504 385.851C824.495 390.586 824.717 395.45 824.163 400.256L816 471L798.552 538.036C797.553 541.874 795.16 545.2 791.838 547.366L781.956 553.812C777.982 556.403 772.634 554.446 771.271 549.903V549.903C770.255 546.516 766.903 544.392 763.406 544.92L755.522 546.11C748.156 547.222 742.481 553.188 741.74 560.601L741.41 563.9C740.561 572.39 745.043 580.521 752.674 584.337L759.159 587.58C768.434 592.217 779.41 591.924 788.424 586.798L806.652 576.433C818.491 569.701 827.529 558.952 832.128 546.133L872 435L881 393M881 393L812.804 323.869C809.918 320.944 809.163 316.529 810.912 312.811V312.811C813.545 307.217 820.636 305.427 825.609 309.102L839 319L886 365.299M881 393L906.266 413.213C909.26 415.608 913.176 416.522 916.921 415.7L926.883 413.513C935.256 411.676 936.667 400.334 929 396.5V396.5M886 365.299L899.567 378.663C903.829 382.861 908.726 386.363 914.077 389.038L929 396.5M886 365.299L911.173 362.849C929.479 361.067 940.756 382.356 929 396.5V396.5M886 365.299L881.353 218.186C881.12 210.799 879.452 203.528 876.443 196.778L854.783 148.189C847.945 132.85 834.692 121.308 818.56 116.641L723 89L670 79M670 79L656.259 73.5035C642.885 68.1539 627.768 69.4507 615.5 77V77M670 79L688 104" stroke="black" stroke-width="3" stroke-linejoin="round" stroke-dasharray="10 20"/>
</g>
<g id="Linked Path Group_2">
<path id="[Linked] Vector 115" d="M181.002 16.9994C165.546 21.6652 152.539 28.6549 140.224 38.9994C127.601 49.6029 114.483 62.3962 104.28 75.3327C93.1527 89.44 84.8703 109.162 82.224 126.999C79.0505 148.391 82.0481 170.731 76.4463 191.61C73.6325 202.098 69.2933 212.074 67.224 222.777C65.099 233.769 64.9125 244.453 63.3907 255.444C59.1571 286.02 51.8158 316.026 43.7796 345.777C36.7934 371.641 31.2421 397.202 31.0018 424.11C30.8941 436.181 27.0899 445.891 22.1129 456.888C12.9828 477.062 6.09811 496.411 8.22405 518.999C9.34155 530.873 17.5002 539.706 23.0018 549.666C28.4688 559.563 32.8207 570.351 36.4463 581.055C40.8472 594.048 43.282 608.077 46.9463 621.333C52.0288 639.72 57.4356 658.081 63.3352 676.222C67.7149 689.689 72.7732 703.821 82.5574 714.444C88.9889 721.427 98.9772 724.667 107.168 729.055C123.234 737.661 138.925 744.661 156.224 750.222C185.58 759.657 215.707 764.757 246.224 767.999C264.582 769.95 282.944 769.487 301.335 770.666C334.213 772.774 366.602 773.999 399.557 773.999C434.205 773.999 468.531 771.093 503.113 770.222C530.612 769.529 558.119 770.659 585.613 771.055C603.245 771.309 620.804 773.3 638.446 772.944C659.295 772.523 680.883 768.092 700.669 761.777C735.713 750.593 766.754 730.901 795.113 707.944C816.834 690.36 838.238 673.584 857.891 653.666C870.693 640.691 880.21 627.134 888.446 610.888C893.816 600.297 899.579 590.456 906.78 580.999C912.49 573.5 918.782 566.23 922.78 557.61C926.803 548.936 929.995 540.454 935.502 532.499C942.034 523.064 949.768 513.982 955.224 503.888C961.464 492.344 963.732 479.688 969.002 467.777C980.6 441.561 990.302 414.99 999.335 387.777C1009.21 358.016 1021.18 329.147 1015.56 297.11C1013.28 284.135 1005.52 268.624 996.446 259.055C990.223 252.492 985.231 245.8 980.28 238.222C968.863 220.748 954.84 204.889 942.557 187.999C930.166 170.961 914.165 157.536 901.224 141.11C895.247 133.524 890.495 125.239 882.669 119.333C875.175 113.677 868.425 109.056 862.002 102.222C850.531 90.0158 833.849 81.0058 819.502 72.5549C811.943 68.1023 804.038 64.5193 796.057 60.8882C771.658 49.787 747.414 37.0316 721.891 28.666C706.801 23.7202 691.731 21.9994 675.946 21.9994C632.301 21.9994 588.476 23.2107 544.891 20.5549C519.704 19.0202 494.372 19.4489 469.224 17.5549C454.32 16.4324 439.897 15.2553 424.946 14.9438C404.452 14.5168 384.156 11.32 363.613 11.0549C341.501 10.7696 319.434 11.1965 297.335 10.2216C282.354 9.56067 267.152 9.50116 252.224 8.22158C234.667 6.71666 218.515 7.57546 201.502 9.05491C197.579 9.39599 190.382 10.8852 187.78 13.7771C185.852 15.919 183.096 17.9994 180.002 17.9994" stroke="black" stroke-width="3" stroke-linecap="round"/>
<path id="[Copy] test_panel v.0.0.1" d="M670.837 803.824L671.791 806.823C670.842 807.173 669.981 807.404 669.208 807.518C667.946 807.703 666.937 807.647 666.183 807.35C665.429 807.053 664.862 806.603 664.484 806.001C664.105 805.385 663.761 804.034 663.455 801.947L661.721 790.14L659.17 790.515L658.773 787.809L661.324 787.435L660.577 782.352L663.73 779.757L664.783 786.927L668.28 786.413L668.678 789.118L665.18 789.632L666.942 801.632C667.088 802.624 667.24 803.253 667.397 803.52C667.568 803.784 667.8 803.98 668.095 804.108C668.403 804.234 668.815 804.259 669.33 804.183C669.717 804.127 670.219 804.007 670.837 803.824Z" fill="black"/>
<path id="[Copy] test_panel v.0.0.1_2" d="M690.741 796.131L694.383 795.767C694.293 797.964 693.622 799.805 692.369 801.29C691.117 802.775 689.316 803.783 686.967 804.315C684.008 804.985 681.453 804.609 679.302 803.187C677.161 801.749 675.718 799.386 674.973 796.097C674.202 792.693 674.48 789.854 675.807 787.577C677.134 785.301 679.195 783.846 681.989 783.214C684.694 782.601 687.112 783.022 689.243 784.475C691.374 785.928 692.818 788.325 693.574 791.665C693.62 791.868 693.683 792.174 693.762 792.583L678.676 795.999C679.306 798.193 680.32 799.752 681.717 800.678C683.115 801.603 684.658 801.874 686.347 801.492C687.605 801.207 688.603 800.634 689.342 799.772C690.082 798.911 690.548 797.697 690.741 796.131ZM678.228 793.137L689.524 790.579C688.986 788.912 688.265 787.734 687.362 787.044C685.97 785.97 684.405 785.631 682.665 786.025C681.09 786.381 679.883 787.209 679.042 788.507C678.214 789.803 677.942 791.346 678.228 793.137Z" fill="black"/>
<path id="[Copy] test_panel v.0.0.1_3" d="M700.555 794.117L703.707 792.551C704.311 793.821 705.148 794.677 706.215 795.119C707.295 795.557 708.599 795.535 710.126 795.054C711.666 794.569 712.711 793.899 713.261 793.043C713.806 792.175 713.946 791.319 713.68 790.474C713.441 789.717 712.925 789.224 712.129 788.997C711.576 788.843 710.314 788.825 708.344 788.94C705.689 789.094 703.813 789.098 702.716 788.952C701.628 788.79 700.71 788.389 699.963 787.751C699.224 787.096 698.702 786.285 698.397 785.316C698.119 784.434 698.062 783.558 698.224 782.688C698.396 781.801 698.751 781 699.29 780.284C699.69 779.735 700.296 779.189 701.108 778.646C701.929 778.087 702.854 777.646 703.885 777.321C705.438 776.832 706.868 776.627 708.176 776.707C709.497 776.782 710.558 777.117 711.359 777.711C712.157 778.292 712.863 779.189 713.477 780.402L710.339 781.882C709.869 780.91 709.184 780.252 708.284 779.908C707.396 779.56 706.3 779.591 704.996 780.002C703.456 780.487 702.437 781.088 701.939 781.804C701.441 782.521 701.3 783.221 701.515 783.904C701.652 784.338 701.912 784.686 702.295 784.948C702.681 785.222 703.204 785.385 703.862 785.437C704.236 785.456 705.313 785.431 707.094 785.361C709.665 785.247 711.481 785.249 712.542 785.365C713.611 785.465 714.534 785.816 715.31 786.418C716.087 787.02 716.655 787.892 717.015 789.035C717.367 790.152 717.37 791.312 717.025 792.512C716.688 793.697 715.991 794.756 714.934 795.69C713.873 796.611 712.566 797.316 711.013 797.805C708.443 798.615 706.312 798.699 704.622 798.058C702.944 797.412 701.589 796.099 700.555 794.117Z" fill="black"/>
<path id="[Copy] test_panel v.0.0.1_4" d="M730.968 786.751L732.579 789.454C731.735 790.011 730.949 790.432 730.223 790.719C729.036 791.187 728.041 791.362 727.239 791.244C726.437 791.127 725.783 790.818 725.278 790.317C724.768 789.804 724.126 788.567 723.352 786.604L718.975 775.502L716.577 776.448L715.574 773.904L717.972 772.959L716.088 768.18L718.567 764.935L721.225 771.676L724.514 770.38L725.517 772.924L722.228 774.22L726.676 785.504C727.044 786.437 727.335 787.015 727.549 787.238C727.775 787.457 728.046 787.595 728.363 787.652C728.691 787.705 729.098 787.635 729.583 787.444C729.946 787.301 730.408 787.07 730.968 786.751Z" fill="black"/>
<path id="[Copy] test_panel v.0.0.1_5" d="M739.518 795.421L738.417 793.134L759.41 783.025L760.512 785.312L739.518 795.421Z" fill="black"/>
<path id="[Copy] test_panel v.0.0.1_6" d="M766.149 782.17L751.578 757.454L754.338 755.827L755.706 758.149C755.821 756.857 756.156 755.745 756.71 754.814C757.258 753.871 758.115 753.056 759.282 752.368C760.807 751.469 762.385 751.068 764.014 751.166C765.644 751.263 767.179 751.855 768.62 752.94C770.054 754.014 771.274 755.403 772.279 757.108C773.356 758.937 773.998 760.781 774.202 762.64C774.411 764.482 774.119 766.166 773.325 767.692C772.537 769.199 771.452 770.36 770.073 771.173C769.063 771.769 768.029 772.091 766.97 772.141C765.922 772.184 764.949 772.032 764.049 771.686L769.177 780.385L766.149 782.17ZM759.647 764.872C761.003 767.172 762.47 768.597 764.049 769.147C765.628 769.697 767.079 769.583 768.403 768.802C769.749 768.009 770.565 766.765 770.85 765.07C771.14 763.357 770.581 761.306 769.173 758.917C767.831 756.64 766.354 755.212 764.744 754.635C763.146 754.051 761.696 754.142 760.394 754.909C759.104 755.67 758.317 756.95 758.033 758.75C757.754 760.532 758.292 762.573 759.647 764.872Z" fill="black"/>
<path id="[Copy] test_panel v.0.0.1_7" d="M793.958 752.091C793.516 753.742 792.926 755.099 792.189 756.162C791.462 757.218 790.531 758.138 789.396 758.923C787.521 760.218 785.766 760.759 784.13 760.544C782.486 760.318 781.172 759.493 780.188 758.069C779.61 757.233 779.272 756.343 779.174 755.398C779.078 754.436 779.191 753.534 779.513 752.695C779.846 751.847 780.324 751.05 780.947 750.303C781.411 749.761 782.168 749.024 783.218 748.093C785.361 746.201 786.851 744.681 787.688 743.533C787.425 743.129 787.256 742.873 787.182 742.766C786.368 741.588 785.521 740.946 784.642 740.842C783.451 740.699 782.127 741.131 780.67 742.138C779.31 743.078 778.469 744.015 778.149 744.948C777.832 745.864 777.936 747.034 778.462 748.459L775.368 750.028C774.788 748.639 774.538 747.372 774.616 746.226C774.687 745.069 775.143 743.907 775.983 742.741C776.816 741.564 777.966 740.469 779.434 739.455C780.891 738.448 782.193 737.802 783.34 737.515C784.488 737.229 785.457 737.2 786.248 737.429C787.032 737.647 787.783 738.093 788.502 738.768C788.939 739.194 789.602 740.05 790.49 741.335L793.155 745.192C795.013 747.88 796.249 749.543 796.862 750.179C797.479 750.797 798.196 751.307 799.011 751.709L795.991 753.797C795.276 753.404 794.599 752.835 793.958 752.091ZM789.253 745.798C788.5 746.952 787.177 748.404 785.284 750.155C784.214 751.148 783.506 751.922 783.161 752.477C782.816 753.032 782.654 753.61 782.675 754.213C782.689 754.805 782.869 755.353 783.217 755.857C783.75 756.628 784.484 757.071 785.417 757.185C786.362 757.292 787.396 756.957 788.521 756.18C789.635 755.41 790.46 754.485 790.994 753.403C791.522 752.311 791.696 751.201 791.519 750.073C791.378 749.205 790.867 748.134 789.986 746.859L789.253 745.798Z" fill="black"/>
<path id="[Copy] test_panel v.0.0.1_8" d="M804.73 747.471L791.959 731.127L794.452 729.179L796.268 731.502C796.065 728.769 797.098 726.516 799.365 724.745C800.35 723.975 801.393 723.449 802.495 723.167C803.598 722.866 804.58 722.843 805.439 723.097C806.299 723.351 807.119 723.808 807.901 724.47C808.404 724.903 809.157 725.761 810.159 727.043L818.012 737.093L815.241 739.257L807.473 729.315C806.591 728.187 805.826 727.43 805.178 727.044C804.521 726.648 803.788 726.502 802.977 726.607C802.169 726.693 801.395 727.025 800.656 727.602C799.477 728.524 798.748 729.697 798.472 731.119C798.205 732.533 798.89 734.287 800.525 736.38L807.5 745.306L804.73 747.471Z" fill="black"/>
<path id="[Copy] test_panel v.0.0.1_9" d="M830.356 718.452L833.464 716.518C834.352 718.529 834.562 720.477 834.094 722.362C833.625 724.248 832.454 725.947 830.581 727.461C828.221 729.368 825.763 730.159 823.205 729.832C820.649 729.487 818.311 728.002 816.191 725.38C813.998 722.666 812.994 719.994 813.18 717.366C813.367 714.738 814.574 712.524 816.801 710.723C818.959 708.98 821.314 708.29 823.868 708.653C826.422 709.017 828.775 710.53 830.928 713.193C831.059 713.355 831.25 713.603 831.502 713.935L819.471 723.658C821.004 725.349 822.602 726.3 824.265 726.514C825.927 726.727 827.432 726.29 828.779 725.201C829.782 724.391 830.424 723.436 830.708 722.336C830.991 721.237 830.874 719.942 830.356 718.452ZM817.806 721.287L826.814 714.007C825.595 712.748 824.429 712.009 823.313 711.789C821.591 711.439 820.036 711.825 818.649 712.947C817.393 713.961 816.675 715.237 816.493 716.773C816.322 718.301 816.759 719.806 817.806 721.287Z" fill="black"/>
<path id="[Copy] test_panel v.0.0.1_10" d="M841.572 717.917L823.359 695.823L826.072 693.587L844.284 715.681L841.572 717.917Z" fill="black"/>
<path id="[Copy] test_panel v.0.0.1_11" d="M861.404 701.121L841.743 690.828L844.521 688.367L856.091 694.712C857.341 695.396 858.597 696.146 859.857 696.96C859.366 695.934 858.82 694.66 858.22 693.139L853.278 680.609L855.982 678.213L863.86 698.945L861.404 701.121Z" fill="black"/>
<path id="[Copy] test_panel v.0.0.1_12" d="M873.676 689.968L870.913 687.069L873.812 684.307L876.574 687.205L873.676 689.968Z" fill="black"/>
<path id="[Copy] test_panel v.0.0.1_13" d="M872.743 671.522C870.244 669.238 868.468 667.147 867.415 665.25C866.361 663.334 865.882 661.494 865.977 659.729C866.082 657.955 866.837 656.299 868.242 654.761C869.279 653.627 870.419 652.843 871.662 652.409C872.895 651.967 874.199 651.862 875.574 652.095C876.939 652.319 878.386 652.84 879.916 653.656C881.436 654.463 883.244 655.824 885.339 657.739C887.819 660.005 889.59 662.091 890.653 663.997C891.706 665.895 892.185 667.735 892.09 669.518C891.994 671.283 891.239 672.939 889.825 674.486C887.963 676.524 885.77 677.456 883.246 677.284C880.213 677.07 876.712 675.149 872.743 671.522ZM875.18 668.854C878.65 672.026 881.331 673.734 883.222 673.981C885.112 674.209 886.602 673.728 887.691 672.536C888.781 671.344 889.117 669.817 888.702 667.956C888.295 666.085 886.362 663.568 882.902 660.406C879.422 657.226 876.737 655.522 874.847 655.294C872.965 655.056 871.471 655.542 870.364 656.753C869.275 657.945 868.91 659.358 869.269 660.991C869.74 663.062 871.711 665.683 875.18 668.854Z" fill="black"/>
<path id="[Copy] test_panel v.0.0.1_14" d="M902.018 659.095L898.788 656.729L901.154 653.499L904.384 655.865L902.018 659.095Z" fill="black"/>
<path id="[Copy] test_panel v.0.0.1_15" d="M897.967 640.676C895.041 638.974 892.862 637.308 891.431 635.677C889.994 634.029 889.136 632.332 888.855 630.587C888.581 628.831 888.968 627.052 890.015 625.252C890.788 623.923 891.735 622.916 892.858 622.228C893.97 621.534 895.222 621.155 896.615 621.091C897.996 621.021 899.521 621.223 901.189 621.696C902.846 622.162 904.901 623.109 907.355 624.536C910.259 626.225 912.432 627.888 913.875 629.525C915.306 631.156 916.164 632.853 916.45 634.615C916.73 636.36 916.344 638.139 915.29 639.951C913.902 642.337 911.957 643.714 909.454 644.081C906.445 644.515 902.616 643.38 897.967 640.676ZM899.784 637.553C903.847 639.916 906.829 641.018 908.73 640.858C910.626 640.68 911.979 639.893 912.791 638.498C913.603 637.102 913.608 635.539 912.808 633.808C912.013 632.065 909.59 630.016 905.538 627.659C901.463 625.29 898.478 624.194 896.582 624.371C894.693 624.538 893.336 625.33 892.511 626.748C891.7 628.144 891.642 629.602 892.34 631.122C893.239 633.046 895.721 635.19 899.784 637.553Z" fill="black"/>
<path id="[Copy] test_panel v.0.0.1_16" d="M922.907 624.756L919.38 622.861L921.275 619.334L924.802 621.229L922.907 624.756Z" fill="black"/>
<path id="[Copy] test_panel v.0.0.1_17" d="M933.166 607.527L931.234 610.465L912.516 598.157C912.725 599.308 912.788 600.682 912.704 602.279C912.628 603.865 912.458 605.225 912.194 606.361L909.354 604.494C909.662 602.343 909.671 600.292 909.38 598.34C909.09 596.388 908.596 594.817 907.898 593.626L909.143 591.733L933.166 607.527Z" fill="black"/>
</g>
</g>
<g id="params">
<circle id="back" cx="295.5" cy="188.5" r="60.5" fill="#FF0000"/>
<circle id="eye" cx="801.5" cy="203.5" r="60.5" fill="#FF0000"/>
</g>
<g id="sockets">
<rect id="feet" x="157" y="666" width="60" height="60" fill="#00FF00"/>
<rect id="faat" x="590" y="683" width="60" height="60" fill="#00FF00"/>
<rect id="foot" x="286" y="666" width="60" height="60" fill="#00FF00"/>
<rect id="nose" x="728" y="486" width="60" height="60" fill="#00FF00"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 19 KiB

@ -43,6 +43,10 @@
</button>
</header>
<div class="meta">
<p class="description">{{patch['description']}}</p>
</div>
<div>
<div class="instrument">
<div id="panel-container">{{panel|safe}}</div>

@ -1,4 +1,4 @@
from flask import Flask, render_template, request, redirect, url_for, jsonify
from flask import Flask, render_template, request, redirect, url_for
from werkzeug.utils import secure_filename
import json
import sqlite3
@ -222,4 +222,4 @@ def patch(instrument, name):
app.run(port=3146, debug=True)
app.run(port=os.environ.get('FLASK_RUN_PORT'), debug=True)
Loading…
Cancel
Save