mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-12-22 13:03:17 +00:00
4b1277f653
Dynamically loads `config.json` on startup. Fixes #167, #284, #449, #486 Change-Id: I9efb1079c0c88e6e0272c5fda734a367aa8f84a3
149 lines
4.4 KiB
HTML
149 lines
4.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta name="theme-color" content="#000000" />
|
|
<meta
|
|
name="description"
|
|
content="Synapse-Admin"
|
|
/>
|
|
<!--
|
|
manifest.json provides metadata used when your web app is installed on a
|
|
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
-->
|
|
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
<!--
|
|
Notice the use of %PUBLIC_URL% in the tags above.
|
|
It will be replaced with the URL of the `public` folder during the build.
|
|
Only files inside the `public` folder can be referenced from the HTML.
|
|
|
|
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
|
work correctly both with client-side routing and a non-root public URL.
|
|
Learn how to configure a non-root public URL by running `npm run build`.
|
|
-->
|
|
<title>Synapse-Admin</title>
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
.loader-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background-color: #fafafa;
|
|
}
|
|
|
|
/* CSS Spinner from https://projects.lukehaas.me/css-loaders/ */
|
|
|
|
.loader,
|
|
.loader:before,
|
|
.loader:after {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.loader {
|
|
color: #283593;
|
|
font-size: 11px;
|
|
text-indent: -99999em;
|
|
margin: 55px auto;
|
|
position: relative;
|
|
width: 10em;
|
|
height: 10em;
|
|
box-shadow: inset 0 0 0 1em;
|
|
-webkit-transform: translateZ(0);
|
|
-ms-transform: translateZ(0);
|
|
transform: translateZ(0);
|
|
}
|
|
|
|
.loader:before,
|
|
.loader:after {
|
|
position: absolute;
|
|
content: '';
|
|
}
|
|
|
|
.loader:before {
|
|
width: 5.2em;
|
|
height: 10.2em;
|
|
background: #fafafa;
|
|
border-radius: 10.2em 0 0 10.2em;
|
|
top: -0.1em;
|
|
left: -0.1em;
|
|
-webkit-transform-origin: 5.2em 5.1em;
|
|
transform-origin: 5.2em 5.1em;
|
|
-webkit-animation: load2 2s infinite ease 1.5s;
|
|
animation: load2 2s infinite ease 1.5s;
|
|
}
|
|
|
|
.loader:after {
|
|
width: 5.2em;
|
|
height: 10.2em;
|
|
background: #fafafa;
|
|
border-radius: 0 10.2em 10.2em 0;
|
|
top: -0.1em;
|
|
left: 5.1em;
|
|
-webkit-transform-origin: 0px 5.1em;
|
|
transform-origin: 0px 5.1em;
|
|
-webkit-animation: load2 2s infinite ease;
|
|
animation: load2 2s infinite ease;
|
|
}
|
|
|
|
@-webkit-keyframes load2 {
|
|
0% {
|
|
-webkit-transform: rotate(0deg);
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
-webkit-transform: rotate(360deg);
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes load2 {
|
|
0% {
|
|
-webkit-transform: rotate(0deg);
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
-webkit-transform: rotate(360deg);
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
<div id="root">
|
|
<div class="loader-container">
|
|
<div class="loader">Loading...</div>
|
|
</div>
|
|
</div>
|
|
<!--
|
|
This HTML file is a template.
|
|
If you open it directly in the browser, you will see an empty page.
|
|
|
|
You can add webfonts, meta tags, or analytics to this file.
|
|
The build step will place the bundled scripts into the <body> tag.
|
|
|
|
To begin the development, run `npm start` or `yarn start`.
|
|
To create a production bundle, use `npm run build` or `yarn build`.
|
|
-->
|
|
<footer
|
|
style="position: relative; z-index: 2; height: 2em; margin-top: -2em; line-height: 2em; background-color: #eee; border: 0.5px solid #ddd">
|
|
<a id="copyright" href="https://github.com/Awesome-Technologies/synapse-admin"
|
|
style="margin-left: 1em; color: #888; font-family: Roboto, Helvetica, Arial, sans-serif; font-weight: 100; font-size: 0.8em; text-decoration: none;">
|
|
Synapse-Admin <b>(%REACT_APP_VERSION%)</b> by Awesome Technologies Innovationslabor GmbH
|
|
</a>
|
|
</footer>
|
|
</body>
|
|
</html>
|