|
@@ -0,0 +1,638 @@
|
|
|
|
+<!--
|
|
|
|
+ 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>
|
|
|
|
+ <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
|
|
|
|
+ <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
|
|
|
|
+ <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
|
|
|
|
+ <script type="text/javascript" src="/js_libs/util.js"></script>
|
|
|
|
+ <script type="text/javascript" src="/js_libs/printf.js"></script>
|
|
|
|
+ <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
|
|
|
|
+ <script type="text/javascript" src="/js_libs/parsequery.js"></script>
|
|
|
|
+ <script type="text/javascript" src="/js_libs/underscore.min.js"></script>
|
|
|
|
+ <script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
|
|
|
|
+ <script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <script type="text/javascript" src="/js_libs/relaxngui.js"></script>
|
|
|
|
+
|
|
|
|
+ <script type="text/javascript" src="/js_libs/ui.js"></script>
|
|
|
|
+ <script type="text/javascript" src="/js_libs/custommenu.js"></script>
|
|
|
|
+
|
|
|
|
+ <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
|
|
|
|
+ <link rel="stylesheet" href="/js_libs/ui.css" type="text/css"/>
|
|
|
|
+
|
|
|
|
+ <link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
|
|
|
|
+
|
|
|
|
+ <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>
|
|
|
|
+
|
|
|
|
+function newLink() {
|
|
|
|
+ //get form element
|
|
|
|
+ var formEl = document.forms.config;
|
|
|
|
+ var formData = new FormData(formEl);
|
|
|
|
+ const formElements = Array.from(formData);
|
|
|
|
+
|
|
|
|
+ //get current url
|
|
|
|
+ var href = window.location.href;
|
|
|
|
+ var dir = href.substring(0, href.lastIndexOf('/')) + "/";
|
|
|
|
+ var link = dir + "service.html?";
|
|
|
|
+
|
|
|
|
+ //iterate form eles and build string
|
|
|
|
+ formElements.forEach((element, index) => {
|
|
|
|
+ if(index!=0){
|
|
|
|
+ link+= "&";
|
|
|
|
+ }
|
|
|
|
+ if(element[0].includes("color")){
|
|
|
|
+ link+= element[0] + "=" + element[1].substring(1);
|
|
|
|
+ }
|
|
|
|
+ else{
|
|
|
|
+ link+= element[0] + "=" + element[1];
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ //set new link
|
|
|
|
+ document.getElementById("showurl").innerText =link;
|
|
|
|
+ top.document.getElementById('previewframe').setAttribute("src",link);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+$(document).ready(function() {
|
|
|
|
+ newLink()
|
|
|
|
+});
|
|
|
|
+
|
|
|
|
+</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>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <form action="" id="config">
|
|
|
|
+ <input onchange="newLink()" type="radio" id="lds-ring" name="type" value="lds-ring" checked="checked">
|
|
|
|
+ <label for="lds-ring"> <div class="lds-ring"><div></div><div></div><div></div><div></div></div> </label>
|
|
|
|
+
|
|
|
|
+ <input onchange="newLink()" type="radio" id="lds-dual-ring" name="type" value="lds-dual-ring">
|
|
|
|
+ <label for="lds-dual-ring"> <div class="lds-dual-ring"></div> </label>
|
|
|
|
+
|
|
|
|
+ <input onchange="newLink()" type="radio" id="lds-facebook" name="type" value="lds-facebook">
|
|
|
|
+ <label for="lds-facebook"> <div class="lds-facebook"><div></div><div></div><div></div></div> </label>
|
|
|
|
+
|
|
|
|
+ <input onchange="newLink()" type="radio" id="lds-roller" name="type" value="lds-roller">
|
|
|
|
+ <label for="lds-roller"> <div class="lds-roller" ><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div></label>
|
|
|
|
+
|
|
|
|
+ <input onchange="newLink()" type="radio" id="lds-default" name="type" value="lds-default">
|
|
|
|
+ <label for="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></label>
|
|
|
|
+
|
|
|
|
+ <input onchange="newLink()" type="radio" id="lds-ellipsis" name="type" value="lds-ellipsis">
|
|
|
|
+ <label for="lds-ellipsis"> <div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></label>
|
|
|
|
+
|
|
|
|
+ <input onchange="newLink()" type="radio" id="lds-ripple" name="type" value="lds-ripple">
|
|
|
|
+ <label for="lds-ripple"> <div class="lds-ripple"><div></div><div></div></div></label>
|
|
|
|
+
|
|
|
|
+ <input onchange="newLink()" type="radio" id="lds-spinner" name="type" value="lds-spinner">
|
|
|
|
+ <label for="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> </label>
|
|
|
|
+ <br>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ Spinner Color: <input onchange="newLink()" name="color" type="color" value="#1e90ff" /><br>
|
|
|
|
+ Background Color: <input onchange="newLink()" name="backgroundcolor" type="color" value="#ffffff" /><br>
|
|
|
|
+ Text: <input onchange="newLink()" name="text" type="text"></input><br>
|
|
|
|
+ Font Color: <input onchange="newLink()" name="fontcolor" type="color" value="#000000" /><br>
|
|
|
|
+ </form>
|
|
|
|
+
|
|
|
|
+ <br>
|
|
|
|
+ URL:<br>
|
|
|
|
+ <span id="showurl"></span>
|
|
|
|
+
|
|
|
|
+ <br>
|
|
|
|
+ Iframe Preview:<br>
|
|
|
|
+ <iframe width="500" height="500" id="previewframe" src="https://centurio.evva.com/services/frames_support/spinner/service.html?text=Loading%20Serial%20Number&type=lds-spinner&color=000000&fontcolor=000" title="Spinner"></iframe>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+</div>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+</body>
|
|
|
|
+</html>
|