service.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  1. <!--
  2. This file is part of centurio.work/commands.
  3. centurio.work/commands is free software: you can redistribute it and/or
  4. modify it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation, either version 3 of the License, or (at your
  6. option) any later version.
  7. centurio.work/commands is distributed in the hope that it will be useful, but
  8. WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  9. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  10. more details.
  11. You should have received a copy of the GNU General Public License along with
  12. centurio.work/commands (file COPYING in the main directory). If not, see
  13. <http://www.gnu.org/licenses/>.
  14. -->
  15. <!DOCTYPE html>
  16. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  17. <head>
  18. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  19. <title>Design</title>
  20. <!-- libs, do not modify. When local than load local libs. -->
  21. <script type="text/javascript" src="/js_libs/jquery.min.js"></script>
  22. <script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
  23. <link rel="icon" href="favicon.ico">
  24. <link rel="icon" type="image/png" sizes="96x96" href="favicon-96x96.png">
  25. <style>
  26. :root {
  27. --color: #1e90ff;
  28. --backgroundcolor: fff;
  29. --fontcolor: 000;
  30. }
  31. body {
  32. color: var(--fontcolor);
  33. background-color: var(--backgroundcolor);
  34. }
  35. .lds-ring {
  36. display: inline-block;
  37. position: relative;
  38. width: 80px;
  39. height: 80px;
  40. }
  41. .lds-ring div {
  42. box-sizing: border-box;
  43. display: block;
  44. position: absolute;
  45. width: 64px;
  46. height: 64px;
  47. margin: 8px;
  48. border: 8px solid var(--color) ;
  49. border-radius: 50%;
  50. animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  51. border-color: var(--color) transparent transparent transparent;
  52. }
  53. .lds-ring div:nth-child(1) {
  54. animation-delay: -0.45s;
  55. }
  56. .lds-ring div:nth-child(2) {
  57. animation-delay: -0.3s;
  58. }
  59. .lds-ring div:nth-child(3) {
  60. animation-delay: -0.15s;
  61. }
  62. @keyframes lds-ring {
  63. 0% {
  64. transform: rotate(0deg);
  65. }
  66. 100% {
  67. transform: rotate(360deg);
  68. }
  69. }
  70. .lds-dual-ring {
  71. display: inline-block;
  72. width: 80px;
  73. height: 80px;
  74. }
  75. .lds-dual-ring:after {
  76. content: " ";
  77. display: block;
  78. width: 64px;
  79. height: 64px;
  80. margin: 8px;
  81. border-radius: 50%;
  82. border: 6px solid var(--color);
  83. border-color: var(--color) transparent var(--color) transparent;
  84. animation: lds-dual-ring 1.2s linear infinite;
  85. }
  86. @keyframes lds-dual-ring {
  87. 0% {
  88. transform: rotate(0deg);
  89. }
  90. 100% {
  91. transform: rotate(360deg);
  92. }
  93. }
  94. .lds-facebook {
  95. display: inline-block;
  96. position: relative;
  97. width: 80px;
  98. height: 80px;
  99. }
  100. .lds-facebook div {
  101. display: inline-block;
  102. position: absolute;
  103. left: 8px;
  104. width: 16px;
  105. background: var(--color);
  106. animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
  107. }
  108. .lds-facebook div:nth-child(1) {
  109. left: 8px;
  110. animation-delay: -0.24s;
  111. }
  112. .lds-facebook div:nth-child(2) {
  113. left: 32px;
  114. animation-delay: -0.12s;
  115. }
  116. .lds-facebook div:nth-child(3) {
  117. left: 56px;
  118. animation-delay: 0;
  119. }
  120. @keyframes lds-facebook {
  121. 0% {
  122. top: 8px;
  123. height: 64px;
  124. }
  125. 50%, 100% {
  126. top: 24px;
  127. height: 32px;
  128. }
  129. }
  130. .lds-roller {
  131. display: inline-block;
  132. position: relative;
  133. width: 80px;
  134. height: 80px;
  135. }
  136. .lds-roller div {
  137. animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  138. transform-origin: 40px 40px;
  139. }
  140. .lds-roller div:after {
  141. content: " ";
  142. display: block;
  143. position: absolute;
  144. width: 7px;
  145. height: 7px;
  146. border-radius: 50%;
  147. background: var(--color);
  148. margin: -4px 0 0 -4px;
  149. }
  150. .lds-roller div:nth-child(1) {
  151. animation-delay: -0.036s;
  152. }
  153. .lds-roller div:nth-child(1):after {
  154. top: 63px;
  155. left: 63px;
  156. }
  157. .lds-roller div:nth-child(2) {
  158. animation-delay: -0.072s;
  159. }
  160. .lds-roller div:nth-child(2):after {
  161. top: 68px;
  162. left: 56px;
  163. }
  164. .lds-roller div:nth-child(3) {
  165. animation-delay: -0.108s;
  166. }
  167. .lds-roller div:nth-child(3):after {
  168. top: 71px;
  169. left: 48px;
  170. }
  171. .lds-roller div:nth-child(4) {
  172. animation-delay: -0.144s;
  173. }
  174. .lds-roller div:nth-child(4):after {
  175. top: 72px;
  176. left: 40px;
  177. }
  178. .lds-roller div:nth-child(5) {
  179. animation-delay: -0.18s;
  180. }
  181. .lds-roller div:nth-child(5):after {
  182. top: 71px;
  183. left: 32px;
  184. }
  185. .lds-roller div:nth-child(6) {
  186. animation-delay: -0.216s;
  187. }
  188. .lds-roller div:nth-child(6):after {
  189. top: 68px;
  190. left: 24px;
  191. }
  192. .lds-roller div:nth-child(7) {
  193. animation-delay: -0.252s;
  194. }
  195. .lds-roller div:nth-child(7):after {
  196. top: 63px;
  197. left: 17px;
  198. }
  199. .lds-roller div:nth-child(8) {
  200. animation-delay: -0.288s;
  201. }
  202. .lds-roller div:nth-child(8):after {
  203. top: 56px;
  204. left: 12px;
  205. }
  206. @keyframes lds-roller {
  207. 0% {
  208. transform: rotate(0deg);
  209. }
  210. 100% {
  211. transform: rotate(360deg);
  212. }
  213. }
  214. .lds-default {
  215. display: inline-block;
  216. position: relative;
  217. width: 80px;
  218. height: 80px;
  219. }
  220. .lds-default div {
  221. position: absolute;
  222. width: 6px;
  223. height: 6px;
  224. background: var(--color);
  225. border-radius: 50%;
  226. animation: lds-default 1.2s linear infinite;
  227. }
  228. .lds-default div:nth-child(1) {
  229. animation-delay: 0s;
  230. top: 37px;
  231. left: 66px;
  232. }
  233. .lds-default div:nth-child(2) {
  234. animation-delay: -0.1s;
  235. top: 22px;
  236. left: 62px;
  237. }
  238. .lds-default div:nth-child(3) {
  239. animation-delay: -0.2s;
  240. top: 11px;
  241. left: 52px;
  242. }
  243. .lds-default div:nth-child(4) {
  244. animation-delay: -0.3s;
  245. top: 7px;
  246. left: 37px;
  247. }
  248. .lds-default div:nth-child(5) {
  249. animation-delay: -0.4s;
  250. top: 11px;
  251. left: 22px;
  252. }
  253. .lds-default div:nth-child(6) {
  254. animation-delay: -0.5s;
  255. top: 22px;
  256. left: 11px;
  257. }
  258. .lds-default div:nth-child(7) {
  259. animation-delay: -0.6s;
  260. top: 37px;
  261. left: 7px;
  262. }
  263. .lds-default div:nth-child(8) {
  264. animation-delay: -0.7s;
  265. top: 52px;
  266. left: 11px;
  267. }
  268. .lds-default div:nth-child(9) {
  269. animation-delay: -0.8s;
  270. top: 62px;
  271. left: 22px;
  272. }
  273. .lds-default div:nth-child(10) {
  274. animation-delay: -0.9s;
  275. top: 66px;
  276. left: 37px;
  277. }
  278. .lds-default div:nth-child(11) {
  279. animation-delay: -1s;
  280. top: 62px;
  281. left: 52px;
  282. }
  283. .lds-default div:nth-child(12) {
  284. animation-delay: -1.1s;
  285. top: 52px;
  286. left: 62px;
  287. }
  288. @keyframes lds-default {
  289. 0%, 20%, 80%, 100% {
  290. transform: scale(1);
  291. }
  292. 50% {
  293. transform: scale(1.5);
  294. }
  295. }
  296. .lds-ellipsis {
  297. display: inline-block;
  298. position: relative;
  299. width: 80px;
  300. height: 80px;
  301. }
  302. .lds-ellipsis div {
  303. position: absolute;
  304. top: 33px;
  305. width: 13px;
  306. height: 13px;
  307. border-radius: 50%;
  308. background: var(--color);
  309. animation-timing-function: cubic-bezier(0, 1, 1, 0);
  310. }
  311. .lds-ellipsis div:nth-child(1) {
  312. left: 8px;
  313. animation: lds-ellipsis1 0.6s infinite;
  314. }
  315. .lds-ellipsis div:nth-child(2) {
  316. left: 8px;
  317. animation: lds-ellipsis2 0.6s infinite;
  318. }
  319. .lds-ellipsis div:nth-child(3) {
  320. left: 32px;
  321. animation: lds-ellipsis2 0.6s infinite;
  322. }
  323. .lds-ellipsis div:nth-child(4) {
  324. left: 56px;
  325. animation: lds-ellipsis3 0.6s infinite;
  326. }
  327. @keyframes lds-ellipsis1 {
  328. 0% {
  329. transform: scale(0);
  330. }
  331. 100% {
  332. transform: scale(1);
  333. }
  334. }
  335. @keyframes lds-ellipsis3 {
  336. 0% {
  337. transform: scale(1);
  338. }
  339. 100% {
  340. transform: scale(0);
  341. }
  342. }
  343. @keyframes lds-ellipsis2 {
  344. 0% {
  345. transform: translate(0, 0);
  346. }
  347. 100% {
  348. transform: translate(24px, 0);
  349. }
  350. }
  351. .lds-spinner {
  352. color: official;
  353. display: inline-block;
  354. position: relative;
  355. width: 80px;
  356. height: 80px;
  357. }
  358. .lds-spinner div {
  359. transform-origin: 40px 40px;
  360. animation: lds-spinner 1.2s linear infinite;
  361. }
  362. .lds-spinner div:after {
  363. content: " ";
  364. display: block;
  365. position: absolute;
  366. top: 3px;
  367. left: 37px;
  368. width: 6px;
  369. height: 18px;
  370. border-radius: 20%;
  371. background: var(--color);
  372. }
  373. .lds-spinner div:nth-child(1) {
  374. transform: rotate(0deg);
  375. animation-delay: -1.1s;
  376. }
  377. .lds-spinner div:nth-child(2) {
  378. transform: rotate(30deg);
  379. animation-delay: -1s;
  380. }
  381. .lds-spinner div:nth-child(3) {
  382. transform: rotate(60deg);
  383. animation-delay: -0.9s;
  384. }
  385. .lds-spinner div:nth-child(4) {
  386. transform: rotate(90deg);
  387. animation-delay: -0.8s;
  388. }
  389. .lds-spinner div:nth-child(5) {
  390. transform: rotate(120deg);
  391. animation-delay: -0.7s;
  392. }
  393. .lds-spinner div:nth-child(6) {
  394. transform: rotate(150deg);
  395. animation-delay: -0.6s;
  396. }
  397. .lds-spinner div:nth-child(7) {
  398. transform: rotate(180deg);
  399. animation-delay: -0.5s;
  400. }
  401. .lds-spinner div:nth-child(8) {
  402. transform: rotate(210deg);
  403. animation-delay: -0.4s;
  404. }
  405. .lds-spinner div:nth-child(9) {
  406. transform: rotate(240deg);
  407. animation-delay: -0.3s;
  408. }
  409. .lds-spinner div:nth-child(10) {
  410. transform: rotate(270deg);
  411. animation-delay: -0.2s;
  412. }
  413. .lds-spinner div:nth-child(11) {
  414. transform: rotate(300deg);
  415. animation-delay: -0.1s;
  416. }
  417. .lds-spinner div:nth-child(12) {
  418. transform: rotate(330deg);
  419. animation-delay: 0s;
  420. }
  421. @keyframes lds-spinner {
  422. 0% {
  423. opacity: 1;
  424. }
  425. 100% {
  426. opacity: 0;
  427. }
  428. }
  429. .lds-ripple {
  430. display: inline-block;
  431. position: relative;
  432. width: 80px;
  433. height: 80px;
  434. }
  435. .lds-ripple div {
  436. position: absolute;
  437. border: 4px solid var(--color);
  438. opacity: 1;
  439. border-radius: 50%;
  440. animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  441. }
  442. .lds-ripple div:nth-child(2) {
  443. animation-delay: -0.5s;
  444. }
  445. @keyframes lds-ripple {
  446. 0% {
  447. top: 36px;
  448. left: 36px;
  449. width: 0;
  450. height: 0;
  451. opacity: 0;
  452. }
  453. 4.9% {
  454. top: 36px;
  455. left: 36px;
  456. width: 0;
  457. height: 0;
  458. opacity: 0;
  459. }
  460. 5% {
  461. top: 36px;
  462. left: 36px;
  463. width: 0;
  464. height: 0;
  465. opacity: 1;
  466. }
  467. 100% {
  468. top: 0px;
  469. left: 0px;
  470. width: 72px;
  471. height: 72px;
  472. opacity: 0;
  473. }
  474. }
  475. .center {
  476. margin: 0;
  477. position: absolute;
  478. top: 50%;
  479. left: 50%;
  480. -ms-transform: translate(-50%, -50%);
  481. transform: translate(-50%, -50%);
  482. }}
  483. </style>
  484. </head>
  485. <script>
  486. $(document).ready(function() {
  487. const queryString = window.location.search;
  488. const urlParams = new URLSearchParams(queryString);
  489. const text = urlParams.get('text')
  490. const type = urlParams.get('type')
  491. const color = urlParams.get('color')
  492. const backgroundcolor = urlParams.get('backgroundcolor')
  493. const fontcolor = urlParams.get('fontcolor')
  494. var r = document.documentElement;
  495. if(color != null){
  496. r.style.setProperty('--color', "#" + color);
  497. }
  498. if(backgroundcolor != null){
  499. r.style.setProperty('--backgroundcolor', "#" + backgroundcolor);
  500. }
  501. if(fontcolor != null){
  502. r.style.setProperty('--fontcolor', "#" + fontcolor);
  503. }
  504. if(text != null){
  505. document.getElementById("spantext").innerHTML =text;
  506. }
  507. if(type != null){
  508. var clone = document.importNode(document.querySelector('#' + type).content,true);
  509. $('#type').append(clone);
  510. }
  511. else{
  512. var clone = document.importNode(document.querySelector('#lds-ring').content,true);
  513. $('#type').append(clone);
  514. }
  515. });
  516. </script>
  517. <body >
  518. <!-- Animator taken from https://loading.io/css/ -->
  519. <!-- loading icons provided in this page are released under CC0 License -->
  520. <template id="lds-ring">
  521. <div class="lds-ring"><div></div><div></div><div></div><div></div></div>
  522. </template>
  523. <template id="lds-dual-ring">
  524. <div class="lds-dual-ring"></div>
  525. </template>
  526. <template id="lds-facebook">
  527. <div class="lds-facebook"><div></div><div></div><div></div></div>
  528. </template>
  529. <template id="lds-roller">
  530. <div class="lds-roller"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>
  531. </template>
  532. <template id="lds-default">
  533. <div class="lds-default"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div> </template>
  534. <template id="lds-ellipsis">
  535. <div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>
  536. </template>
  537. <template id="lds-ripple">
  538. <div class="lds-ripple"><div></div><div></div></div> </template>
  539. <template id="lds-spinner">
  540. <div class="lds-spinner"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>
  541. </template>
  542. <div class="center" style="top:calc(50% + 50px)">
  543. <div id="spantext"></div>
  544. </div>
  545. <div id="type" class="center">
  546. </div>
  547. </div>
  548. </body>
  549. </html>