server actix for cannabinieri website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

130 lines
4.6 KiB

2 years ago
  1. {% extends "base.html"%}
  2. {% block content %}
  3. <div id="container">
  4. <svg
  5. viewBox="0 0 110 125"
  6. xmlns="http://www.w3.org/2000/svg"
  7. xmlns:xlink="http://www.w3.org/1999/xlink">
  8. <defs>
  9. <pattern id="star" viewBox="0,0,100,100" width="100%" height="100%">
  10. <image href="/assets/img/kaoscube.webp" viewBox="0 0 100 100" height="100" width="105"/>
  11. </pattern>
  12. <pattern id="tekla" viewBox="0,0,100,100" width="100%" height="100%">
  13. <image href="/assets/img/tekla.webp" viewBox="0 0 100 100" height="105" width="150"/>
  14. </pattern>
  15. <pattern id="greenhouse" viewBox="0,0,100,100" width="100%" height="100%">
  16. <image href="/assets/img/3d_greenhouse.webp" viewBox="0 0 100 100" height="105" width="170"/>
  17. </pattern>
  18. <pattern id="solar_panels" viewBox="0,0,100,100" width="100%" height="100%">
  19. <image href="/assets/img/solar.webp" viewBox="0 0 100 100" height="100" width="150"/>
  20. </pattern>
  21. <pattern id="perinaldo" viewBox="0,0,100,100" width="100%" height="100%">
  22. <image href="/assets/img/sunrocket.webp" viewBox="0 0 100 100" height="100" width="100"/>
  23. </pattern>
  24. <pattern id="bootA" viewBox="0,0,100,100" width="100%" height="100%">
  25. <image href="/assets/img/bootA.webp" viewBox="0 0 100 100" height="135" width="100"/>
  26. </pattern>
  27. <pattern id="canna" viewBox="0,0,100,100" width="100%" height="100%">
  28. <image href="/assets/img/canna.webp" viewBox="0 0 100 100" height="105" width="110"/>
  29. </pattern>
  30. <pattern id="waspwork" viewBox="0,0,100,100" width="100%" height="100%">
  31. <image href="/assets/img/VR.svg" viewBox="0 0 100 100" height="130" width="110"/>
  32. </pattern>
  33. <linearGradient id="myGradient">
  34. <stop offset="5%" stop-color="hsl(60,96%,79%)" />
  35. <stop offset="10%" stop-color="hsl(40,100%,75%)" />
  36. <stop offset="15%" stop-color="hsl(335,74%,80%)" />
  37. <stop offset="25%" stop-color="hsl(286,100%,91%)" />
  38. <stop offset="35%" stop-color="hsl(243,26%,75%)" />
  39. <stop offset="50%" stop-color="hsl(207,47%,82%)" />
  40. <stop offset="100%" stop-color="hsl(150,69%,75%)" />
  41. </linearGradient>
  42. <linearGradient id="upper_edges">
  43. <stop offset="5%" stop-color="hsl(60,96%,79%)" />
  44. <stop offset="10%" stop-color="hsl(40,100%,75%)" />
  45. </linearGradient>
  46. </defs>
  47. <g class="group1">
  48. <a href="/network">
  49. <path class="node" id="node0" d="M 50, 50 m -10, 0 a 10,10 0 1,0 20,0 a 10,10 0 1,0 -20,0" fill="url(#star)"/>
  50. </a>
  51. <path class="edge" id="edge1" d="M50, 50 m 10,0 L85, 35"/>
  52. </g>
  53. <g class="group2">
  54. <a href="/app">
  55. <path class="node" id="node2" d="M 85, 35 m 0, 0 a 10,10 0 1,0 20,0 a 10,10 0 1,0 -20,0" fill="url(#waspwork)"/>
  56. </a>
  57. <path class="edge" id="edge2" d="M 95, 35 m 0,10 L95, 60"/>
  58. </g>
  59. <g class="group3">
  60. <a href="/robot">
  61. <path class="node" id="node3" d="M 85, 70 m 0, 0 a 10,10 0 1,0 20,0 a 10,10 0 1,0 -20,0" fill="url(#tekla)"/>
  62. </a>
  63. <path class="edge" id="edge3" d="M 95, 80 m 0,10 L95, 80"/>
  64. </g>
  65. <g class="group4">
  66. <a href="/remote">
  67. <path class="node" id="node4" d="M 95, 100 m -10, 0 a 10,10 0 1,0 20,0 a 10,10 0 1,0 -20,0" fill="url(#greenhouse)"/>
  68. </a>
  69. <path class="edge" id="edge4" d="M95, 100 m -10,0 L60, 105"/>
  70. <path class="edge" id="edge5" d="M96.15, 100 m -10,-5 L55, 58.75" />
  71. </g>
  72. <g class="group5">
  73. <a href="/miner">
  74. <path class="node" id="node5" d="M 50, 105 m -10, 0 a 10,10 0 1,0 20,0 a 10,10 0 1,0 -20,0" fill="url(#solar_panels"/>
  75. </a>
  76. <path class="edge" id="edge6" d="M50, 105 m -10, 0 L25, 100" />
  77. <path class="edge" id="edge7" d="M50, 105 m 0, -10 L50, 60" />
  78. </g>
  79. <g class="group6">
  80. <a href="/energy">
  81. <path class="node" id="node6" d="M 15, 100 m -10, 0 a 10,10 0 1,0 20,0 a 10,10 0 1,0 -20,0" fill="url(#perinaldo)"/>
  82. </a>
  83. <path class="edge" id="edge8" d="M15, 100 m 0, -10 L15, 65" />
  84. <path class="edge" id="edge9" d="M15, 100 m 0, -10 L77.35, 70" />
  85. </g>
  86. <g class="group7">
  87. <a href="/greenhome">
  88. <path class="node" id="node7" d="M 15, 65 m -10, -10 a 10,10 0 1,0 20,0 a 10,10 0 1,0 -20,0" fill="url(#bootA"/>
  89. </a>
  90. <path class="edge" id="edge10" d="M15, 55 m 10, 0 L40, 50" />
  91. <path class="edge" id="edge11" d="M15, 55 m 0, -10 L40, 15" />
  92. </g>
  93. <g class="group8">
  94. <a href="/cannabinieri">
  95. <path class="node" id="node8" d="M 50, 15 m -10, 0 a 10,10 0 1,0 20,0 a 10,10 0 1,0 -20,0" fill="url(#canna")/>
  96. </a>
  97. <path class="edge" id="edge12" d="M 50, 15 m 0, 10 L50, 40"/>
  98. <path class="edge" id="edge13" d="M 50, 15 m 10, 0 L86, 30"/>
  99. </g>
  100. </svg>
  101. <div id="banner">
  102. </div>
  103. <!-- <p id="text"> Put €20 in a node & <br>get a free Cannabinieri Oil </p> -->
  104. {%block child%} {%endblock%}
  105. </div>
  106. {% endblock %}