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.

125 lines
4.4 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
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. <linearGradient id="myGradient">
  31. <stop offset="5%" stop-color="hsl(60,96%,79%)" />
  32. <stop offset="10%" stop-color="hsl(40,100%,75%)" />
  33. <stop offset="15%" stop-color="hsl(335,74%,80%)" />
  34. <stop offset="25%" stop-color="hsl(286,100%,91%)" />
  35. <stop offset="35%" stop-color="hsl(243,26%,75%)" />
  36. <stop offset="50%" stop-color="hsl(207,47%,82%)" />
  37. <stop offset="100%" stop-color="hsl(150,69%,75%)" />
  38. </linearGradient>
  39. <linearGradient id="upper_edges">
  40. <stop offset="5%" stop-color="hsl(60,96%,79%)" />
  41. <stop offset="10%" stop-color="hsl(40,100%,75%)" />
  42. </linearGradient>
  43. </defs>
  44. <g class="group1">
  45. <a href="/network">
  46. <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)"/>
  47. </a>
  48. <path class="edge" id="edge1" d="M50, 50 m 10,0 L85, 35"/>
  49. </g>
  50. <g class="group2">
  51. <a href="#">
  52. <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="hsl(207,47%,70%)"/>
  53. </a>
  54. <path class="edge" id="edge2" d="M 95, 35 m 0,10 L95, 60"/>
  55. </g>
  56. <g class="group3">
  57. <a href="#">
  58. <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)"/>
  59. </a>
  60. <path class="edge" id="edge3" d="M 95, 80 m 0,10 L95, 80"/>
  61. </g>
  62. <g class="group4">
  63. <a href="#">
  64. <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)"/>
  65. </a>
  66. <path class="edge" id="edge4" d="M95, 100 m -10,0 L60, 105"/>
  67. <path class="edge" id="edge5" d="M96.15, 100 m -10,-5 L55, 58.75" />
  68. </g>
  69. <g class="group5">
  70. <a href="#">
  71. <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"/>
  72. </a>
  73. <path class="edge" id="edge6" d="M50, 105 m -10, 0 L25, 100" />
  74. <path class="edge" id="edge7" d="M50, 105 m 0, -10 L50, 60" />
  75. </g>
  76. <g class="group6">
  77. <a href="#">
  78. <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)"/>
  79. </a>
  80. <path class="edge" id="edge8" d="M15, 100 m 0, -10 L15, 65" />
  81. <path class="edge" id="edge9" d="M15, 100 m 0, -10 L77.35, 70" />
  82. </g>
  83. <g class="group7">
  84. <a href="#">
  85. <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"/>
  86. </a>
  87. <path class="edge" id="edge10" d="M15, 55 m 10, 0 L40, 50" />
  88. <path class="edge" id="edge11" d="M15, 55 m 0, -10 L40, 15" />
  89. </g>
  90. <g class="group8">
  91. <a href="#">
  92. <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")/>
  93. </a>
  94. <path class="edge" id="edge12" d="M 50, 15 m 0, 10 L50, 40"/>
  95. <path class="edge" id="edge13" d="M 50, 15 m 10, 0 L86, 30"/>
  96. </g>
  97. </svg>
  98. <div id="banner">
  99. <h6 id="banner_text"> Put 20 € in a node &<br> get a Cannabinieri CBD oil<br> for free</h6>
  100. </div>
  101. {%block child%} {%endblock%}
  102. </div>
  103. {% endblock %}