DT-4.5-layout


SUBMITTED BY: locked

DATE: Oct. 28, 2023, 6:31 p.m.

UPDATED: Oct. 29, 2023, 12:13 a.m.

FORMAT: Text only

SIZE: 26.8 kB

HITS: 1728

  1. [
  2. {
  3. "id": 21986,
  4. "label": "Nome do app",
  5. "name": "APP_NAME",
  6. "value": "DTunnel VPN",
  7. "type": "STRING",
  8. "status": "ACTIVE",
  9. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  10. },
  11. {
  12. "id": 21987,
  13. "label": "Logo do app",
  14. "name": "APP_LOGO",
  15. "value": "",
  16. "type": "IMAGE",
  17. "status": "ACTIVE",
  18. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  19. },
  20. {
  21. "id": 21988,
  22. "label": "Imagem de fundo",
  23. "name": "APP_BACKGROUND_IMAGE",
  24. "value": "https://i.imgur.com/KBDrAyZ.jpg",
  25. "type": "IMAGE",
  26. "status": "INACTIVE",
  27. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  28. },
  29. {
  30. "id": 21989,
  31. "label": "Tipo do fundo do app",
  32. "name": "APP_BACKGROUND_TYPE",
  33. "value": {
  34. "options": [
  35. {
  36. "label": "Imagem",
  37. "value": "IMAGE"
  38. },
  39. {
  40. "label": "Cor",
  41. "value": "COLOR"
  42. }
  43. ],
  44. "selected": "COLOR"
  45. },
  46. "type": "SELECT",
  47. "status": "ACTIVE",
  48. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  49. },
  50. {
  51. "id": 21990,
  52. "label": "Cor de fundo",
  53. "name": "APP_BACKGROUND_COLOR",
  54. "value": "#000000",
  55. "type": "COLOR",
  56. "status": "ACTIVE",
  57. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  58. },
  59. {
  60. "id": 21991,
  61. "label": "Cor do card inicial",
  62. "name": "APP_CARD_COLOR",
  63. "value": "#ffffff10",
  64. "type": "COLOR",
  65. "status": "ACTIVE",
  66. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  67. },
  68. {
  69. "id": 21992,
  70. "label": "Raio do card inicial",
  71. "name": "APP_CARD_RADIUS",
  72. "value": 20,
  73. "type": "INTEGER",
  74. "status": "ACTIVE",
  75. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  76. },
  77. {
  78. "id": 21993,
  79. "label": "Cor do card de status",
  80. "name": "APP_CARD_STATUS_COLOR",
  81. "value": "#00000070",
  82. "type": "COLOR",
  83. "status": "ACTIVE",
  84. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  85. },
  86. {
  87. "id": 21994,
  88. "label": "Raio do card de status",
  89. "name": "APP_CARD_STATUS_RADIUS",
  90. "value": 25,
  91. "type": "INTEGER",
  92. "status": "ACTIVE",
  93. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  94. },
  95. {
  96. "id": 21995,
  97. "label": "Cor do card de configurações",
  98. "name": "APP_CARD_CONFIG_COLOR",
  99. "value": "#0E171EC9",
  100. "type": "COLOR",
  101. "status": "ACTIVE",
  102. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  103. },
  104. {
  105. "id": 21996,
  106. "label": "Cor do fundo dos dialogs",
  107. "name": "APP_DIALOG_BACKGROUND_COLOR",
  108. "value": "#050C5AE4",
  109. "type": "COLOR",
  110. "status": "ACTIVE",
  111. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  112. },
  113. {
  114. "id": 21997,
  115. "label": "Cor do fundo do dialog de log",
  116. "name": "APP_DIALOG_LOGGER_COLOR",
  117. "value": "#080e16c7",
  118. "type": "COLOR",
  119. "status": "ACTIVE",
  120. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  121. },
  122. {
  123. "id": 21998,
  124. "label": "Cor das bordas",
  125. "name": "APP_BORDER_COLOR",
  126. "value": "#ffffff50",
  127. "type": "COLOR",
  128. "status": "ACTIVE",
  129. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  130. },
  131. {
  132. "id": 21999,
  133. "label": "Cor dos inputs",
  134. "name": "APP_INPUT_COLOR",
  135. "value": "#00000050",
  136. "type": "COLOR",
  137. "status": "ACTIVE",
  138. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  139. },
  140. {
  141. "id": 22000,
  142. "label": "Raio dos inputs",
  143. "name": "APP_INPUT_RADIUS",
  144. "value": 25,
  145. "type": "INTEGER",
  146. "status": "ACTIVE",
  147. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  148. },
  149. {
  150. "id": 22001,
  151. "label": "Cor dos textos",
  152. "name": "APP_TEXT_COLOR",
  153. "value": "#FFFFFFFF",
  154. "type": "COLOR",
  155. "status": "ACTIVE",
  156. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  157. },
  158. {
  159. "id": 22002,
  160. "label": "Cor dos botões",
  161. "name": "APP_BUTTON_COLOR",
  162. "value": "#00000050",
  163. "type": "COLOR",
  164. "status": "ACTIVE",
  165. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  166. },
  167. {
  168. "id": 22003,
  169. "label": "Raio dos botões",
  170. "name": "APP_BUTTON_RADIUS",
  171. "value": 25,
  172. "type": "INTEGER",
  173. "status": "ACTIVE",
  174. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  175. },
  176. {
  177. "id": 22004,
  178. "label": "Cor dos icones",
  179. "name": "APP_ICON_COLOR",
  180. "value": "#FFFFFFFF",
  181. "type": "COLOR",
  182. "status": "ACTIVE",
  183. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  184. },
  185. {
  186. "id": 22005,
  187. "label": "Exibir modo de conexão",
  188. "name": "APP_SHOW_CONNECTION_MODE",
  189. "value": true,
  190. "type": "BOOLEAN",
  191. "status": "ACTIVE",
  192. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  193. },
  194. {
  195. "id": 22648,
  196. "label": "Atualizar automaticamente as configurações ao lançar uma atualização.",
  197. "name": "APP_CONFIG_AUTO_UPDATE",
  198. "value": true,
  199. "type": "BOOLEAN",
  200. "status": "ACTIVE",
  201. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  202. },
  203. {
  204. "id": 22006,
  205. "label": "Iniciar o app automaticamente ao reiniciar o dispositivo",
  206. "name": "APP_AUTO_START",
  207. "value": false,
  208. "type": "BOOLEAN",
  209. "status": "ACTIVE",
  210. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  211. },
  212. {
  213. "id": 22007,
  214. "label": "Usar limiter de conexão",
  215. "name": "APP_CONNECTION_LIMITER",
  216. "value": true,
  217. "type": "BOOLEAN",
  218. "status": "ACTIVE",
  219. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  220. },
  221. {
  222. "id": 22008,
  223. "label": "Usar botão de atualizações",
  224. "name": "APP_BTN_UPDATE_ENABLED",
  225. "value": true,
  226. "type": "BOOLEAN",
  227. "status": "ACTIVE",
  228. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  229. },
  230. {
  231. "id": 22009,
  232. "label": "Usar botão de registros",
  233. "name": "APP_BTN_LOGGER_ENABLED",
  234. "value": true,
  235. "type": "BOOLEAN",
  236. "status": "ACTIVE",
  237. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  238. },
  239. {
  240. "id": 22010,
  241. "label": "Usar botão de pagina webview",
  242. "name": "APP_BTN_PAGE_ENABLED",
  243. "value": true,
  244. "type": "BOOLEAN",
  245. "status": "ACTIVE",
  246. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  247. },
  248. {
  249. "id": 22011,
  250. "label": "Ativar dialog de erros",
  251. "name": "APP_DIALOG_ERROR_ENABLED",
  252. "value": true,
  253. "type": "BOOLEAN",
  254. "status": "ACTIVE",
  255. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  256. },
  257. {
  258. "id": 22012,
  259. "label": "Ativar dialog de checkuser",
  260. "name": "APP_CHECKUSER_DIALOG_ENABLED",
  261. "value": true,
  262. "type": "BOOLEAN",
  263. "status": "ACTIVE",
  264. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  265. },
  266. {
  267. "id": 22013,
  268. "label": "Ativar toast de sucesso",
  269. "name": "APP_SUCCESS_TOAST_ENABLED",
  270. "value": true,
  271. "type": "BOOLEAN",
  272. "status": "ACTIVE",
  273. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  274. },
  275. {
  276. "id": 22014,
  277. "label": "Ativar toast de erro",
  278. "name": "APP_ERROR_TOAST_ENABLED",
  279. "value": true,
  280. "type": "BOOLEAN",
  281. "status": "ACTIVE",
  282. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  283. },
  284. {
  285. "id": 22015,
  286. "label": "Usar layout webview",
  287. "name": "APP_LAYOUT_WEBVIEW_ENABLED",
  288. "value": false,
  289. "type": "BOOLEAN",
  290. "status": "ACTIVE",
  291. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  292. },
  293. {
  294. "id": 22016,
  295. "label": "Mensagem",
  296. "name": "APP_MESSAGE",
  297. "value": null,
  298. "type": "TEXT",
  299. "status": "ACTIVE",
  300. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  301. },
  302. {
  303. "id": 22017,
  304. "label": "URL de atualização do aplicativo",
  305. "name": "APP_UPDATE_URL",
  306. "value": null,
  307. "type": "URL",
  308. "status": "ACTIVE",
  309. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  310. },
  311. {
  312. "id": 22018,
  313. "label": "Tipo de mensagem",
  314. "name": "APP_MESSAGE_TYPE",
  315. "value": {
  316. "options": [
  317. {
  318. "label": "Alerta",
  319. "value": "ALERT"
  320. },
  321. {
  322. "label": "Informação",
  323. "value": "INFO"
  324. },
  325. {
  326. "label": "Boas vindas",
  327. "value": "WELCOME"
  328. },
  329. {
  330. "label": "Sem mensagem",
  331. "value": "NONE"
  332. }
  333. ],
  334. "selected": "NONE"
  335. },
  336. "type": "SELECT",
  337. "status": "ACTIVE",
  338. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  339. },
  340. {
  341. "id": 22019,
  342. "label": "LAYOUT WEBVIEW (POR SUA CONTA E RISCO)",
  343. "name": "APP_LAYOUT_WEBVIEW",
  344. "value": null,
  345. "type": "HTML",
  346. "status": "ACTIVE",
  347. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  348. },
  349. {
  350. "id": 22020,
  351. "label": "ANDROID WEBVIEW (POR SUA CONTA E RISCO)",
  352. "name": "APP_SUPPORT_BUTTON",
  353. "value": "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n\n <title>HOME</title>\n\n <style>\n :root {\n font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;\n line-height: 1.5;\n font-weight: 400;\n font-synthesis: none;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n\n --space-status-bar: 10px;\n --space-nav-bar: 33px;\n }\n\n @-webkit-keyframes onePulse {\n 0% {\n box-shadow: 0px 0px 4px 0px rgba(255, 255, 255, 0.5);\n }\n 50% {\n box-shadow: 0px 0px 4px 8px rgba(255, 255, 255, 0.1);\n }\n 100% {\n box-shadow: 0px 0px 4px 4px rgba(255, 255, 255, 0.5);\n }\n }\n\n @keyframes onePulse {\n 0% {\n box-shadow: 0px 0px 4px 0px rgba(255, 255, 255, 0.5);\n }\n 50% {\n box-shadow: 0px 0px 4px 8px rgba(255, 255, 255, 0.1);\n }\n 100% {\n box-shadow: 0px 0px 4px 4px rgba(255, 255, 255, 0.5);\n }\n }\n\n *,\n *::before,\n *::after {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n }\n\n html,\n body,\n main {\n width: 100%;\n height: 100%;\n }\n\n body {\n background: transparent;\n }\n\n main {\n max-width: 650px;\n\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n margin: 0 auto 0 auto;\n padding: var(--space-status-bar) 10px var(--space-nav-bar) 10px;\n }\n\n section.top {\n width: 100%;\n height: auto;\n\n display: flex;\n align-items: center;\n }\n\n section.top button {\n margin-left: auto;\n padding: 3.5%;\n\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 7px;\n\n border: 0;\n border-radius: 10px;\n\n background: #00000000;\n }\n\n section.top button svg {\n color: #00000000;\n }\n\n section.top button span {\n color: #ffffff;\n font-weight: 500;\n font-size: 0.7rem;\n }\n\n section.bottom {\n width: 100%;\n height: auto;\n /* background: blue; */\n\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n section.bottom div.container-local-ip {\n width: auto;\n height: auto;\n\n display: flex;\n align-items: center;\n\n padding: 10px 15px;\n\n border-radius: 10px;\n\n background: #000000;\n\n transition: all 0.3s ease 0.1s;\n }\n\n section.bottom div.container-local-ip span {\n width: 100%;\n height: auto;\n\n color: #ffffff;\n font-weight: 500;\n font-size: 0.8rem;\n }\n\n section.bottom div.container-tools {\n width: 100%;\n height: auto;\n\n display: flex;\n justify-content: center;\n\n position: relative;\n }\n\n section.bottom div.container-tools button {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n\n margin: 7% 0px 0px 0px;\n padding: 10px 6%;\n\n border: 0;\n border-radius: 10px;\n\n box-shadow: 0px 0px 4px 0px rgba(255, 255, 255, 0.5);\n\n transition: all linear;\n\n background: #000000;\n }\n\n section.bottom div.container-tools button svg {\n color: #ffffff;\n }\n\n section.bottom div.container-tools button span {\n color: #ffffff;\n }\n\n section.bottom div.container-tools ul {\n width: auto;\n min-width: 90%;\n max-width: 300px;\n height: 55px;\n\n display: flex;\n align-items: center;\n justify-content: space-around;\n gap: 5px;\n\n position: absolute;\n bottom: 90%;\n\n padding: 0 5px;\n\n border-radius: 50px;\n box-shadow: 0px 0px 4px 0px rgba(255, 255, 255, 0.5);\n\n opacity: 0;\n transform: scale(0);\n transform-origin: bottom center;\n\n transition: all 0.3s ease 0.1s;\n\n background: rgba(255, 255, 255, 0.2);\n }\n\n section.bottom div.container-tools ul li {\n width: 40px;\n height: 40px;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n border: 1px solid #ffffff;\n border-radius: 50%;\n\n box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.5);\n\n background: rgba(255, 255, 255, 0.5);\n }\n\n section.bottom div.container-tools ul li svg {\n color: #ffffff;\n }\n\n section.bottom div.container-tools.active button {\n -webkit-animation: onePulse 0.6s forwards linear;\n animation: onePulse 0.6s forwards linear;\n }\n\n section.bottom div.container-tools.active ul {\n opacity: 1;\n transform: scale(1);\n }\n\n .hidden {\n opacity: 0;\n visibility: hidden;\n }\n\n .display-none {\n display: none;\n }\n </style>\n </head>\n <body>\n <main>\n <section class=\"top\">\n <button type=\"button\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-git\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M15.698 7.287 8.712.302a1.03 1.03 0 0 0-1.457 0l-1.45 1.45 1.84 1.84a1.223 1.223 0 0 1 1.55 1.56l1.773 1.774a1.224 1.224 0 0 1 1.267 2.025 1.226 1.226 0 0 1-2.002-1.334L8.58 5.963v4.353a1.226 1.226 0 1 1-1.008-.036V5.887a1.226 1.226 0 0 1-.666-1.608L5.093 2.465l-4.79 4.79a1.03 1.03 0 0 0 0 1.457l6.986 6.986a1.03 1.03 0 0 0 1.457 0l6.953-6.953a1.031 1.031 0 0 0 0-1.457\"\n />\n </svg>\n\n <span id=\"version-value\">Buscando versão...</span>\n </button>\n </section>\n\n <section class=\"bottom\">\n <div class=\"container-local-ip\">\n <span id=\"local-ip\">Procurando IP...</span>\n </div>\n\n <div class=\"container-tools\">\n <button type=\"button\" title=\"Ferramentas\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-nut\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"m11.42 2 3.428 6-3.428 6H4.58L1.152 8 4.58 2h6.84zM4.58 1a1 1 0 0 0-.868.504l-3.428 6a1 1 0 0 0 0 .992l3.428 6A1 1 0 0 0 4.58 15h6.84a1 1 0 0 0 .868-.504l3.429-6a1 1 0 0 0 0-.992l-3.429-6A1 1 0 0 0 11.42 1H4.58z\"\n />\n <path\n d=\"M6.848 5.933a2.5 2.5 0 1 0 2.5 4.33 2.5 2.5 0 0 0-2.5-4.33zm-1.78 3.915a3.5 3.5 0 1 1 6.061-3.5 3.5 3.5 0 0 1-6.062 3.5z\"\n />\n </svg>\n\n <span>Ferramentas</span>\n </button>\n\n <ul>\n <li id=\"checkuser\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-calendar2-week\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2z\"\n />\n <path\n d=\"M2.5 4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V4zM11 7.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm-3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm-5 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1z\"\n />\n </svg>\n </li>\n\n <li id=\"battery\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-battery-half\"\n viewBox=\"0 0 16 16\"\n >\n <path d=\"M2 6h5v4H2V6z\" />\n <path\n d=\"M2 4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H2zm10 1a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h10zm4 3a1.5 1.5 0 0 1-1.5 1.5v-3A1.5 1.5 0 0 1 16 8z\"\n />\n </svg>\n </li>\n\n <li id=\"apn\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-wrench-adjustable-circle\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M12.496 8a4.491 4.491 0 0 1-1.703 3.526L9.497 8.5l2.959-1.11c.027.2.04.403.04.61Z\"\n />\n <path\n d=\"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-1 0a7 7 0 1 0-13.202 3.249l1.988-1.657a4.5 4.5 0 0 1 7.537-4.623L7.497 6.5l1 2.5 1.333 3.11c-.56.251-1.18.39-1.833.39a4.49 4.49 0 0 1-1.592-.29L4.747 14.2A7 7 0 0 0 15 8Zm-8.295.139a.25.25 0 0 0-.288-.376l-1.5.5.159.474.808-.27-.595.894a.25.25 0 0 0 .287.376l.808-.27-.595.894a.25.25 0 0 0 .287.376l1.5-.5-.159-.474-.808.27.596-.894a.25.25 0 0 0-.288-.376l-.808.27.596-.894Z\"\n />\n </svg>\n </li>\n\n <li id=\"clean\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-trash3\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M6.5 1h3a.5.5 0 0 1 .5.5v1H6v-1a.5.5 0 0 1 .5-.5ZM11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3A1.5 1.5 0 0 0 5 1.5v1H2.506a.58.58 0 0 0-.01 0H1.5a.5.5 0 0 0 0 1h.538l.853 10.66A2 2 0 0 0 4.885 16h6.23a2 2 0 0 0 1.994-1.84l.853-10.66h.538a.5.5 0 0 0 0-1h-.995a.59.59 0 0 0-.01 0H11Zm1.958 1-.846 10.58a1 1 0 0 1-.997.92h-6.23a1 1 0 0 1-.997-.92L3.042 3.5h9.916Zm-7.487 1a.5.5 0 0 1 .528.47l.5 8.5a.5.5 0 0 1-.998.06L5 5.03a.5.5 0 0 1 .47-.53Zm5.058 0a.5.5 0 0 1 .47.53l-.5 8.5a.5.5 0 1 1-.998-.06l.5-8.5a.5.5 0 0 1 .528-.47ZM8 4.5a.5.5 0 0 1 .5.5v8.5a.5.5 0 0 1-1 0V5a.5.5 0 0 1 .5-.5Z\"\n />\n </svg>\n </li>\n\n <li id=\"speedtest\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-speedometer2\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M8 4a.5.5 0 0 1 .5.5V6a.5.5 0 0 1-1 0V4.5A.5.5 0 0 1 8 4zM3.732 5.732a.5.5 0 0 1 .707 0l.915.914a.5.5 0 1 1-.708.708l-.914-.915a.5.5 0 0 1 0-.707zM2 10a.5.5 0 0 1 .5-.5h1.586a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 10zm9.5 0a.5.5 0 0 1 .5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5zm.754-4.246a.389.389 0 0 0-.527-.02L7.547 9.31a.91.91 0 1 0 1.302 1.258l3.434-4.297a.389.389 0 0 0-.029-.518z\"\n />\n <path\n fill-rule=\"evenodd\"\n d=\"M0 10a8 8 0 1 1 15.547 2.661c-.442 1.253-1.845 1.602-2.932 1.25C11.309 13.488 9.475 13 8 13c-1.474 0-3.31.488-4.615.911-1.087.352-2.49.003-2.932-1.25A7.988 7.988 0 0 1 0 10zm8-7a7 7 0 0 0-6.603 9.329c.203.575.923.876 1.68.63C4.397 12.533 6.358 12 8 12s3.604.532 4.923.96c.757.245 1.477-.056 1.68-.631A7 7 0 0 0 8 3z\"\n />\n </svg>\n </li>\n </ul>\n </div>\n </section>\n </main>\n\n <!-- FUNÇÕES DO APP -->\n <script>\n const appStatusBar = () => DtGetStatusBarHeight.execute()\n const appNavBar = () => DtGetNavigationBarHeight.execute()\n\n const appLocalIp = () => Android.getLocalIP()\n\n const appBattery = () => DtIgnoreBatteryOptimizations.execute()\n const appApn = () => DtStartApnActivity.execute()\n const appLink = (value) => DtStartWebViewActivity.execute(value)\n const appOpenBrowser = (url) => DtOpenExternalUrl.execute(url)\n const appClean = () => DtCleanApp.execute()\n const appCheckUser = () => DtStartCheckUser.execute()\n const appGetConfigVersion = () =>\n DtGetLocalConfigVersion.execute() ?? \"1.0\"\n </script>\n\n <!-- DOM WRAPPER -->\n <script>\n const Dom = (selector) => {\n const _elements = document.querySelectorAll(selector)\n\n const wrapper = {\n on(listeners) {\n for (const [event, listener] of Object.entries(listeners)) {\n _elements.forEach((element) => {\n element.addEventListener(event, listener)\n })\n }\n\n return wrapper\n },\n toggleClass: (token, force) => {\n _elements.forEach((element) => {\n element.classList.toggle(token, force)\n })\n\n return wrapper\n },\n html(value) {\n _elements.forEach((element) => (element.innerHTML = value))\n return wrapper\n },\n }\n\n return wrapper\n }\n </script>\n\n <!-- VÁRIAVEIS -->\n <script>\n const version = Dom(\"#version-value\")\n const containerLocalIp = Dom(\"section.bottom div.container-local-ip\")\n const localIp = Dom(\"#local-ip\")\n\n const containerTools = Dom(\"section.bottom div.container-tools\")\n const toolsButton = Dom(\"section.bottom div.container-tools button\")\n const tools = Dom(\"section.bottom div.container-tools ul\")\n\n const checkuser = Dom(\"#checkuser\")\n const battery = Dom(\"#battery\")\n const apn = Dom(\"#apn\")\n const CleanDataApp = Dom(\"#clean\")\n const speedtest = Dom(\"#speedtest\")\n </script>\n\n <!-- FUNÇÕES -->\n <script>\n document.documentElement.style.setProperty(\n \"--space-status-bar\",\n `${appStatusBar() + 10}px`\n )\n\n document.documentElement.style.setProperty(\n \"--space-nav-bar\",\n `${appNavBar() + 10}px`\n )\n\n const toggleTools = () => {\n containerLocalIp.toggleClass(\"hidden\")\n containerTools.toggleClass(\"active\")\n }\n\n const carrierLocalIp = () => {\n setInterval(() => {\n const carrierLocalIp = appLocalIp()\n\n if (!carrierLocalIp) {\n localIp.html(\"Procurando IP...\")\n } else if (carrierLocalIp === \"127.0.0.1\") {\n localIp.html(\"NO IP\")\n } else {\n localIp.html(`${carrierLocalIp}`)\n }\n }, 500)\n }\n const configVersion = () => {\n setInterval(() => {\n const getAtualVersion = appGetConfigVersion()\n\n version.html(`VERSÃO: ${getAtualVersion}`)\n }, 1000)\n }\n\n carrierLocalIp()\n configVersion()\n </script>\n\n <!-- AÇÕES -->\n <script>\n toolsButton.on({ click: () => toggleTools() })\n\n checkuser.on({ click: () => appCheckUser() })\n battery.on({ click: () => appBattery() })\n apn.on({ click: () => appApn() })\n CleanDataApp.on({ click: () => appClean() })\n speedtest.on({ click: () => appLink(\"https://fast.com\") })\n </script>\n </body>\n</html>\n",
  354. "type": "HTML",
  355. "status": "ACTIVE",
  356. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  357. },
  358. {
  359. "id": 22021,
  360. "label": "PAGINA WEBVIEW (POR SUA CONTA E RISCO)",
  361. "name": "APP_WEB_VIEW",
  362. "value": null,
  363. "type": "HTML",
  364. "status": "ACTIVE",
  365. "user_id": "72220ba2-dafc-4ba7-b4ec-f98f0cf6b60b"
  366. }
  367. ]

comments powered by Disqus