Layout DT


SUBMITTED BY: terrorxdroid

DATE: March 27, 2024, 5:31 p.m.

UPDATED: Oct. 2, 2024, 8:18 p.m.

FORMAT: Text only

SIZE: 20.6 kB

HITS: 555

  1. [
  2. {
  3. "id": 4663,
  4. "label": "Nome do app",
  5. "name": "APP_NAME",
  6. "value": null,
  7. "type": "STRING",
  8. "status": "ACTIVE",
  9. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  10. },
  11. {
  12. "id": 4664,
  13. "label": "Logo do app",
  14. "name": "APP_LOGO",
  15. "value": "https://bafkreiflm7t2ffwhtgpjezvvfzkg6recnepv3qte3pgrjzklpf372cwoaa.ipfs.w3s.link",
  16. "type": "IMAGE",
  17. "status": "ACTIVE",
  18. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  19. },
  20. {
  21. "id": 4665,
  22. "label": "Imagem de fundo",
  23. "name": "APP_BACKGROUND_IMAGE",
  24. "value": "https://i.postimg.cc/tgZsKktH/IMG-20221218-WA0000.jpg",
  25. "type": "IMAGE",
  26. "status": "ACTIVE",
  27. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  28. },
  29. {
  30. "id": 4666,
  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": "IMAGE"
  45. },
  46. "type": "SELECT",
  47. "status": "ACTIVE",
  48. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  49. },
  50. {
  51. "id": 4667,
  52. "label": "Cor de fundo",
  53. "name": "APP_BACKGROUND_COLOR",
  54. "value": "#292D32C7",
  55. "type": "COLOR",
  56. "status": "ACTIVE",
  57. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  58. },
  59. {
  60. "id": 4668,
  61. "label": "Cor do card inicial",
  62. "name": "APP_CARD_COLOR",
  63. "value": "#516097B0",
  64. "type": "COLOR",
  65. "status": "ACTIVE",
  66. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  67. },
  68. {
  69. "id": 12987,
  70. "label": "Raio do card inicial",
  71. "name": "APP_CARD_RADIUS",
  72. "value": 20,
  73. "type": "INTEGER",
  74. "status": "ACTIVE",
  75. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  76. },
  77. {
  78. "id": 12988,
  79. "label": "Cor do card de status",
  80. "name": "APP_CARD_STATUS_COLOR",
  81. "value": "#1d242e73",
  82. "type": "COLOR",
  83. "status": "ACTIVE",
  84. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  85. },
  86. {
  87. "id": 12989,
  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": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  94. },
  95. {
  96. "id": 4669,
  97. "label": "Cor do card de configurações",
  98. "name": "APP_CARD_CONFIG_COLOR",
  99. "value": "#516097B0",
  100. "type": "COLOR",
  101. "status": "ACTIVE",
  102. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  103. },
  104. {
  105. "id": 4670,
  106. "label": "Cor do fundo dos dialogs",
  107. "name": "APP_DIALOG_BACKGROUND_COLOR",
  108. "value": "#516097B0",
  109. "type": "COLOR",
  110. "status": "ACTIVE",
  111. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  112. },
  113. {
  114. "id": 12990,
  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": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  121. },
  122. {
  123. "id": 4671,
  124. "label": "Cor das bordas",
  125. "name": "APP_BORDER_COLOR",
  126. "value": "#DCDCDCFF",
  127. "type": "COLOR",
  128. "status": "ACTIVE",
  129. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  130. },
  131. {
  132. "id": 12991,
  133. "label": "Cor dos inputs",
  134. "name": "APP_INPUT_COLOR",
  135. "value": "#1d242e73",
  136. "type": "COLOR",
  137. "status": "ACTIVE",
  138. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  139. },
  140. {
  141. "id": 12992,
  142. "label": "Raio dos inputs",
  143. "name": "APP_INPUT_RADIUS",
  144. "value": 25,
  145. "type": "INTEGER",
  146. "status": "ACTIVE",
  147. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  148. },
  149. {
  150. "id": 4672,
  151. "label": "Cor dos textos",
  152. "name": "APP_TEXT_COLOR",
  153. "value": "#FFFFFFFF",
  154. "type": "COLOR",
  155. "status": "ACTIVE",
  156. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  157. },
  158. {
  159. "id": 4673,
  160. "label": "Cor dos botões",
  161. "name": "APP_BUTTON_COLOR",
  162. "value": "#1B66DDE5",
  163. "type": "COLOR",
  164. "status": "ACTIVE",
  165. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  166. },
  167. {
  168. "id": 12993,
  169. "label": "Raio dos botões",
  170. "name": "APP_BUTTON_RADIUS",
  171. "value": 25,
  172. "type": "INTEGER",
  173. "status": "ACTIVE",
  174. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  175. },
  176. {
  177. "id": 4674,
  178. "label": "Cor dos icones",
  179. "name": "APP_ICON_COLOR",
  180. "value": "#FFA54FFF",
  181. "type": "COLOR",
  182. "status": "ACTIVE",
  183. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  184. },
  185. {
  186. "id": 4675,
  187. "label": "Exibir modo de conexão",
  188. "name": "APP_SHOW_CONNECTION_MODE",
  189. "value": false,
  190. "type": "BOOLEAN",
  191. "status": "ACTIVE",
  192. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  193. },
  194. {
  195. "id": 23833,
  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": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  202. },
  203. {
  204. "id": 4676,
  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": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  211. },
  212. {
  213. "id": 12994,
  214. "label": "Usar limiter de conexão",
  215. "name": "APP_CONNECTION_LIMITER",
  216. "value": false,
  217. "type": "BOOLEAN",
  218. "status": "ACTIVE",
  219. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  220. },
  221. {
  222. "id": 12995,
  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": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  229. },
  230. {
  231. "id": 12996,
  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": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  238. },
  239. {
  240. "id": 12997,
  241. "label": "Usar botão de pagina webview",
  242. "name": "APP_BTN_PAGE_ENABLED",
  243. "value": false,
  244. "type": "BOOLEAN",
  245. "status": "ACTIVE",
  246. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  247. },
  248. {
  249. "id": 23834,
  250. "label": "Ativar dialog de erros",
  251. "name": "APP_DIALOG_ERROR_ENABLED",
  252. "value": true,
  253. "type": "BOOLEAN",
  254. "status": "ACTIVE",
  255. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  256. },
  257. {
  258. "id": 23835,
  259. "label": "Ativar dialog de checkuser",
  260. "name": "APP_CHECKUSER_DIALOG_ENABLED",
  261. "value": true,
  262. "type": "BOOLEAN",
  263. "status": "ACTIVE",
  264. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  265. },
  266. {
  267. "id": 23836,
  268. "label": "Ativar toast de sucesso",
  269. "name": "APP_SUCCESS_TOAST_ENABLED",
  270. "value": true,
  271. "type": "BOOLEAN",
  272. "status": "ACTIVE",
  273. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  274. },
  275. {
  276. "id": 23837,
  277. "label": "Ativar toast de erro",
  278. "name": "APP_ERROR_TOAST_ENABLED",
  279. "value": true,
  280. "type": "BOOLEAN",
  281. "status": "ACTIVE",
  282. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  283. },
  284. {
  285. "id": 23838,
  286. "label": "Usar layout webview",
  287. "name": "APP_LAYOUT_WEBVIEW_ENABLED",
  288. "value": false,
  289. "type": "BOOLEAN",
  290. "status": "ACTIVE",
  291. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  292. },
  293. {
  294. "id": 4677,
  295. "label": "Mensagem",
  296. "name": "APP_MESSAGE",
  297. "value": null,
  298. "type": "TEXT",
  299. "status": "ACTIVE",
  300. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  301. },
  302. {
  303. "id": 4679,
  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": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  310. },
  311. {
  312. "id": 4678,
  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": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  339. },
  340. {
  341. "id": 23839,
  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": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  348. },
  349. {
  350. "id": 4681,
  351. "label": "ANDROID WEBVIEW (POR SUA CONTA E RISCO)",
  352. "name": "APP_SUPPORT_BUTTON",
  353. "value": "<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n \t<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css\">\n <title>Guardian</title>\n <style>\n body {\n display: flex;\n height: calc(100vh - 4.2rem);\n align-items: flex-end;\n justify-content: center;\n overflow: hidden;\n font-family: sans-serif;\n font-size: 12px;\n color: #656565;\n position: relative;\n margin: 0 auto;\n }\n\n .menu {\n background: #050C5AE4;\n border-radius: 50px;\n height: 50px;\n width: 50px;\n box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);\n position: relative;\n overflow: hidden;\n transition: all 1.3s cubic-bezier(0.01, 0.41, 0.63, 1.2);\n }\n\n ul {\n margin: 0;\n padding: 0;\n visibility: hidden;\n position: absolute;\n display: flex;\n justify-content: space-between;\n left: 80%;\n width: 70%;\n top: 50%;\n height: 100%;\n transform: translate(0, -50%);\n transition: all 0.7s ease 0.1s;\n }\n\n li {\n list-style: none;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n li span {\n transform: rotateY(50deg);\n opacity: 0;\n transition: opacity 0.9s linear, transform 1.2s linear;\n }\n\n button {\n border: none;\n background: transparent;\n width: 50px;\n height: 50px;\n position: absolute;\n left: 0;\n transition: all 1s ease;\n }\n\n button svg {\n stroke: #2196F3;\n }\n\n button:before {\n position: absolute;\n content: '';\n height: 4px;\n background: #2196f3;\n transform: rotate(180deg);\n left: 0;\n right: 0;\n margin: 0 auto;\n top: 35%;\n width: 40%;\n transition: all 1.1s cubic-bezier(0.25, -0.09, 0.72, 1.47);\n }\n\n button:after {\n position: absolute;\n content: '';\n height: 4px;\n background: #2196f3;\n left: 0;\n right: 0;\n transform: rotate(-180deg);\n margin: 0 auto;\n top: 55%;\n width: 40%;\n transition: all 1.1s cubic-bezier(0.25, -0.09, 0.72, 1.47);\n }\n\n .active {\n width: 400px; \n transition: all 1.3s cubic-bezier(0.01, 0.41, 0.63, 1.2);\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .active ul {\n visibility: visible;\n left: 20px;\n transition: all 1s ease 0.1s;\n }\n\n .active li span {\n transform: rotateY(0);\n opacity: 1;\n transition: opacity 0.9s linear, transform 1.2s linear;\n }\n\n .active button {\n left: 85%;\n display: flex;\n align-items: center;\n transition: all 1s ease;\n }\n\n .active button:before {\n transform: rotate(-45deg);\n top: 50%;\n transition: all 0.5s cubic-bezier(0.25, -0.09, 0.72, 1.47);\n }\n\n .active button:after {\n transform: rotate(45deg);\n top: 50%;\n transition: all 0.5s cubic-bezier(0.25, -0.09, 0.72, 1.47);\n }\n\n .size {\n color: var(--icon-color);\n filter: drop-shadow(0 0 0.2rem #a7a7a7);\n width: 2rem;\n height: 2rem;\n\n }\n\n .item {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n }\n\n .item span {\n color: #FFF;\n font-weight: bold;\n }\n \n .esquerda {\n\tdisplay: flex;\n\tgap: 0.5rem;\n\tposition: absolute;\n\ttop: 0;\n\tleft: 10px;\n\tcolor: #fff;\n\tfont-weight: bold;\n\tfont-size: 1rem;\n\t}\n\t\n\t.direita {\n\tdisplay: flex;\n\tposition: absolute;\n\ttop: 0;\n\tright: 10px;\n\tcolor: #fff;\n\tfont-weight: bold;\n\tfont-size: 1rem;\n\t}\n\t\n\t#txtbtn.color {\n color: green;\n </style>\n</head>\n\n<body>\n <div class=\"menu\">\n <button></button>\n <ul>\n <li class=\"item\" onclick=\"DtStartCheckUser.execute()\">\n <img class=\"size\" src=\"https://raw.githubusercontent.com/GuardianOFC/main/main/1689690682289.png\">\n <span class=\"text-item\">VALIDADE</span>\n </li> \n <li class=\"item\" onclick=\"DtIgnoreBatteryOptimizations.execute()\">\n <img class=\"size\" src=\"https://raw.githubusercontent.com/GuardianOFC/main/main/1689689175465.png\">\n <span class=\"text-item\">BATERIA</span>\n </li>\n <li class=\"item\" onclick=\"DtStartApnActivity.execute()\">\n <img class=\"size\" src=\"https://raw.githubusercontent.com/GuardianOFC/main/main/1689690538787.png\">\n <span class=\"text-item\">APN</span>\n </li>\n <li class=\"item\">\n <img class=\"size\" src=\"https://raw.githubusercontent.com/GuardianOFC/main/main/1689690162353.png\" id=\"btnHotSpot\">\n <span id=\"txtbtn\" class=\"text-item\">HOTSPOT</span>\n </li>\n </ul>\n </div> \n <script>\n var input = document.querySelector('.menu');\n var button = document.querySelector('button');\n button.addEventListener('click', function (e) {\n e.preventDefault();\n input.classList.toggle('active');\n })\n </script>\n <script>\n class AndroidMock {\n static getLocalIP() {\n return '192.168.0.1';\n }\n \n static getConfig() {\n return JSON.stringify({\n urlCheckUser: 'URLAQUI'\n });\n }\n \n static getNetworkName() {\n return 'REDE';\n }\n \n static openRadioInfo() {\n console.log('openRadioInfo');\n }\n }\n </script>\n \n <script>\n function showLocalIP(android) {\n console.log(android.getNetworkName());\n document.getElementById('name').innerHTML = ' ' + android.getNetworkName() + ':';\n document.getElementById('ip').innerHTML = android.getLocalIP();\n \n setInterval(() => {\n document.getElementById('name').innerHTML =\n ' ' + android.getNetworkName() + ':';\n document.getElementById('ip').innerHTML = android.getLocalIP();\n }, 2000)\n }\n \n function showCheckUser(android) {\n const config = JSON.parse(window?.DtGetDefaultConfig?.execute() ?? android.getConfig());\n \n const urlCheckUser = new URL(config.url_check_user);\n urlCheckUser.protocol = 'ws:';\n const socket = new WebSocket(urlCheckUser);\n socket.onopen = function (e) {\n socket.send(JSON.stringify({\n action: 'all',\n data: {}\n }));\n };\n \n socket.onmessage = function (event) {\n const data = JSON.parse(event.data);\n if (data.total === undefined)\n return;\n \n const total = data.total;\n document.getElementById('total').innerHTML = ' ' + String(total).padStart(2, '0');\n socket.close();\n };\n }\n \n \n \n window.onload = function () {\n const android = window.Android || AndroidMock;\n showLocalIP(android);\n showCheckUser(android);\n }\n \n const ms = `${window?.DtGetStatusBarHeight?.execute() ?? '30'}px`\n \n document.getElementById(\"topo\").style.marginTop = ms;\n \n document.getElementById(\"topo1\").style.marginTop = ms;\n </script>\n <script>\n const startHotSpot = () => {\n DtStartHotSpotService.execute();\n txtbtn.textContent = 'HOTSPOT';\n txtbtn.classList.add('color'); // Adiciona a classe para o texto ficar verde\n }\n\n const stopHotSpot = () => {\n DtStopHotSpotService.execute(); \n txtbtn.textContent = 'HOTSPOT';\n txtbtn.classList.remove('color'); // Remove a classe para o texto não ficar verde\n }\n\n const toggleHotSpot = () => {\n const hotSpotStatus = window?.DtGetStatusHotSpotService?.execute() ?? 'STOPPED';\n hotSpotStatus == 'RUNNING' ? stopHotSpot() : startHotSpot();\n }\n\n const btnHotSpot = document.querySelector(\"#btnHotSpot\");\n btnHotSpot.addEventListener('click', toggleHotSpot);\n\n const hotSpotStatus = window?.DtGetStatusHotSpotService?.execute() ?? 'STOPPED'; \n if (hotSpotStatus == 'RUNNING') {\n txtbtn.textContent = 'HOTSPOT';\n txtbtn.classList.add('color'); // Adiciona a classe para o texto ficar verde\n} else {\n txtbtn.textContent = 'HOTSPOT';\n txtbtn.classList.remove('color'); // Remove a classe para o texto não ficar verde\n}\n </script>\n</body>\n\n</html>",
  354. "type": "HTML",
  355. "status": "ACTIVE",
  356. "user_id": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  357. },
  358. {
  359. "id": 4682,
  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": "a3b62925-0851-4e8b-8d52-d39f90cf878c"
  366. }
  367. ]

comments powered by Disqus