Untitled


SUBMITTED BY: Guest

DATE: Dec. 7, 2023, 12:22 a.m.

FORMAT: Text only

SIZE: 33.8 kB

HITS: 382

  1. #!/bin/bash
  2. # Verifica se o diretório foi fornecido
  3. if [ -z "$1" ]; then
  4. echo "Por favor, forneça o caminho do diretório como argumento."
  5. exit 1
  6. fi
  7. # Verifica se o diretório existe
  8. if [ ! -d "$1" ]; then
  9. echo "O diretório fornecido não existe."
  10. exit 1
  11. fi
  12. # Muda para o diretório alvo
  13. cd "$1" || exit 1
  14. function iconPackage {
  15. read -d $'' ShowText <<EOF
  16. <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  17. <rect x="1" y="1" width="22" height="22" rx="6.6" fill="url(#paint0_radial_6_122)"/>
  18. <path opacity="0.25" d="M13.5 1H10.5V23H13.5V1Z" fill="white"/>
  19. <path opacity="0.25" d="M13.498 1H11.9769V23H13.498V1Z" fill="white"/>
  20. <defs>
  21. <radialGradient id="paint0_radial_6_122" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(17.5 1) rotate(116.565) scale(24.5967)">
  22. <stop stop-color="#F3C7A4"/>
  23. <stop offset="1" stop-color="#D59868"/>
  24. </radialGradient>
  25. </defs>
  26. </svg>
  27. EOF
  28. echo "$ShowText"
  29. }
  30. function iconSig {
  31. read -d $'' ShowText <<EOF
  32. <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  33. <rect x="1" y="1" width="22" height="22" rx="6.6" fill="url(#paint0_radial_3_1054)"/>
  34. <path opacity="0.75" d="M14.4051 5.00255C11.8678 5.00255 9.81149 7.05888 9.81149 9.59362C9.81149 10.2829 9.96756 10.9333 10.2396 11.5174L9.45347 12.4481L9.38531 13.3202C9.37831 13.3266 8.52914 13.3515 8.52914 13.3515L8.09214 13.6674C8.09214 13.6674 8.09596 14.6198 8.09214 14.607L8.09087 14.6083L7.15635 14.623L6.76075 15.0746L6.75183 15.9282C6.75183 15.9282 5.94535 15.8754 5.86318 15.9505C5.34718 16.4258 5 16.764 5 16.764L5.00382 18.9974C5.00382 18.9974 5.30259 18.9962 5.4421 18.9962L11.3907 13.0489C11.706 13.3234 12.0589 13.5547 12.4405 13.7356L12.4418 13.7343C13.038 14.0172 13.7025 14.1809 14.4064 14.1809C16.9437 14.1809 19 12.1252 19 9.5898C19 7.05506 16.9437 4.99936 14.4051 5M15.2823 7.18756C16.1276 7.18756 16.8124 7.87364 16.8124 8.71898C16.8124 9.56432 16.1276 10.2491 15.2823 10.2491C14.4363 10.2491 13.7509 9.56432 13.7509 8.71898C13.7509 7.87364 14.4363 7.18756 15.2823 7.18756Z" fill="white"/>
  35. <path opacity="0.5" d="M15.2817 7.19074C14.4357 7.19074 13.7502 7.87683 13.7502 8.72216C13.7502 9.5675 14.4357 10.2523 15.2817 10.2523C16.127 10.2523 16.8118 9.5675 16.8118 8.72216C16.8118 7.87683 16.127 7.19074 15.2817 7.19074ZM15.2817 8.06539C15.6441 8.06539 15.9372 8.35969 15.9372 8.72216C15.9372 9.08463 15.6435 9.37767 15.2817 9.37767C14.9192 9.37767 14.6249 9.084 14.6249 8.72216C14.6249 8.35969 14.9198 8.06539 15.2817 8.06539ZM11.39 13.0521L5.43892 19.0019H7.62648L12.8208 13.8993C12.2908 13.7037 11.8079 13.4171 11.39 13.0533" fill="white"/>
  36. <defs>
  37. <radialGradient id="paint0_radial_3_1054" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(17.5 1) rotate(116.565) scale(24.5967)">
  38. <stop stop-color="#8EE88E"/>
  39. <stop offset="1" stop-color="#49C649"/>
  40. </radialGradient>
  41. </defs>
  42. </svg>
  43. EOF
  44. echo "$ShowText"
  45. }
  46. function iconIso {
  47. read -d $'' ShowText <<EOF
  48. <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  49. <rect x="1" y="1" width="22" height="22" rx="6.6" fill="url(#paint0_radial_1_284)"/>
  50. <path opacity="0.75" d="M20 12C20.0027 10.9487 19.7976 9.90716 19.3965 8.93533C18.9955 7.9635 18.4063 7.08051 17.6629 6.3371C16.9195 5.5937 16.0365 5.00453 15.0647 4.60345C14.0928 4.20238 13.0513 3.99731 12 4.00003C10.9487 3.99731 9.90716 4.20238 8.93533 4.60345C7.9635 5.00453 7.08051 5.5937 6.3371 6.3371C5.5937 7.08051 5.00453 7.9635 4.60345 8.93533C4.20238 9.90716 3.99731 10.9487 4.00003 12C3.99731 13.0513 4.20238 14.0928 4.60345 15.0647C5.00453 16.0365 5.5937 16.9195 6.3371 17.6629C7.08051 18.4063 7.9635 18.9955 8.93533 19.3965C9.90716 19.7976 10.9487 20.0027 12 20C13.0513 20.0027 14.0928 19.7976 15.0647 19.3965C16.0365 18.9955 16.9195 18.4063 17.6629 17.6629C18.4063 16.9195 18.9955 16.0365 19.3965 15.0647C19.7976 14.0928 20.0027 13.0513 20 12ZM14.9262 12C14.9262 13.6121 13.643 14.9277 12 14.9277C11.6149 14.9299 11.2331 14.8556 10.8768 14.7093C10.5206 14.5629 10.1969 14.3474 9.92446 14.0751C9.65205 13.8028 9.43634 13.4792 9.2898 13.123C9.14327 12.7669 9.06883 12.3851 9.07078 12C9.07078 10.3894 10.2581 9.07381 11.9985 9.07381C13.7389 9.07381 14.9262 10.4219 14.9262 12Z" fill="white"/>
  51. <path opacity="0.35" d="M11.9992 7.99831C11.4737 7.99844 10.9534 8.10207 10.4679 8.30328C9.98248 8.5045 9.54141 8.79937 9.1699 9.17105C8.7984 9.54273 8.50374 9.98394 8.30275 10.4695C8.10176 10.955 7.99838 11.4754 7.9985 12.0009C7.99863 12.5265 8.10226 13.0468 8.30348 13.5323C8.5047 14.0177 8.79956 14.4588 9.17124 14.8303C9.54292 15.2018 9.98413 15.4964 10.4697 15.6974C10.9552 15.8984 11.4756 16.0018 12.0011 16.0017C13.0625 16.0014 14.0802 15.5796 14.8305 14.829C15.5808 14.0783 16.0021 13.0604 16.0019 11.9991C16.0016 10.9377 15.5798 9.92 14.8291 9.16971C14.0785 8.41943 13.0606 7.99806 11.9992 7.99831ZM11.9992 9.99774C12.2621 9.99786 12.5223 10.0498 12.765 10.1504C13.0078 10.2511 13.2284 10.3987 13.4141 10.5846C13.5999 10.7705 13.7472 10.9912 13.8476 11.2341C13.9481 11.4769 13.9997 11.7372 13.9996 12C13.9995 12.2628 13.9476 12.523 13.8469 12.7658C13.7462 13.0086 13.5987 13.2291 13.4128 13.4149C13.2269 13.6006 13.0062 13.7479 12.7633 13.8484C12.5204 13.9489 12.2602 14.0005 11.9974 14.0004C11.4666 14.0004 10.9575 13.7895 10.5822 13.4142C10.2069 13.0389 9.99604 12.5298 9.99604 11.9991C9.99604 11.4683 10.2069 10.9592 10.5822 10.5839C10.9575 10.2086 11.4666 9.99774 11.9974 9.99774H11.9992Z" fill="white"/>
  52. <defs>
  53. <radialGradient id="paint0_radial_1_284" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(17.5 1) rotate(116.565) scale(24.5967)">
  54. <stop stop-color="#9A9A9A"/>
  55. <stop offset="1" stop-color="#5D5D5D"/>
  56. </radialGradient>
  57. </defs>
  58. </svg>
  59. EOF
  60. echo "$ShowText"
  61. }
  62. function iconTxt {
  63. read -d $'' ShowText <<EOF
  64. <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  65. <rect x="1" y="1" width="22" height="22" rx="6.6" fill="url(#paint0_radial_3_136)"/>
  66. <path d="M3.99938 12.557C3.99938 12.4466 4.08892 12.357 4.19938 12.357H19.7994C19.9098 12.357 19.9994 12.4466 19.9994 12.557V13.157C19.9994 13.2675 19.9098 13.357 19.7994 13.357H4.19938C4.08892 13.357 3.99938 13.2675 3.99938 13.157V12.557Z" fill="#006699"/>
  67. <path d="M3.99938 14.271C3.99938 14.1606 4.08892 14.071 4.19938 14.071H19.7994C19.9098 14.071 19.9994 14.1606 19.9994 14.271V14.871C19.9994 14.9815 19.9098 15.071 19.7994 15.071H4.19938C4.08892 15.071 3.99938 14.9815 3.99938 14.871V14.271Z" fill="#006699"/>
  68. <path d="M3.99938 15.9859C3.99938 15.8754 4.08892 15.7859 4.19938 15.7859H19.7994C19.9098 15.7859 19.9994 15.8754 19.9994 15.9859V16.5859C19.9994 16.6964 19.9098 16.7859 19.7994 16.7859H4.19938C4.08892 16.7859 3.99938 16.6964 3.99938 16.5859V15.9859Z" fill="#006699"/>
  69. <path d="M3.99938 17.7008C3.99938 17.5903 4.08892 17.5008 4.19938 17.5008H11.7994C11.9098 17.5008 11.9994 17.5903 11.9994 17.7008V18.3008C11.9994 18.4112 11.9098 18.5008 11.7994 18.5008H4.19938C4.08892 18.5008 3.99938 18.4112 3.99938 18.3008V17.7008Z" fill="#006699"/>
  70. <path d="M3.99938 7.41421C3.99938 7.30375 4.08892 7.21421 4.19938 7.21421H19.7994C19.9098 7.21421 19.9994 7.30375 19.9994 7.41421V8.01421C19.9994 8.12466 19.9098 8.21421 19.7994 8.21421H4.19938C4.08892 8.21421 3.99938 8.12466 3.99938 8.01421V7.41421Z" fill="#006699"/>
  71. <path d="M3.99938 9.12842C3.99938 9.01796 4.08892 8.92842 4.19938 8.92842H19.7994C19.9098 8.92842 19.9994 9.01796 19.9994 9.12842V9.72842C19.9994 9.83887 19.9098 9.92842 19.7994 9.92842H4.19938C4.08892 9.92842 3.99938 9.83887 3.99938 9.72842V9.12842Z" fill="#006699"/>
  72. <path d="M3.99938 10.8428C3.99938 10.7324 4.08892 10.6428 4.19938 10.6428H19.7994C19.9098 10.6428 19.9994 10.7324 19.9994 10.8428V11.4428C19.9994 11.5533 19.9098 11.6428 19.7994 11.6428H4.19938C4.08892 11.6428 3.99938 11.5533 3.99938 11.4428V10.8428Z" fill="#006699"/>
  73. <path d="M3.99938 5.7C3.99938 5.58954 4.08892 5.5 4.19938 5.5H19.7994C19.9098 5.5 19.9994 5.58954 19.9994 5.7V6.3C19.9994 6.41046 19.9098 6.5 19.7994 6.5H4.19938C4.08892 6.5 3.99938 6.41046 3.99938 6.3V5.7Z" fill="#006699"/>
  74. <defs>
  75. <radialGradient id="paint0_radial_3_136" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(17.5 1) rotate(116.565) scale(24.5967)">
  76. <stop stop-color="#F4F4F4"/>
  77. <stop offset="1" stop-color="#BBBBBB"/>
  78. </radialGradient>
  79. </defs>
  80. </svg>
  81. EOF
  82. echo "$ShowText"
  83. }
  84. function iconDb {
  85. read -d $'' ShowText <<EOF
  86. <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  87. <rect x="1" y="1" width="22" height="22" rx="6.6" fill="url(#paint0_radial_110_2)"/>
  88. <path d="M12.0003 10.1655C15.2908 10.1655 17.9584 9.13947 17.9584 7.87385C17.9584 6.60824 15.2908 5.58225 12.0003 5.58225C8.70971 5.58225 6.04218 6.60824 6.04218 7.87385C6.04218 9.13947 8.70971 10.1655 12.0003 10.1655Z" stroke="#F4F4F4" stroke-width="0.916641" stroke-linejoin="round"/>
  89. <path d="M6.04156 7.76004V16.1244" stroke="#F4F4F4" stroke-width="0.916641"/>
  90. <path d="M17.9577 10.6238C17.9578 11.0261 17.6825 11.4213 17.1595 11.7696C16.6366 12.118 15.8844 12.4073 14.9786 12.6085C14.0729 12.8096 13.0454 12.9155 11.9996 12.9155C10.9537 12.9155 9.92627 12.8096 9.02052 12.6085C8.11474 12.4073 7.36256 12.118 6.83962 11.7696C6.31667 11.4213 6.04137 11.0261 6.04139 10.6238" stroke="#F4F4F4" stroke-width="0.916641" stroke-linejoin="round"/>
  91. <path d="M17.9577 13.3738C17.9578 13.776 17.6825 14.1712 17.1595 14.5196C16.6366 14.868 15.8844 15.1573 14.9786 15.3584C14.0729 15.5595 13.0454 15.6654 11.9996 15.6654C10.9537 15.6654 9.92627 15.5595 9.02052 15.3584C8.11474 15.1573 7.36256 14.868 6.83962 14.5196C6.31667 14.1712 6.04137 13.776 6.04139 13.3738" stroke="#F4F4F4" stroke-width="0.916641" stroke-linejoin="round"/>
  92. <path d="M17.9577 16.1237C17.9578 16.526 17.6825 16.9212 17.1595 17.2696C16.6366 17.6179 15.8844 17.9072 14.9786 18.1084C14.0729 18.3095 13.0454 18.4154 11.9996 18.4154C10.9537 18.4154 9.92627 18.3095 9.02052 18.1084C8.11474 17.9072 7.36256 17.6179 6.83962 17.2696C6.31667 16.9212 6.04137 16.526 6.04139 16.1237" stroke="#F4F4F4" stroke-width="0.916641" stroke-linejoin="round"/>
  93. <path d="M17.9577 7.76004V16.1244" stroke="#F4F4F4" stroke-width="0.916641"/>
  94. <defs>
  95. <radialGradient id="paint0_radial_110_2" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(17.5 1) rotate(116.565) scale(24.5967)">
  96. <stop stop-color="#D89BD9"/>
  97. <stop offset="1" stop-color="#B138B4"/>
  98. </radialGradient>
  99. </defs>
  100. </svg>
  101. EOF
  102. echo "$ShowText"
  103. }
  104. function iconFolder {
  105. read -d $'' ShowText <<EOF
  106. <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  107. <rect opacity="0.8125" x="1" y="1" width="22" height="22" rx="6.6" fill="url(#paint0_linear_215_10)"/>
  108. <rect opacity="0.125" x="3" y="2.25" width="18" height="18" rx="4.4" fill="url(#paint1_linear_215_10)" fill-opacity="0.875"/>
  109. <rect x="3.25" y="3.25" width="17.5" height="17.5" rx="4.15" fill="#CCCCCC" stroke="url(#paint2_linear_215_10)" stroke-width="0.5"/>
  110. <path opacity="0.125" d="M1 7.50781C1 5.84664 2.34664 4.5 4.00781 4.5H8.19048C9.265 4.5 10.3068 4.86994 11.1406 5.54762V5.54762C11.9745 6.2253 13.0162 6.59524 14.0908 6.59524H19.9922C21.6534 6.59524 23 7.94188 23 9.60305V15.5C23 19.1451 20.0451 22.1 16.4 22.1H7.6C3.95492 22.1 1 19.1451 1 15.5V7.50781Z" fill="url(#paint3_linear_215_10)" fill-opacity="0.875"/>
  111. <g opacity="0.875">
  112. <path d="M1 8.40781C1 6.74664 2.34664 5.4 4.00781 5.4H8.19048C9.265 5.4 10.3068 5.76994 11.1406 6.44762V6.44762C11.9745 7.1253 13.0162 7.49524 14.0908 7.49524H19.9922C21.6534 7.49524 23 8.84188 23 10.5031V16.4C23 20.0451 20.0451 23 16.4 23H7.6C3.95492 23 1 20.0451 1 16.4V8.40781Z" fill="url(#paint4_linear_215_10)"/>
  113. <path d="M22.625 10.5031V16.4C22.625 19.838 19.838 22.625 16.4 22.625H7.6C4.16203 22.625 1.375 19.838 1.375 16.4V8.40781C1.375 6.95375 2.55375 5.775 4.00781 5.775H8.19048C9.17886 5.775 10.1371 6.11528 10.9041 6.73863C11.8048 7.47064 12.9301 7.87024 14.0908 7.87024H19.9922C21.4462 7.87024 22.625 9.04899 22.625 10.5031Z" stroke="url(#paint5_linear_215_10)" stroke-opacity="0.375" stroke-width="0.75" stroke-linejoin="round"/>
  114. </g>
  115. <defs>
  116. <linearGradient id="paint0_linear_215_10" x1="23" y1="0.999999" x2="1" y2="12" gradientUnits="userSpaceOnUse">
  117. <stop stop-color="#E3C880"/>
  118. <stop offset="1" stop-color="#6F5C38"/>
  119. </linearGradient>
  120. <linearGradient id="paint1_linear_215_10" x1="21" y1="4" x2="3" y2="4" gradientUnits="userSpaceOnUse">
  121. <stop stop-opacity="0.5"/>
  122. <stop offset="0.890123"/>
  123. <stop offset="1" stop-opacity="0"/>
  124. </linearGradient>
  125. <linearGradient id="paint2_linear_215_10" x1="12" y1="3" x2="11.5" y2="8" gradientUnits="userSpaceOnUse">
  126. <stop stop-color="#DDDDDD"/>
  127. <stop offset="1" stop-color="#CCCCCC" stop-opacity="0"/>
  128. </linearGradient>
  129. <linearGradient id="paint3_linear_215_10" x1="23" y1="9" x2="1.01236" y2="9.52141" gradientUnits="userSpaceOnUse">
  130. <stop stop-opacity="0.5"/>
  131. <stop offset="1"/>
  132. </linearGradient>
  133. <linearGradient id="paint4_linear_215_10" x1="23" y1="5.4" x2="1.42949" y2="23.5115" gradientUnits="userSpaceOnUse">
  134. <stop stop-color="#FFE795"/>
  135. <stop offset="1" stop-color="#7A653E"/>
  136. </linearGradient>
  137. <linearGradient id="paint5_linear_215_10" x1="15" y1="5.5" x2="5.5" y2="19.5" gradientUnits="userSpaceOnUse">
  138. <stop stop-color="#FFE795"/>
  139. <stop offset="1" stop-color="#7A653E"/>
  140. </linearGradient>
  141. </defs>
  142. </svg>
  143. EOF
  144. echo "$ShowText"
  145. }
  146. read -d $'' ShowText <<EOF
  147. <html>
  148. <head>
  149. <meta charset="UTF-8">
  150. <title>
  151. BigLinux Repository
  152. </title>
  153. <style>
  154. :root {
  155. --body-bg-color: #3d4550;
  156. --theme-bg-color: rgba(16 18 27 / 40%);
  157. --border-color: rgba(113 119 144 / 25%);
  158. --theme-color: #f9fafb;
  159. --inactive-color: rgb(113 119 144 / 78%);
  160. --hover-menu-bg: rgba(12 15 25 / 30%);
  161. --content-title-color: #797e84;
  162. --content-bg: rgb(146 151 179 / 13%);
  163. --button-inactive: rgb(249 250 251 / 55%);
  164. --border-card-color: rgb(70 70 70);
  165. --dropdown-bg: #21242d;
  166. --dropdown-hover: rgb(42 46 60);
  167. --popup-bg: rgb(22 25 37);
  168. --subtitle-bg: rgb(0 102 153);
  169. --search-bg: rgb(255 255 255 / 8%);
  170. --overlay-bg: rgba(36, 39, 59, 0.3);
  171. --scrollbar-bg: #428bff;
  172. --border-box: #777;
  173. --shador-color-icons: rgb(79 79 79 / 100%);
  174. --subtitle: rgb(255 255 255 / 100%);
  175. --search-color: rgb(155 155 155 / 100%);
  176. --search-color-over: #fff;
  177. --footer-bg-color: #2a303a;
  178. --box-color-shadow-01: rgba(0, 0, 0, 0.2);
  179. --text-a-color: #ccc;
  180. }
  181. .light-mode {
  182. --body-bg-color: #252d37;
  183. --theme-bg-color: rgb(255 255 255 / 31%);
  184. --theme-color: #3c3a3a;
  185. --inactive-color: #333333;
  186. --button-inactive: #3c3a3a;
  187. --border-card-color: rgb(188 191 193);
  188. --search-bg: rgb(255 255 255 / 31%);
  189. --dropdown-bg: #f7f7f7;
  190. --overlay-bg: rgb(255 255 255 / 30%);
  191. --dropdown-hover: rgb(236 236 236);
  192. --border-color: rgb(255 255 255 / 35%);
  193. --popup-bg: rgb(255 255 255);
  194. --subtitle-bg: rgb(255 255 255);
  195. --hover-menu-bg: rgba(255 255 255 / 35%);
  196. --scrollbar-bg: #428bff;
  197. --content-title-color: --theme-color;
  198. --content-bg: rgb(255 255 255 / 19%);
  199. --border-box: #aaa;
  200. --logo-big: invert(100%);
  201. --shador-color-icons: rgb(0 0 0 / 28%);
  202. --subtitle: rgb(0 0 0 / 100%);
  203. --search-color: rgb(100 100 100 / 100%);
  204. --search-color-over: #000;
  205. --footer-bg-color: #6c6d6d;
  206. --box-color-shadow-01: rgba(0, 0, 0, 0.2);
  207. --text-a-color: #444;
  208. }
  209. body {
  210. background-color: var(--body-bg-color);
  211. display: flex;
  212. flex-direction: column;
  213. padding: 0;
  214. width: 100%;
  215. height: 100vh;
  216. margin: 0;
  217. font-family: Lato, sans-serif;
  218. }
  219. /* --------------------------- */
  220. /* OPEN CHANGE COLOR BUTTON */
  221. /* --------------------------- */
  222. .dark-light {
  223. position: fixed;
  224. bottom: 50px;
  225. right: 30px;
  226. background-color: var(--dropdown-bg);
  227. box-shadow: -1px 3px 8px -1px var(--box-color-shadow-01);
  228. padding: 8px;
  229. border-radius: 50%;
  230. z-index: 3;
  231. width: 40px;
  232. height: 40px;
  233. cursor: pointer;
  234. }
  235. .dark-light svg {
  236. width: 24px;
  237. flex-shrink: 0;
  238. fill: #ffce45;
  239. stroke: #ffce45;
  240. transition: 0.5s;
  241. }
  242. .light-mode .dark-light svg {
  243. fill: transparent;
  244. stroke: var(--theme-color);
  245. }
  246. .light-mode .profile-img {
  247. border: 2px solid var(--theme-bg-color);
  248. }
  249. /* ---------------------------- */
  250. /* CLOSE CHANGE COLOR BUTTON */
  251. /* ---------------------------- */
  252. .light-mode .content-section ul {
  253. background-color: var(--theme-bg-color);
  254. }
  255. .light-mode .pop-up__title {
  256. border-color: var(--theme-color);
  257. }
  258. .light-mode .dropdown.is-active ul {
  259. background-color: rgba(255, 255, 255, 0.94);
  260. }
  261. body.light-mode:before {
  262. content: "";
  263. position: absolute;
  264. left: 0;
  265. top: 0;
  266. width: 100%;
  267. height: 100vh;
  268. background: linear-gradient(
  269. 180deg,
  270. rgba(255, 255, 255, 0.72) 0%,
  271. rgba(255, 255, 255, 0.45) 100%
  272. );
  273. }
  274. .app {
  275. background-color: var(--theme-bg-color);
  276. height: 100vh;
  277. display: flex;
  278. flex-direction: column;
  279. overflow: auto;
  280. width: 100%;
  281. backdrop-filter: blur(0px);
  282. font-size: var(--text-size-big);
  283. font-weight: 500;
  284. }
  285. .header {
  286. display: flex;
  287. align-items: center;
  288. flex-shrink: 0;
  289. height: 58px;
  290. width: 100%;
  291. border-bottom: 1px solid var(--border-color);
  292. white-space: nowrap;
  293. }
  294. .search-bar {
  295. /* border: 1px solid #fff;*/
  296. max-width: 600px;
  297. margin: auto;
  298. transition: 0.4s;
  299. padding-left: 0;
  300. height: 40px;
  301. /*display: flex;*/
  302. width: 100%;
  303. max-width: 300px;
  304. padding-left: 16px;
  305. border-radius: 4px;
  306. }
  307. .search-bar input {
  308. border: 1px solid #ccc;
  309. border-radius: 100px;
  310. line-height: 1;
  311. outline: none;
  312. width: 100%;
  313. height: 100%;
  314. border: none;
  315. background-color: var(--search-bg);
  316. border-radius: 4px;
  317. font-size: var(--text-size-medium);
  318. font-weight: 500;
  319. padding: 0 20px 0 40px;
  320. box-shadow: 0 0 0 2px rgba(134, 140, 160, 0.02);
  321. background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56.966 56.966' fill='%23717790c7'%3e%3cpath d='M55.146 51.887L41.588 37.786A22.926 22.926 0 0046.984 23c0-12.682-10.318-23-23-23s-23 10.318-23 23 10.318 23 23 23c4.761 0 9.298-1.436 13.177-4.162l13.661 14.208c.571.593 1.339.92 2.162.92.779 0 1.518-.297 2.079-.837a3.004 3.004 0 00.083-4.242zM23.984 6c9.374 0 17 7.626 17 17s-7.626 17-17 17-17-7.626-17-17 7.626-17 17-17z'/%3e%3c/svg%3e");
  322. background-size: 14px;
  323. background-repeat: no-repeat;
  324. background-position: 16px 48%;
  325. color: var(--search-color-over);
  326. }
  327. .search-bar input::placeholder {
  328. font-size: var(--text-size-medium);
  329. font-weight: 500;
  330. color: var(--search-color);
  331. }
  332. .logo {
  333. z-index: 2;
  334. position: absolute;
  335. top: 10px;
  336. left: 15px;
  337. width: 40px;
  338. height: 40px;
  339. }
  340. .table-responsive {
  341. padding-top: 26px;
  342. }
  343. .list {
  344. font-family:sans-serif;
  345. }
  346. td {
  347. padding:10px;
  348. border-top:solid 1px #a09c9c;
  349. }
  350. input {
  351. border:solid 1px #ccc;
  352. border-radius: 5px;
  353. padding:7px 14px;
  354. margin-bottom:10px
  355. }
  356. input:focus {
  357. outline:none;
  358. border-color:#aaa;
  359. }
  360. .sort {
  361. padding:8px 30px;
  362. border-radius: 6px;
  363. border:none;
  364. display:inline-block;
  365. color:#fff;
  366. text-decoration: none;
  367. background-color: #28a8e0;
  368. height:30px;
  369. }
  370. .sort:hover {
  371. text-decoration: none;
  372. background-color:#1b8aba;
  373. }
  374. .sort:focus {
  375. outline:none;
  376. }
  377. .sort:after {
  378. display:inline-block;
  379. width: 0;
  380. height: 0;
  381. border-left: 5px solid transparent;
  382. border-right: 5px solid transparent;
  383. border-bottom: 5px solid transparent;
  384. content:"";
  385. position: relative;
  386. top:-10px;
  387. right:-5px;
  388. }
  389. .sort.asc:after {
  390. width: 0;
  391. height: 0;
  392. border-left: 5px solid transparent;
  393. border-right: 5px solid transparent;
  394. border-top: 5px solid #fff;
  395. content:"";
  396. position: relative;
  397. top:4px;
  398. right:-5px;
  399. }
  400. .sort.desc:after {
  401. width: 0;
  402. height: 0;
  403. border-left: 5px solid transparent;
  404. border-right: 5px solid transparent;
  405. border-bottom: 5px solid #fff;
  406. content:"";
  407. position: relative;
  408. top:-4px;
  409. right:-5px;
  410. }
  411. .listjs-sorter {
  412. position: relative;
  413. cursor: pointer;
  414. padding-right: 1.25rem;
  415. }
  416. .listjs-sorter:after {
  417. font-weight: normal;
  418. line-height: 1;
  419. content: "↑";
  420. position: absolute;
  421. right: 0.75rem;
  422. top: 50%;
  423. transform: translateY(-50%);
  424. }
  425. .listjs-sorter.asc:after {
  426. content: "↑";
  427. }
  428. .listjs-sorter.desc:after {
  429. content: "↓";
  430. }
  431. table.table.table-bordered.table-hover {
  432. position: absolute;
  433. width: 90%;
  434. left: 30px;
  435. right: 30px;
  436. margin-left: auto;
  437. margin-right: auto;
  438. }
  439. .centered {
  440. width: 100%;
  441. }
  442. a {
  443. text-decoration: none;
  444. }
  445. td.icon {
  446. text-align-last: center;
  447. }
  448. </style>
  449. </head>
  450. <body>
  451. <body class=light-mode>
  452. <div class="app">
  453. <div class="header">
  454. <div class="centered">
  455. <div class="container-fluid search-bar" id="listjs">
  456. <div class="input-group">
  457. <input type="search" class="form-control listjs-search" placeholder="Filter" autofocus>
  458. </div>
  459. <div class="table-responsive">
  460. <table class="table table-bordered table-hover">
  461. <thead>
  462. <tr>
  463. <th class="listjs-sorter" data-sort="icon">Type</th>
  464. <th class="listjs-sorter" data-sort="name">Folder/File</th>
  465. <th class="listjs-sorter" data-sort="date">Date</th>
  466. <th class="listjs-sorter" data-sort="size">Size</th>
  467. </tr>
  468. </thead>
  469. <tbody class="list">
  470. EOF
  471. echo "$ShowText"
  472. # Imprime as variáveis
  473. echo "<tr>
  474. <td class=icon>"
  475. iconFolder
  476. echo "</td>
  477. <td class=name><a href=\"..\">..</a></td>
  478. <td class=date></td>
  479. <td class=size></td>
  480. </tr>"
  481. # Percorre cada subpasta no diretório
  482. for Folder in *; do
  483. if [[ "$Folder" == github ]]; then
  484. continue
  485. fi
  486. if [[ "$Folder" == quebra-systema ]]; then
  487. continue
  488. fi
  489. # Verifica se é um arquivo (e não um diretório ou outro tipo de arquivo)
  490. if [ -d "$Folder" ]; then
  491. # Obtem o tamanho do arquivo
  492. FILESIZE=$(du -hs "$Folder")
  493. # Obtem a data de modificação
  494. MODDATE=$(stat -c %w "$Folder")
  495. # Obtem a extensão do arquivo
  496. EXTENSION="${Folder##*.}"
  497. # Imprime as variáveis
  498. echo "<tr>
  499. <td class=icon>"
  500. iconFolder
  501. echo "</td>
  502. <td class=name><a href=\"$Folder/\">$Folder</a></td>
  503. <td class=date>${MODDATE%%.*}</td>
  504. <td class=size>${FILESIZE%% *}</td>
  505. </tr>"
  506. fi
  507. done
  508. # Percorre cada arquivo no diretório
  509. for file in *; do
  510. # Verifica se é um arquivo (e não um diretório ou outro tipo de arquivo)
  511. if [ -f "$file" ]; then
  512. # Pula o arquivo index.html
  513. if [[ "$file" == *.html ]]; then
  514. continue
  515. fi
  516. if [ "$file" == log-cdn77.txt ]; then
  517. continue
  518. fi
  519. if [ "$file" == log-repo.txt ]; then
  520. continue
  521. fi
  522. # Obtem o nome do arquivo
  523. FILENAME="$file"
  524. # Obtem o tamanho do arquivo
  525. FILESIZE=$(du -hs "$file")
  526. # Obtem a data de modificação
  527. MODDATE=$(stat -c %y "$file")
  528. # Obtem a extensão do arquivo
  529. EXTENSION="${file##*.}"
  530. # Imprime as variáveis
  531. echo "<tr>
  532. <td class=icon>"
  533. if [ "$EXTENSION" == "zst" ]; then
  534. iconPackage
  535. elif [ "$EXTENSION" == "sig" ]; then
  536. iconSig
  537. elif [ "$EXTENSION" == "iso" ]; then
  538. iconIso
  539. elif [ "$EXTENSION" == "txt" ]; then
  540. iconTxt
  541. elif [ "$EXTENSION" == "db" ]; then
  542. iconDb
  543. elif [ "$EXTENSION" == "files" ]; then
  544. iconTxt
  545. else
  546. echo "$EXTENSION"
  547. fi
  548. echo "</td>
  549. <td class=name><a href=\"$FILENAME\">$FILENAME</a></td>
  550. <td class=date>${MODDATE%%.*}</td>
  551. <td class=size>${FILESIZE%% *}</td>
  552. </tr>"
  553. fi
  554. done
  555. read -d $'' ShowText <<EOF
  556. </tbody>
  557. </table>
  558. </div>
  559. <script src="https://cdnjs.cloudflare.com/ajax/libs/list.js/1.5.0/list.min.js"></script>
  560. <script>var options = {
  561. valueNames: [ 'icon', 'name', 'date', 'size' ],
  562. searchClass: 'listjs-search',
  563. sortClass: 'listjs-sorter',
  564. };
  565. var listjs = new List('listjs', options);
  566. update_entries_label(listjs);
  567. listjs.on('updated', function(list){
  568. update_entries_label(list);
  569. });
  570. </script>
  571. </div>
  572. <div id="btn-big" class="logo" onclick="biglinux();">
  573. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  574. <svg
  575. width="40"
  576. height="28"
  577. viewBox="0 0 29.999998 20.999999"
  578. version="1.1"
  579. id="svg2"
  580. sodipodi:version="0.32"
  581. inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)"
  582. sodipodi:docname="logo.svg"
  583. inkscape:output_extension="org.inkscape.output.svg.inkscape"
  584. xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
  585. xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
  586. xmlns="http://www.w3.org/2000/svg"
  587. xmlns:svg="http://www.w3.org/2000/svg"
  588. xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  589. xmlns:cc="http://creativecommons.org/ns#"
  590. xmlns:dc="http://purl.org/dc/elements/1.1/">
  591. <metadata
  592. id="metadata17">
  593. <rdf:RDF>
  594. <cc:Work
  595. rdf:about="">
  596. <dc:format>image/svg+xml</dc:format>
  597. <dc:type
  598. rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
  599. </cc:Work>
  600. </rdf:RDF>
  601. </metadata>
  602. <defs
  603. id="defs15" />
  604. <sodipodi:namedview
  605. inkscape:window-height="1001"
  606. inkscape:window-width="2560"
  607. inkscape:pageshadow="2"
  608. inkscape:pageopacity="0.0"
  609. guidetolerance="10.0"
  610. gridtolerance="10.0"
  611. objecttolerance="10.0"
  612. borderopacity="1.0"
  613. bordercolor="#666666"
  614. pagecolor="#ffffff"
  615. id="base"
  616. showgrid="true"
  617. inkscape:zoom="3.4604651"
  618. inkscape:cx="-149.97984"
  619. inkscape:cy="76.290323"
  620. inkscape:window-x="0"
  621. inkscape:window-y="0"
  622. inkscape:current-layer="svg2"
  623. inkscape:pagecheckerboard="0"
  624. inkscape:document-units="pt"
  625. inkscape:snap-global="false"
  626. inkscape:window-maximized="1"
  627. width="23.80226pt"
  628. fit-margin-top="0"
  629. fit-margin-left="0"
  630. fit-margin-right="0"
  631. fit-margin-bottom="0"
  632. units="px">
  633. <inkscape:grid
  634. type="xygrid"
  635. id="grid3744"
  636. originx="-238.76643"
  637. originy="-164.22818" />
  638. </sodipodi:namedview>
  639. <path
  640. d="m 20.018634,1.9719072 c 0.895936,-0.9382707 2.06232,-1.65049276 3.346407,-1.89141535 0.428424,-0.02653579 0.85056,-0.05201592 1.272698,-0.07749731 0.485044,0.04150982 0.976436,0.15948505 1.418667,0.36968433 0.714752,0.41005694 1.328027,0.98570963 1.807287,1.64841353 0.715192,0.9526839 1.200059,2.0731598 1.432497,3.2294546 0.0097,0.4053873 0.0834,0.8065369 0.04078,1.2077799 C 29.042379,6.1652511 28.956128,5.7274516 28.725399,5.3913767 28.418109,4.9453734 28.119178,4.4721288 27.68837,4.1372627 27.107569,3.5626337 26.302792,3.2322599 25.48675,3.2203487 25.177762,3.2656386 24.851934,3.2103862 24.556631,3.3373759 23.69047,3.52768 22.94715,4.0656682 22.325403,4.6737434 c -0.186269,0.2379409 -0.410275,0.4434394 -0.590262,0.6803297 -0.168405,0.3060156 -0.394456,0.5764635 -0.534569,0.8971245 -0.502093,0.8981472 -0.729624,1.9312023 -0.796886,2.9567982 0.03489,0.4011786 0.0436,0.8002842 0.08477,1.2004102 0.11544,0.264935 0.05605,0.643143 0.358899,0.792696 0.20011,0.03755 0.398023,-0.05374 0.576027,-0.148166 0.462752,-0.323017 0.865724,-0.732929 1.239349,-1.1637685 0.464793,-0.3879657 0.804827,-0.9036291 1.239221,-1.3188044 0.244964,-0.1960885 0.414455,-0.4570607 0.654188,-0.6458126 0.44588,-0.4623251 0.963054,-0.8461414 1.498059,-1.2006406 0.42093,-0.2255599 0.894269,-0.4082155 1.383493,-0.3803282 0.586678,0.069712 1.138994,0.3971481 1.484022,0.8755926 0.528513,0.6867598 0.828779,1.5151218 1.050471,2.3372598 0.09148,0.4304629 0.06357,0.8809289 0.117337,1.3177099 -0.05642,1.476028 -0.284629,2.967906 -0.773746,4.367814 -0.196547,0.485167 -0.37947,0.974516 -0.675576,1.405295 -0.09104,0.112153 -0.148532,0.270383 -0.295147,0.320784 0.0092,-0.29227 0.12314,-0.576245 0.152242,-0.865389 0.03011,-0.321618 0.08014,-0.640111 0.04531,-0.963773 0.07922,-0.491361 -0.01756,-0.992006 -0.0232,-1.488533 -0.121913,-0.496438 -0.131763,-1.018103 -0.296618,-1.500885 -0.09037,-0.346662 -0.189125,-0.704841 -0.382118,-1.008471 -0.121661,-0.186365 -0.203549,-0.405235 -0.388027,-0.542311 -0.191845,-0.181071 -0.45483,-0.246852 -0.708374,-0.294835 -0.19271,0.0452 -0.383315,0.102962 -0.571817,0.173305 -0.437645,0.280046 -0.792446,0.66897 -1.127342,1.061019 -0.316137,0.272615 -0.582987,0.608044 -0.947358,0.824131 -0.519309,0.332489 -1.136075,0.623155 -1.76888,0.509485 -0.866349,-0.04225 -1.670136,-0.443857 -2.412132,-0.862274 -0.330163,-0.235429 -0.68754,-0.440459 -0.952816,-0.751363 C 18.2709,10.51495 17.776745,9.5704687 17.652318,8.5576003 17.588169,8.2517705 17.514584,7.928141 17.591848,7.6180064 17.57827,6.3798258 17.982698,5.1685451 18.506614,4.0535403 18.809995,3.5504766 19.082974,3.0202006 19.482787,2.5914356 19.63869,2.365041 19.79459,2.1386464 20.018629,1.971908 Z"
  641. id="path6"
  642. style="fill:#000000;stroke:#000000;stroke-width:0.00597368" />
  643. <path
  644. id="path3742"
  645. d="m 10.073887,18.722168 c -0.8959346,0.93827 -2.0623185,1.650491 -3.3464073,1.891413 -0.4284224,0.02654 -0.8505601,0.05201 -1.272699,0.0775 C 4.9697379,20.649575 4.4783472,20.531595 4.0361165,20.321399 3.3213644,19.91134 2.7080892,19.335689 2.2288292,18.672984 1.5136372,17.720301 1.0287702,16.599825 0.79633071,15.443531 c -0.009748,-0.405391 -0.0834065,-0.806539 -0.0407803,-1.20778 0.29459349,0.293072 0.38084589,0.730876 0.61157539,1.066948 0.3072887,0.446002 0.6062194,0.919251 1.0370287,1.254114 0.5808,0.574631 1.3855757,0.905002 2.2016186,0.916916 0.3089867,-0.0453 0.6348172,0.01 0.9301207,-0.117034 0.8661599,-0.190304 1.6094794,-0.72829 2.2312266,-1.336365 0.1862702,-0.237942 0.4102775,-0.44344 0.590263,-0.680329 0.168406,-0.306018 0.3944565,-0.576466 0.5345668,-0.897125 C 9.3940455,13.54473 9.6215739,12.511672 9.6888357,11.486079 9.6539418,11.084898 9.6452436,10.685793 9.6040663,10.285667 9.4886256,10.020733 9.5480337,9.6425234 9.2451674,9.4929689 9.0450573,9.4554201 8.847147,9.5467131 8.6691414,9.6411377 8.2063902,9.9641527 7.8034189,10.374067 7.4297951,10.804907 6.9650009,11.19287 6.6249675,11.708534 6.190574,12.123712 5.9456075,12.319796 5.776118,12.580772 5.5363831,12.769523 5.0905049,13.231847 4.5733294,13.615664 4.0383239,13.970165 3.6173961,14.195725 3.1440554,14.378378 2.654833,14.350489 2.0681554,14.280777 1.515837,13.953345 1.1708111,13.474898 0.64229366,12.788142 0.34202933,11.959781 0.12033505,11.137641 0.0288511,10.707176 0.05677153,10.256714 0.00299385,9.8199322 0.05942081,8.3439055 0.28762369,6.8520248 0.77674336,5.4521186 0.97328762,4.9669494 1.1562125,4.4775998 1.4523187,4.0468236 1.5433589,3.9346625 1.6008504,3.7764393 1.7474641,3.7260374 1.738235,4.0183092 1.6243241,4.3022848 1.5952244,4.591428 1.5651094,4.9130472 1.5150822,5.2315387 1.5499003,5.555201 1.470681,6.0465601 1.567461,6.5472065 1.5730996,7.0437339 1.6950133,7.540169 1.7048645,8.0618352 1.8697179,8.5446187 c 0.09037,0.3466632 0.1891262,0.7048414 0.3821172,1.0084701 0.1216608,0.1863637 0.203549,0.4052331 0.3880276,0.5423132 0.1918456,0.181069 0.4548318,0.24685 0.7083751,0.294833 0.1927104,-0.0452 0.383317,-0.102962 0.5718148,-0.173306 C 4.3576978,9.9368824 4.7125004,9.5479597 5.0473958,9.1559104 5.3635319,8.8832955 5.6303842,8.5478666 5.9947548,8.3317812 6.5140644,7.999293 7.1308316,7.7086269 7.7636361,7.822295 c 0.8663482,0.042252 1.6701353,0.4438553 2.4121299,0.8622748 0.330166,0.2354275 0.687541,0.4404569 0.952819,0.7513628 0.693023,0.7431914 1.187178,1.6876734 1.311605,2.7005444 0.06415,0.305828 0.137735,0.629459 0.06047,0.939594 0.01358,1.238178 -0.39085,2.44946 -0.914766,3.564465 -0.303381,0.503064 -0.57636,1.033337 -0.976173,1.462104 -0.1559,0.226395 -0.311802,0.452789 -0.535839,0.619528 z"
  646. style="fill:#000000;stroke:#000000;stroke-width:0.00597368" />
  647. <path
  648. style="fill:#000000;stroke:#000000;stroke-width:0.00597368"
  649. d="m 12.718509,3.0631317 c 0.308925,-0.1228101 0.634631,-0.2225905 0.980333,-0.2029671 0.584447,-0.097891 1.190071,0.084938 1.686853,0.3893715 0.259983,0.2407229 0.569189,0.4667416 0.685747,0.8154793 0.171075,0.4042118 0.12746,0.8766865 -0.07965,1.2602526 C 15.763856,5.8544591 15.29383,6.2497601 14.795417,6.514142 14.412161,6.6946294 14.00795,6.8657055 13.577392,6.8409119 13.119684,6.9240377 12.651356,6.8280416 12.224883,6.6733492 11.697797,6.4579818 11.227115,6.0393461 11.081051,5.4758882 10.909976,5.0716753 11.096083,4.6399393 11.26654,4.2689744 11.608647,3.7271206 12.110065,3.2877953 12.718503,3.0631317 Z"
  650. id="path10" />
  651. <path
  652. style="fill:#000000;stroke:#000000;stroke-width:0.00597368"
  653. d="m 12.798114,8.244195 c 0.340992,-0.6256551 1.056203,-0.9457319 1.744422,-0.9640955 0.352018,0.057335 0.724966,0.085313 1.039371,0.2652353 0.492477,0.1630177 0.807103,0.6142539 0.962513,1.0792352 0.04446,0.5740146 0.02607,1.1585568 0.171087,1.71573 0.305778,1.169854 1.112108,2.126655 1.967564,2.952472 0.426756,0.503521 1.014707,0.85083 1.437282,1.367972 -0.66206,-0.01833 -1.322076,-0.101584 -1.968502,-0.219441 C 17.35562,14.316241 16.585454,14.038217 15.89166,13.637572 15.509114,13.397993 15.088894,13.20349 14.775414,12.874815 14.219878,12.45101 13.767953,11.912941 13.387233,11.337101 12.976048,10.656532 12.629751,9.9004891 12.586154,9.100204 12.621541,8.810007 12.6611,8.5061899 12.798114,8.244195 Z"
  654. id="path12" />
  655. </svg>
  656. </div>
  657. </body>
  658. </html>
  659. EOF
  660. echo "$ShowText"

comments powered by Disqus