UNPKG

dt-app

Version:

The Dynatrace App Toolkit is a tool you can use from your command line to create, develop, and deploy apps on your Dynatrace environment.

2 lines (1 loc) 7.29 kB
export declare const successfulAuthPageHtml: "<html>\n<head>\n <meta charset=\"utf-8\" />\n <title>dt-app - Dynatrace</title>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n</head>\n<style>\n @font-face {\n font-family: 'DynatraceFlow';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(https://dt-cdn.net/fonts/DTFlow-Regular-v002.woff2)\n format('woff2');\n }\n @font-face {\n font-family: 'DynatraceFlow';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(https://dt-cdn.net/fonts/DTFlow-Medium-v002.woff2)\n format('woff2');\n }\n @font-face {\n font-family: 'DynatraceFlow';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(https://dt-cdn.net/fonts/DTFlow-Semibold-v002.woff2)\n format('woff2');\n }\n\n :root {\n --bg-color: rgb(243, 243, 247);\n --line-color: #d2d3e1;\n --text-color: rgb(43, 42, 88);\n --text-link-color: rgb(69, 76, 201);\n --text-accent-color: rgb(244, 244, 251);\n --primary-color: rgb(71, 78, 207);\n --font-family: DynatraceFlow, Roboto, Helvetica, sans-serif;\n\n\n }\n\n @media (prefers-color-scheme: dark) {\n :root {\n --bg-color: rgb(25, 25, 44);\n --text-color: rgb(235, 236, 255);\n --line-color: rgb(59, 59, 82);\n --primary-color: rgb(153, 155, 237);\n --text-accent-color: rgb(31, 32, 55);\n --text-link-color: rgb(173, 176, 255);\n\n\n }\n }\n body {\n font-family: DynatraceFlow, Roboto, Helvetica, sans-serif;\n color: var(--text-color);\n background-color: var(--bg-color);\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 16px;\n height: 100%;\n text-align: center;\n }\n * {\n overflow-wrap: break-word;\n font-style: normal;\n color: inherit;\n margin: 0px;\n }\n h1 {\n font-size: 32px;\n font-weight: 600;\n line-height: 1.25;\n }\n p,div,a {\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n }\n .divider {\n width: 100%;\n height: 1px;\n border: none;\n margin: 0;\n background-color: var(--line-color);\n max-width: 512px;\n\n }\n button {\n width: fit-content;\n font-weight: 500;\n font-size: 14px;\n padding: 6px 8px;\n background-color: var(--primary-color);\n color: var(--text-accent-color);\n cursor: pointer;\n height: 32px;\n border-radius: 8px;\n border: 0;\n outline-color: var(--text-accent-color);\n }\n button:disabled {\n --primary-color: #54558780;\n --text-accent-color: #dadbe780;\n cursor: not-allowed;\n }\n\n a {\n color: var(--text-link-color);\n outline-color: var(--text-link-color);\n text-decoration-color: var(--text-link-color);\n }\n a > span {\n text-decoration: none;\n }\n a > span > svg {\n margin-left: var(--dt-spacings-size-2, 2px);\n width: 1lh;\n height: 1lh;\n max-height: min(1.5em, var(--dt-spacings-size-40, 40px));\n max-width: min(1.5em, var(--dt-spacings-size-40, 40px));\n vertical-align: middle;\n margin-bottom: -0.1em;\n margin-top: -0.1em;\n }\n\n</style>\n<body>\n<img style=\"max-width: 256px;\"\n \n src=\"data:image/svg+xml,%3Csvg width='128' height='128' viewBox='0 0 73 73' fill='none' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='M24.736 6.39229C23.83 11.1739 22.7227 18.2708 22.1187 25.4684C21.0617 38.1523 21.716 46.6585 21.716 46.6585L3.84787 63.6207C3.84787 63.6207 2.48888 54.1078 1.78422 43.3869C1.38156 36.743 1.23056 30.9044 1.23056 27.3811C1.23056 27.1797 1.33123 26.9784 1.33123 26.7771C1.33123 26.5254 1.63322 24.1598 3.94853 21.9451C6.46517 19.5291 25.038 4.98297 24.736 6.39229Z' fill='%231496FF' /%3E%3Cpath d='M24.736 6.39226C23.83 11.1739 22.7227 18.2708 22.1187 25.4684C22.1187 25.4684 2.33788 23.1028 1.23056 27.8844C1.23056 27.6327 1.58289 24.7134 3.8982 22.4988C6.41484 20.0828 25.038 4.98294 24.736 6.39226Z' fill='%231284EA' /%3E%3Cpath d='M1.23057 26.7267C1.23057 27.0791 1.23057 27.4314 1.23057 27.834C1.4319 26.9784 1.78423 26.3744 2.48889 25.4181C3.94854 23.5558 6.31418 23.0524 7.2705 22.9518C12.1025 22.2974 19.2497 21.5424 26.4473 21.3411C39.1815 20.9385 47.5871 21.9954 47.5871 21.9954L65.4552 5.03329C65.4552 5.03329 56.0933 3.27164 45.4228 2.01332C38.4265 1.15766 32.2859 0.70467 28.8129 0.503339C28.5613 0.503339 26.095 0.201342 23.7797 2.41598C21.263 4.83196 8.47849 16.9622 3.34455 21.8444C1.02924 24.0591 1.23057 26.5254 1.23057 26.7267Z' fill='%23B4DC00' /%3E%3Cpath d='M64.8009 48.4202C59.9689 49.0745 52.8217 49.8798 45.6241 50.1315C32.8899 50.5341 24.434 49.4771 24.434 49.4771L6.56584 66.4896C6.56584 66.4896 16.0284 68.3519 26.699 69.5599C33.2422 70.3149 39.0305 70.7176 42.5538 70.9189C42.8055 70.9189 43.2081 70.7176 43.4598 70.7176C43.7114 70.7176 46.1777 70.2646 48.4931 68.0499C51.0097 65.634 66.2102 48.2692 64.8009 48.4202Z' fill='%236F2DA8' /%3E%3Cpath d='M64.8009 48.4202C59.969 49.0745 52.8217 49.8798 45.6241 50.1315C45.6241 50.1315 46.9831 70.0129 42.2015 70.8686C42.4531 70.8686 45.7248 70.7176 48.0401 68.503C50.5567 66.087 66.2102 48.2692 64.8009 48.4202Z' fill='%23591F91' /%3E%3Cpath d='M43.2584 70.9693C42.9061 70.9693 42.5538 70.9189 42.1511 70.9189C43.0571 70.7679 43.6611 70.4659 44.6174 69.7613C46.5301 68.4023 47.1341 66.0367 47.3354 65.0803C48.1911 60.2987 49.3487 53.2018 49.9024 46.0042C50.909 33.3203 50.305 24.8644 50.305 24.8644L68.1732 7.85194C68.1732 7.85194 69.4818 17.3145 70.2368 28.0354C70.6898 35.0317 70.8408 41.2226 70.8911 44.6452C70.8911 44.8969 71.0925 47.3632 68.7772 49.5778C66.2605 51.9938 53.476 64.1743 48.3924 69.0566C45.9764 71.2713 43.5101 70.9693 43.2584 70.9693Z' fill='%2373BE28' /%3E%3C/svg%3E\"\n />\n <h1>App Toolkit: Successfully authenticated</h1>\n <p>You have been successfully authenticated!</p>\n <div style=\"display: flex; gap: 8px; flex-direction: column; align-items: center;\">\n <button id=\"closeButton\" onclick=\"closeTab()\">Close tab</button>\n </div>\n <div class=\"divider\"></div>\n <div>\n Explore our\n <a href=\"https://dt-url.net/bm034a8\">\n Documentation<span><svg focusable=\"false\" role=\"img\" aria-hidden=\"false\" fill=\"currentColor\" width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" aria-label=\"Opening the link in a new window\"><path d=\"M17.0003 3L17.0003 9H15.5003L15.5003 5.62104L11.0607 10.0607L10 9L14.5 4.5L11.0003 4.5V3H17.0003Z\"></path><path d=\"M8 3H4C3.44772 3 3 3.44772 3 4V16C3 16.5523 3.44772 17 4 17H16C16.5523 17 17 16.5523 17 16V12H15.5V15.5H4.5V4.5H8V3Z\"></path></svg></span></a>.\n </div>\n <script>\n const infoText = \"The page could not be closed, please close it manually.\"\n const button = document.querySelector(\"#closeButton\")\n\n function closeTab() {\n window.close();\n window.top.close();\n\n const isClosed = window.closed || window.top.closed;\n if (!isClosed) {\n button.title = infoText;\n button.disabled = true;\n const infoP = document.createElement(\"p\")\n infoP.textContent = infoText;\n button.parentElement?.append(infoP)\n alert(infoText)\n }\n }\n </script>\n</body>\n</html>\n";