2017-05-26 23:51:48 -04:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2018-10-22 02:41:35 -04:00
|
|
|
<meta name="description" content="An open source integrations manager for Matrix. Check out #dimension:t2bot.io for more information.">
|
2017-05-26 23:51:48 -04:00
|
|
|
|
|
|
|
<title>Dimension</title>
|
2017-12-23 18:20:59 -05:00
|
|
|
|
2018-03-24 21:58:01 -04:00
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="img/logo/favicon/apple-touch-icon.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="img/logo/favicon/favicon-32x32.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="img/logo/favicon/favicon-16x16.png">
|
|
|
|
<link rel="manifest" href="img/logo/favicon/site.webmanifest">
|
|
|
|
<link rel="mask-icon" href="img/logo/favicon/safari-pinned-tab.svg" color="#5bbad5">
|
|
|
|
<link rel="shortcut icon" href="img/logo/favicon/favicon.ico">
|
2019-07-31 14:32:20 -04:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
2018-03-24 21:58:01 -04:00
|
|
|
<meta name="msapplication-TileColor" content="#da532c">
|
|
|
|
<meta name="msapplication-config" content="img/logo/favicon/browserconfig.xml">
|
2017-12-23 18:20:59 -05:00
|
|
|
<meta name="theme-color" content="#ffffff">
|
2017-05-26 23:51:48 -04:00
|
|
|
|
2018-10-22 02:41:35 -04:00
|
|
|
<style type="text/css">
|
|
|
|
body, html {
|
|
|
|
height: 100%;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.theme-dark {
|
2021-11-30 22:06:59 -05:00
|
|
|
background-color: #21262C;
|
2018-10-22 02:41:35 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
body.theme-light {
|
2021-11-30 22:06:59 -05:00
|
|
|
background-color: #ffffff;
|
2018-10-22 02:41:35 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.app-loading {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.app-loading .spinner {
|
|
|
|
height: 100px;
|
|
|
|
width: 100px;
|
|
|
|
animation: rotate 2s linear infinite;
|
|
|
|
transform-origin: center center;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.app-loading .spinner .path {
|
|
|
|
stroke-dasharray: 1, 200;
|
|
|
|
stroke-dashoffset: 0;
|
|
|
|
animation: dash 1.5s ease-in-out infinite;
|
|
|
|
stroke-linecap: round;
|
|
|
|
stroke: #a0a0a0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes rotate {
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes dash {
|
|
|
|
0% {
|
|
|
|
stroke-dasharray: 1, 200;
|
|
|
|
stroke-dashoffset: 0;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
stroke-dasharray: 89, 200;
|
|
|
|
stroke-dashoffset: -35px;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
stroke-dasharray: 89, 200;
|
|
|
|
stroke-dashoffset: -124px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2017-05-26 23:51:48 -04:00
|
|
|
<base href="/">
|
|
|
|
</head>
|
2018-10-22 02:41:35 -04:00
|
|
|
<body class="app-body">
|
|
|
|
<script type="text/javascript">
|
|
|
|
const urlParams = new URLSearchParams(window.location.search);
|
2018-10-22 03:16:55 -04:00
|
|
|
let theme = urlParams.get("theme");
|
2018-10-22 02:41:35 -04:00
|
|
|
const allowedThemes = ["dark", "light"];
|
2018-10-22 03:16:55 -04:00
|
|
|
if (allowedThemes.indexOf(theme) === -1) theme = "light";
|
|
|
|
const body = document.getElementsByTagName("body");
|
|
|
|
for (const element of body) {
|
|
|
|
element.className += " theme-" + theme;
|
2018-10-22 02:41:35 -04:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<my-app class="main-app">
|
|
|
|
<div class="app-loading">
|
|
|
|
<svg class="spinner" viewBox="25 25 50 50">
|
|
|
|
<circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"></circle>
|
|
|
|
</svg>
|
|
|
|
</div>
|
|
|
|
</my-app>
|
2017-05-26 23:51:48 -04:00
|
|
|
</body>
|
|
|
|
</html>
|