base.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. <!--
  2. This file is part of DarkFi (https://dark.fi)
  3. Copyright (C) 2020-2026 Dyne.org foundation
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU Affero General Public License as
  6. published by the Free Software Foundation, either version 3 of the
  7. License, or (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU Affero General Public License for more details.
  12. You should have received a copy of the GNU Affero General Public License
  13. along with this program. If not, see <https://www.gnu.org/licenses/>.
  14. -->
  15. <!DOCTYPE html>
  16. <html lang="en">
  17. <head>
  18. <title>DarkFi &ndash; {% block title %}{% endblock %}</title>
  19. <link rel="icon" type="image/png" href="{{ url_for('static', filename= 'img/icon.png') }}"/>
  20. <!-- Latest compiled and minified CSS -->
  21. <link rel="stylesheet" href="{{ url_for('static', filename= 'bootstrap.min.css') }}">
  22. <link rel="stylesheet" href="{{ url_for('static', filename= 'style.css') }}"/>
  23. <meta charset="utf-8">
  24. <meta name="viewport" content="width=device-width, initial-scale=1">
  25. </head>
  26. <body>
  27. <div class="page-container">
  28. <nav class="navbar navbar-expand-md navbar-dark tedt border-bottom border-secondary">
  29. <a class="navbar-brand" href="https://dark.fi/">
  30. <img src="{{ url_for('static', filename= 'img/darkfi.svg') }}" style="height:40px;"/>
  31. </a>
  32. <!--- Network -->
  33. <div class="text-light">
  34. {{ config.NETWORK }}
  35. </div>
  36. <div class="collapse navbar-collapse nav justify-content-end" id="collapsibleNavbar" style="height:40px;">
  37. <ul class="navbar-nav">
  38. <li class="nav-item">
  39. <a class="nav-link text-light" href="/">Explorer</a>
  40. </li>
  41. <!--Twitter-->
  42. <li class="nav-item" style="padding-left:10px;">
  43. <div class="icon-sm">
  44. <a href="https://twitter.com/DarkFiSquad" class="">
  45. <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg"
  46. xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
  47. viewBox="0 0 100 100"
  48. style="enable-background:new 0 0 100 100; max-width:30px; min-width:15px;"
  49. xml:space="preserve">
  50. <style type="text/css">
  51. .st0 {
  52. fill: #3a3a3a;
  53. }
  54. </style>
  55. <g id="layer1" transform="translate(-539.17946,-568.85777)">
  56. <path id="path3611" class="st0"
  57. d="M570.9,659c37.3,0,57.7-30.9,57.7-57.7c0-0.9,0-1.8-0.1-2.6c4-2.9,7.4-6.4,10.1-10.5
  58. c-3.6,1.6-7.5,2.7-11.6,3.2c4.2-2.5,7.4-6.5,8.9-11.2c-3.9,2.3-8.3,4-12.9,4.9c-3.7-3.9
  59. -9-6.4-14.8-6.4c-11.2,0-20.3,9.1-20.3,20.3c0,1.6,0.2,3.1,0.5,4.6c-16.8-0.8-31.8-8.9
  60. -41.8-21.2c-1.7,3-2.7,6.5-2.7,10.2c0,7,3.6,13.2,9,16.9c-3.3-0.1-6.5-1-9.2-2.5c0,0.1,0,0.2,0,
  61. 0.3c0,9.8,7,18,16.3,19.9c-1.7,0.5-3.5,0.7-5.3,0.7c-1.3,0-2.6-0.1-3.8-0.4c2.6,8.1,10.1,13.9,
  62. 18.9,14.1c-6.9,5.4-15.7,8.7-25.2,8.7c-1.6,0-3.2-0.1-4.8-0.3C548.7,655.7,559.4,659,570.9,659"/>
  63. </g>
  64. </svg>
  65. </a>
  66. </div>
  67. </li>
  68. <!--Codeberg-->
  69. <li class="nav-item" style="padding-left:10px;">
  70. <div class="icon-sm">
  71. <a href="https://codeberg.org/darkrenaissance/darkfi" class="">
  72. <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg"
  73. xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
  74. viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;"
  75. xml:space="preserve">
  76. <style type="text/css">
  77. .st0 {
  78. fill: #3A3A3A;
  79. }
  80. </style>
  81. <g id="g370484" transform="matrix(0.06551432,0,0,0.06551432,-2.232417,-1.431776)">
  82. <g>
  83. <path id="path6733-5_00000147220371580420933290000015044290908562073483_"
  84. class="st0"
  85. d="M797.5,506.6c-2.6,0-4.7,1.6-4.7,3.6c0,0.2,0,0.4,0.1,0.6l253.7,1037.5c104.2-35.5,
  86. 265.5-150.8,346-256.8l-591-783.2C800.8,507.2,799.2,506.6,797.5,506.6z"/>
  87. <path id="path360787_00000175324937253379690650000018049397027717501353_"
  88. class="st0"
  89. d="M797.3,59C375.7,59,34.1,400.6,34.1,822.1c0,143.4,40.4,283.8,
  90. 116.5,405.3l636.3-822.6c4.6-5.9,16.1-5.9,20.6,0l636.3,822.6c76.2-121.5,
  91. 116.6-262,116.6-405.4C1560.5,400.6,1218.8,59,797.3,59L797.3,59z"/>
  92. </g>
  93. </g>
  94. </svg>
  95. </a>
  96. </div>
  97. </li>
  98. <!--Darkirc-->
  99. <li class="nav-item" style="padding-left:10px;">
  100. <div class="icon-sm">
  101. <a href="https://dark.fi/book/misc/darkirc/darkirc.html" class="">
  102. <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg"
  103. xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
  104. viewBox="0 0 100 100"
  105. style="enable-background:new 0 0 100 100; max-width:30px; min-width:15px;"
  106. xml:space="preserve">
  107. <style type="text/css">
  108. .st0 {
  109. fill: #3a3a3a;
  110. }
  111. </style>
  112. <path class="st0" d="M0,0v100h100V0H0z M16.2,30c0-2,1.2-3.6,4.5-3.6c3.4,0,4.5,1.5,4.5,3.6v1.5c0,2-1.2,3.6-4.5,3.6
  113. c-3.4,0-4.5-1.6-4.5-3.6V30z M32.3,64.8H8.6v-5.9H17V44.3H8.6v-5.9h15.9v20.5h7.8V64.8z M63.1,45.4h-5.6c-3.7,0-5.7,2.5-5.7,5.7v7.8
  114. h8.7v5.9H38.2v-5.9h6.1V44.3h-6.1v-5.9h13.6v7.4h0.4c1-3.9,3.2-7.4,8.4-7.4h2.5V45.4z M81.4,65.4c-8.3,0-13.3-5.3-13.3-13.8
  115. c0-8.5,5-13.8,13.3-13.8c5.8,0,9.1,2.6,11,6.4l-5.8,3.2c-0.9-2-2.3-3.6-5.2-3.6C78,43.8,76,46,76,49.5v4.3c0,3.5,1.9,5.6,5.5,5.6
  116. c2.9,0,4.4-1.5,5.6-3.7l5.7,3.3C90.9,62.8,87.3,65.4,81.4,65.4z"/>
  117. </svg>
  118. </a>
  119. </div>
  120. </li>
  121. <!--Telegram-->
  122. <li class="nav-item" style="padding-left:10px; padding-right:10px;">
  123. <div class="icon-sm">
  124. <a href="https://t.me/darkfichat" class="">
  125. <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg"
  126. xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
  127. viewBox="0 0 100 100"
  128. style="enable-background:new 0 0 100 100; max-width:30px; min-width:15px;"
  129. xml:space="preserve">
  130. <style type="text/css">
  131. .st0 {
  132. fill: #3a3a3a;
  133. }
  134. </style>
  135. <path class="st0" d="M50,0C22.4,0,0,22.4,0,50s22.4,50,50,50s50-22.4,50-50S77.6,0,50,0z M73.8,32.5c-0.1,2-1.4,9.1-2.5,16.8
  136. L67.9,72c0,0-0.3,3.3-2.9,3.9c-2.6,0.6-6.5-2-7.2-2.6c-0.6-0.4-10.8-6.9-14.5-10.1c-1-0.9-2.2-2.6,0.1-4.6l15.2-14.5
  137. c1.7-1.7,3.5-5.8-3.8-0.9L34.7,56.9c0,0-2.3,1.4-6.6,0.1l-9.4-2.9c0,0-3.5-2.2,2.5-4.3c14.5-6.8,32.2-13.7,48-20.2
  138. C69.1,29.6,74.3,27.6,73.8,32.5z"/>
  139. </svg>
  140. </a>
  141. </div>
  142. </li>
  143. </ul>
  144. </div>
  145. <div class="navbarb">
  146. <div class="navbar2">
  147. <div class="container2 nav-container2">
  148. <input class="checkbox" type="checkbox" name="" id=""/>
  149. <div class="hamburger-lines">
  150. <span class="line line1"></span>
  151. <span class="line line2"></span>
  152. <span class="line line3"></span>
  153. </div>
  154. <div class="menu-items">
  155. <li class="topnav"><a href="/">Explorer</a></li>
  156. <li><a href="https://twitter.com/DarkFiSquad">Twitter</a></li>
  157. <li><a href="https://codeberg.org/darkrenaissance/darkfi">Codeberg</a></li>
  158. <li><a href="https://dark.fi/book/misc/darkirc/darkirc.html">Darkirc</a>
  159. </li>
  160. <li><a href="https://t.me/darkfichat">Telegram</a></li>
  161. </div>
  162. </div>
  163. </div>
  164. </div>
  165. </nav>
  166. <div>
  167. {% block content %}{% endblock %}
  168. </div>
  169. <footer></footer>
  170. </div>
  171. </body>