123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586 |
- <!--
- This file is part of centurio.work/commands.
-
- centurio.work/commands is free software: you can redistribute it and/or
- modify it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- centurio.work/commands is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- more details.
-
- You should have received a copy of the GNU General Public License along with
- centurio.work/commands (file COPYING in the main directory). If not, see
- <http://www.gnu.org/licenses/>.
- -->
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>Design</title>
-
- <!-- libs, do not modify. When local than load local libs. -->
- <script type="text/javascript" src="/js_libs/jquery.min.js"></script>
- <script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
-
-
- <link rel="icon" href="favicon.ico">
- <link rel="icon" type="image/png" sizes="96x96" href="favicon-96x96.png">
-
- <style>
- :root {
- --color: #1e90ff;
- --backgroundcolor: fff;
- --fontcolor: 000;
- }
-
- body {
- color: var(--fontcolor);
- background-color: var(--backgroundcolor);
- }
-
- .lds-ring {
- display: inline-block;
- position: relative;
- width: 80px;
- height: 80px;
- }
- .lds-ring div {
- box-sizing: border-box;
- display: block;
- position: absolute;
- width: 64px;
- height: 64px;
- margin: 8px;
- border: 8px solid var(--color) ;
- border-radius: 50%;
- animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
- border-color: var(--color) transparent transparent transparent;
- }
- .lds-ring div:nth-child(1) {
- animation-delay: -0.45s;
- }
- .lds-ring div:nth-child(2) {
- animation-delay: -0.3s;
- }
- .lds-ring div:nth-child(3) {
- animation-delay: -0.15s;
- }
- @keyframes lds-ring {
- 0% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(360deg);
- }
- }
-
- .lds-dual-ring {
- display: inline-block;
- width: 80px;
- height: 80px;
- }
- .lds-dual-ring:after {
- content: " ";
- display: block;
- width: 64px;
- height: 64px;
- margin: 8px;
- border-radius: 50%;
- border: 6px solid var(--color);
- border-color: var(--color) transparent var(--color) transparent;
- animation: lds-dual-ring 1.2s linear infinite;
- }
- @keyframes lds-dual-ring {
- 0% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(360deg);
- }
- }
- .lds-facebook {
- display: inline-block;
- position: relative;
- width: 80px;
- height: 80px;
- }
- .lds-facebook div {
- display: inline-block;
- position: absolute;
- left: 8px;
- width: 16px;
- background: var(--color);
- animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
- }
- .lds-facebook div:nth-child(1) {
- left: 8px;
- animation-delay: -0.24s;
- }
- .lds-facebook div:nth-child(2) {
- left: 32px;
- animation-delay: -0.12s;
- }
- .lds-facebook div:nth-child(3) {
- left: 56px;
- animation-delay: 0;
- }
- @keyframes lds-facebook {
- 0% {
- top: 8px;
- height: 64px;
- }
- 50%, 100% {
- top: 24px;
- height: 32px;
- }
- }
- .lds-roller {
- display: inline-block;
- position: relative;
- width: 80px;
- height: 80px;
- }
- .lds-roller div {
- animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
- transform-origin: 40px 40px;
- }
- .lds-roller div:after {
- content: " ";
- display: block;
- position: absolute;
- width: 7px;
- height: 7px;
- border-radius: 50%;
- background: var(--color);
- margin: -4px 0 0 -4px;
- }
- .lds-roller div:nth-child(1) {
- animation-delay: -0.036s;
- }
- .lds-roller div:nth-child(1):after {
- top: 63px;
- left: 63px;
- }
- .lds-roller div:nth-child(2) {
- animation-delay: -0.072s;
- }
- .lds-roller div:nth-child(2):after {
- top: 68px;
- left: 56px;
- }
- .lds-roller div:nth-child(3) {
- animation-delay: -0.108s;
- }
- .lds-roller div:nth-child(3):after {
- top: 71px;
- left: 48px;
- }
- .lds-roller div:nth-child(4) {
- animation-delay: -0.144s;
- }
- .lds-roller div:nth-child(4):after {
- top: 72px;
- left: 40px;
- }
- .lds-roller div:nth-child(5) {
- animation-delay: -0.18s;
- }
- .lds-roller div:nth-child(5):after {
- top: 71px;
- left: 32px;
- }
- .lds-roller div:nth-child(6) {
- animation-delay: -0.216s;
- }
- .lds-roller div:nth-child(6):after {
- top: 68px;
- left: 24px;
- }
- .lds-roller div:nth-child(7) {
- animation-delay: -0.252s;
- }
- .lds-roller div:nth-child(7):after {
- top: 63px;
- left: 17px;
- }
- .lds-roller div:nth-child(8) {
- animation-delay: -0.288s;
- }
- .lds-roller div:nth-child(8):after {
- top: 56px;
- left: 12px;
- }
- @keyframes lds-roller {
- 0% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(360deg);
- }
- }
- .lds-default {
- display: inline-block;
- position: relative;
- width: 80px;
- height: 80px;
- }
- .lds-default div {
- position: absolute;
- width: 6px;
- height: 6px;
- background: var(--color);
- border-radius: 50%;
- animation: lds-default 1.2s linear infinite;
- }
- .lds-default div:nth-child(1) {
- animation-delay: 0s;
- top: 37px;
- left: 66px;
- }
- .lds-default div:nth-child(2) {
- animation-delay: -0.1s;
- top: 22px;
- left: 62px;
- }
- .lds-default div:nth-child(3) {
- animation-delay: -0.2s;
- top: 11px;
- left: 52px;
- }
- .lds-default div:nth-child(4) {
- animation-delay: -0.3s;
- top: 7px;
- left: 37px;
- }
- .lds-default div:nth-child(5) {
- animation-delay: -0.4s;
- top: 11px;
- left: 22px;
- }
- .lds-default div:nth-child(6) {
- animation-delay: -0.5s;
- top: 22px;
- left: 11px;
- }
- .lds-default div:nth-child(7) {
- animation-delay: -0.6s;
- top: 37px;
- left: 7px;
- }
- .lds-default div:nth-child(8) {
- animation-delay: -0.7s;
- top: 52px;
- left: 11px;
- }
- .lds-default div:nth-child(9) {
- animation-delay: -0.8s;
- top: 62px;
- left: 22px;
- }
- .lds-default div:nth-child(10) {
- animation-delay: -0.9s;
- top: 66px;
- left: 37px;
- }
- .lds-default div:nth-child(11) {
- animation-delay: -1s;
- top: 62px;
- left: 52px;
- }
- .lds-default div:nth-child(12) {
- animation-delay: -1.1s;
- top: 52px;
- left: 62px;
- }
- @keyframes lds-default {
- 0%, 20%, 80%, 100% {
- transform: scale(1);
- }
- 50% {
- transform: scale(1.5);
- }
- }
- .lds-ellipsis {
- display: inline-block;
- position: relative;
- width: 80px;
- height: 80px;
- }
- .lds-ellipsis div {
- position: absolute;
- top: 33px;
- width: 13px;
- height: 13px;
- border-radius: 50%;
- background: var(--color);
- animation-timing-function: cubic-bezier(0, 1, 1, 0);
- }
- .lds-ellipsis div:nth-child(1) {
- left: 8px;
- animation: lds-ellipsis1 0.6s infinite;
- }
- .lds-ellipsis div:nth-child(2) {
- left: 8px;
- animation: lds-ellipsis2 0.6s infinite;
- }
- .lds-ellipsis div:nth-child(3) {
- left: 32px;
- animation: lds-ellipsis2 0.6s infinite;
- }
- .lds-ellipsis div:nth-child(4) {
- left: 56px;
- animation: lds-ellipsis3 0.6s infinite;
- }
- @keyframes lds-ellipsis1 {
- 0% {
- transform: scale(0);
- }
- 100% {
- transform: scale(1);
- }
- }
- @keyframes lds-ellipsis3 {
- 0% {
- transform: scale(1);
- }
- 100% {
- transform: scale(0);
- }
- }
- @keyframes lds-ellipsis2 {
- 0% {
- transform: translate(0, 0);
- }
- 100% {
- transform: translate(24px, 0);
- }
- }
- .lds-spinner {
- color: official;
- display: inline-block;
- position: relative;
- width: 80px;
- height: 80px;
- }
- .lds-spinner div {
- transform-origin: 40px 40px;
- animation: lds-spinner 1.2s linear infinite;
- }
- .lds-spinner div:after {
- content: " ";
- display: block;
- position: absolute;
- top: 3px;
- left: 37px;
- width: 6px;
- height: 18px;
- border-radius: 20%;
- background: var(--color);
- }
- .lds-spinner div:nth-child(1) {
- transform: rotate(0deg);
- animation-delay: -1.1s;
- }
- .lds-spinner div:nth-child(2) {
- transform: rotate(30deg);
- animation-delay: -1s;
- }
- .lds-spinner div:nth-child(3) {
- transform: rotate(60deg);
- animation-delay: -0.9s;
- }
- .lds-spinner div:nth-child(4) {
- transform: rotate(90deg);
- animation-delay: -0.8s;
- }
- .lds-spinner div:nth-child(5) {
- transform: rotate(120deg);
- animation-delay: -0.7s;
- }
- .lds-spinner div:nth-child(6) {
- transform: rotate(150deg);
- animation-delay: -0.6s;
- }
- .lds-spinner div:nth-child(7) {
- transform: rotate(180deg);
- animation-delay: -0.5s;
- }
- .lds-spinner div:nth-child(8) {
- transform: rotate(210deg);
- animation-delay: -0.4s;
- }
- .lds-spinner div:nth-child(9) {
- transform: rotate(240deg);
- animation-delay: -0.3s;
- }
- .lds-spinner div:nth-child(10) {
- transform: rotate(270deg);
- animation-delay: -0.2s;
- }
- .lds-spinner div:nth-child(11) {
- transform: rotate(300deg);
- animation-delay: -0.1s;
- }
- .lds-spinner div:nth-child(12) {
- transform: rotate(330deg);
- animation-delay: 0s;
- }
- @keyframes lds-spinner {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
- }
- .lds-ripple {
- display: inline-block;
- position: relative;
- width: 80px;
- height: 80px;
- }
- .lds-ripple div {
- position: absolute;
- border: 4px solid var(--color);
- opacity: 1;
- border-radius: 50%;
- animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
- }
- .lds-ripple div:nth-child(2) {
- animation-delay: -0.5s;
- }
- @keyframes lds-ripple {
- 0% {
- top: 36px;
- left: 36px;
- width: 0;
- height: 0;
- opacity: 0;
- }
- 4.9% {
- top: 36px;
- left: 36px;
- width: 0;
- height: 0;
- opacity: 0;
- }
- 5% {
- top: 36px;
- left: 36px;
- width: 0;
- height: 0;
- opacity: 1;
- }
- 100% {
- top: 0px;
- left: 0px;
- width: 72px;
- height: 72px;
- opacity: 0;
- }
- }
-
- .center {
- margin: 0;
- position: absolute;
- top: 50%;
- left: 50%;
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
- }}
- </style>
-
- </head>
- <script>
- $(document).ready(function() {
- const queryString = window.location.search;
- const urlParams = new URLSearchParams(queryString);
- const text = urlParams.get('text')
- const type = urlParams.get('type')
- const color = urlParams.get('color')
- const backgroundcolor = urlParams.get('backgroundcolor')
- const fontcolor = urlParams.get('fontcolor')
- var r = document.documentElement;
- if(color != null){
- r.style.setProperty('--color', "#" + color);
- }
- if(backgroundcolor != null){
- r.style.setProperty('--backgroundcolor', "#" + backgroundcolor);
- }
- if(fontcolor != null){
- r.style.setProperty('--fontcolor', "#" + fontcolor);
- }
- if(text != null){
- document.getElementById("spantext").innerHTML =text;
- }
- if(type != null){
- var clone = document.importNode(document.querySelector('#' + type).content,true);
- $('#type').append(clone);
- }
- else{
- var clone = document.importNode(document.querySelector('#lds-ring').content,true);
- $('#type').append(clone);
- }
- });
- </script>
- <body >
- <!-- Animator taken from https://loading.io/css/ -->
- <!-- loading icons provided in this page are released under CC0 License -->
- <template id="lds-ring">
- <div class="lds-ring"><div></div><div></div><div></div><div></div></div>
- </template>
- <template id="lds-dual-ring">
- <div class="lds-dual-ring"></div>
- </template>
- <template id="lds-facebook">
- <div class="lds-facebook"><div></div><div></div><div></div></div>
- </template>
- <template id="lds-roller">
- <div class="lds-roller"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>
- </template>
- <template id="lds-default">
- <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>
- <template id="lds-ellipsis">
- <div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>
- </template>
- <template id="lds-ripple">
- <div class="lds-ripple"><div></div><div></div></div> </template>
- <template id="lds-spinner">
- <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>
- </template>
-
-
-
- <div class="center" style="top:calc(50% + 50px)">
- <div id="spantext"></div>
- </div>
- <div id="type" class="center">
- </div>
- </div>
- </body>
- </html>
|