TeaWeb/shared/html/index.html.ejs

220 lines
8.6 KiB
Text
Raw Normal View History

2020-04-09 23:09:59 +02:00
<%
/* given build compile */
var build_target;
var initial_script;
var initial_css;
%>
2018-03-24 23:38:01 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
2019-10-26 18:43:55 +02:00
2019-03-25 20:04:04 +01:00
<!-- App min width: 450px -->
2019-03-22 23:33:42 +01:00
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, min-zoom=1, max-zoom: 1, user-scalable=no">
2019-08-31 18:31:01 +02:00
<meta name="description" content="The TeaSpeak Web client is a in the browser running client for the VoIP communication software TeaSpeak." />
2019-07-10 01:03:06 +02:00
<meta name="keywords" content="TeaSpeak, TeaWeb, TeaSpeak-Web,Web client TeaSpeak, веб клієнт TeaSpeak, TSDNS, багатомовність, мультимовність, теми, функціонал"/>
2019-08-31 18:31:01 +02:00
<meta name="og:description" content="The TeaSpeak Web client is a in the browser running client for the VoIP communication software TeaSpeak." />
<meta name="og:url" content="https://web.teaspeak.de/">
2019-09-19 01:25:57 +02:00
<!-- WHAT THE HELL? <meta name="og:image" content="https://www.whatsapp.com/img/whatsapp-promo.png"> -->
2019-08-31 18:31:01 +02:00
2019-03-22 23:33:42 +01:00
<!-- TODO Needs some fix -->
2019-03-25 20:04:04 +01:00
<link rel="manifest" href="manifest.json">
Implemented the Material Design and fixed some bugs (#33) * cleaned up some files * Fundamental style update * Redesigned some style * fixed hostbanner popup * Removed old identity stuff * fixed close listener * Fixed changelog date * fixed release chat icons * fixed url * Fixed hostbanner * Uploaded missing images * Improved update handling * Improved script files * Fixed loading error and icon error * fixed Yes/No modal * Fixed loader issues with MS Edge * fixed modal style bug * Fixed control bar overflow for small devices * Improved error handling on identity creation * Logging generate error to terminal * fixed possible php error * fixed some possible loading errors when other files have'nt been already loaded. * removed debug message * Changed emsrcypten flags * Improved codec error handling * removed webassembly as required dependency * Improved and fixed channel tree issues * Improved the sliders * Removed unneeded files * fixed loader versions cache * second slight performance improved (dont animate elements anymore if they are not shown) * Fixed query visibility setting * not showing useless client infos for query clients * Added an auto reconnect system * Added a canceled message and increased reconnect interval * removed implemented todo * fixed repetitive channel names * Reworked the channel tree selected lines * Fixed channel tree names * Fixed name alignment * fixed the native client * added min width to the server select groups to avoid a disappearing effect on shrink * fixed bugged downloaded icons
2019-02-17 16:08:10 +01:00
2020-04-09 23:09:59 +02:00
<% if(build_target === "client") { %>
<title>TeaClient</title>
<meta name='og:title' content='TeaClient'>
<% } else { %>
<title>TeaSpeak-Web</title>
<meta name='og:title' content='TeaSpeak-Web'>
<link rel='shortcut icon' href='img/favicon/teacup.png' type='image/x-icon'>
<!-- <link rel="apple-touch-icon" sizes="194x194" href="/apple-touch-icon.png" type="image/png"> -->
<% } %>
2019-09-01 17:24:06 +02:00
<x-properties id="properties" style="display: none">
2020-04-09 23:09:59 +02:00
<!--
We don't need to put any properties down here.
But this tag is here to not brick the settings class.
But it will be removed quite soonly as soon this class has been fixed
-->
2018-03-24 23:38:01 +01:00
</x-properties>
2018-03-25 14:17:41 +02:00
2019-08-31 18:31:01 +02:00
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="format-detection" content="telephone=no">
2018-10-28 18:41:03 +01:00
<!-- Global site tag (gtag.js) - Google Analytics -->
2019-10-13 21:33:07 +02:00
<script defer async src="https://www.googletagmanager.com/gtag/js?id=UA-113151733-4"></script>
2018-03-25 14:17:41 +02:00
<script>
window.dataLayer = window.dataLayer || [];
2018-06-20 21:07:32 +02:00
function gtag() {
dataLayer.push(arguments);
}
2018-03-25 14:17:41 +02:00
gtag('js', new Date());
gtag('config', 'UA-113151733-4');
</script>
Implemented the Material Design and fixed some bugs (#33) * cleaned up some files * Fundamental style update * Redesigned some style * fixed hostbanner popup * Removed old identity stuff * fixed close listener * Fixed changelog date * fixed release chat icons * fixed url * Fixed hostbanner * Uploaded missing images * Improved update handling * Improved script files * Fixed loading error and icon error * fixed Yes/No modal * Fixed loader issues with MS Edge * fixed modal style bug * Fixed control bar overflow for small devices * Improved error handling on identity creation * Logging generate error to terminal * fixed possible php error * fixed some possible loading errors when other files have'nt been already loaded. * removed debug message * Changed emsrcypten flags * Improved codec error handling * removed webassembly as required dependency * Improved and fixed channel tree issues * Improved the sliders * Removed unneeded files * fixed loader versions cache * second slight performance improved (dont animate elements anymore if they are not shown) * Fixed query visibility setting * not showing useless client infos for query clients * Added an auto reconnect system * Added a canceled message and increased reconnect interval * removed implemented todo * fixed repetitive channel names * Reworked the channel tree selected lines * Fixed channel tree names * Fixed name alignment * fixed the native client * added min width to the server select groups to avoid a disappearing effect on shrink * fixed bugged downloaded icons
2019-02-17 16:08:10 +01:00
<!-- required static style for the critical page and the enable javascript page -->
<style>
.fulloverlay {
z-index: 10000;
display: none;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: gray;
text-align: center;
}
.fulloverlay .container {
position: relative;
display: inline-block;
2019-08-31 18:31:01 +02:00
top: 20%;
}
#critical-load.shown {
display: block;
}
@media (max-height: 750px) {
#critical-load .container {
top: unset;
}
#critical-load {
font-size: .8rem;
flex-direction: column;
justify-content: center;
}
#critical-load.shown {
display: flex;
}
Implemented the Material Design and fixed some bugs (#33) * cleaned up some files * Fundamental style update * Redesigned some style * fixed hostbanner popup * Removed old identity stuff * fixed close listener * Fixed changelog date * fixed release chat icons * fixed url * Fixed hostbanner * Uploaded missing images * Improved update handling * Improved script files * Fixed loading error and icon error * fixed Yes/No modal * Fixed loader issues with MS Edge * fixed modal style bug * Fixed control bar overflow for small devices * Improved error handling on identity creation * Logging generate error to terminal * fixed possible php error * fixed some possible loading errors when other files have'nt been already loaded. * removed debug message * Changed emsrcypten flags * Improved codec error handling * removed webassembly as required dependency * Improved and fixed channel tree issues * Improved the sliders * Removed unneeded files * fixed loader versions cache * second slight performance improved (dont animate elements anymore if they are not shown) * Fixed query visibility setting * not showing useless client infos for query clients * Added an auto reconnect system * Added a canceled message and increased reconnect interval * removed implemented todo * fixed repetitive channel names * Reworked the channel tree selected lines * Fixed channel tree names * Fixed name alignment * fixed the native client * added min width to the server select groups to avoid a disappearing effect on shrink * fixed bugged downloaded icons
2019-02-17 16:08:10 +01:00
}
.no-js {
display: block;
}
</style>
2020-04-09 23:09:59 +02:00
<%- initial_css %>
2019-09-01 17:24:06 +02:00
</head>
<body>
2019-10-13 21:33:07 +02:00
<!-- No javascript error -->
<noscript>
<div class="fulloverlay no-js">
<div class="container">
<img src="img/script.svg" height="128px">
<h1>Please enable JavaScript</h1>
<h3>TeaSpeak web could not run without it!</h3>
<h3>Its like you, without coffee</h3>
</div>
</div>
</noscript>
<!-- loader setup -->
2020-04-09 23:09:59 +02:00
<div id="style"></div>
<div id="scripts"></div>
2019-09-01 17:24:06 +02:00
2018-04-19 19:46:47 +02:00
<!-- Loading screen -->
2019-08-30 23:06:39 +02:00
<div class="loader" id="loader-overlay">
2018-04-19 19:46:47 +02:00
<div class="half right"></div>
<div class="half left"></div>
<div class="bookshelf_wrapper">
<ul class="books_list">
<li class="book_item first"></li>
<li class="book_item second"></li>
<li class="book_item third"></li>
<li class="book_item fourth"></li>
<li class="book_item fifth"></li>
<li class="book_item sixth"></li>
</ul>
<div class="shelf"></div>
</div>
</div>
2018-03-24 23:38:01 +01:00
<!-- Critical load error -->
Implemented the Material Design and fixed some bugs (#33) * cleaned up some files * Fundamental style update * Redesigned some style * fixed hostbanner popup * Removed old identity stuff * fixed close listener * Fixed changelog date * fixed release chat icons * fixed url * Fixed hostbanner * Uploaded missing images * Improved update handling * Improved script files * Fixed loading error and icon error * fixed Yes/No modal * Fixed loader issues with MS Edge * fixed modal style bug * Fixed control bar overflow for small devices * Improved error handling on identity creation * Logging generate error to terminal * fixed possible php error * fixed some possible loading errors when other files have'nt been already loaded. * removed debug message * Changed emsrcypten flags * Improved codec error handling * removed webassembly as required dependency * Improved and fixed channel tree issues * Improved the sliders * Removed unneeded files * fixed loader versions cache * second slight performance improved (dont animate elements anymore if they are not shown) * Fixed query visibility setting * not showing useless client infos for query clients * Added an auto reconnect system * Added a canceled message and increased reconnect interval * removed implemented todo * fixed repetitive channel names * Reworked the channel tree selected lines * Fixed channel tree names * Fixed name alignment * fixed the native client * added min width to the server select groups to avoid a disappearing effect on shrink * fixed bugged downloaded icons
2019-02-17 16:08:10 +01:00
<div class="fulloverlay" id="critical-load">
<div class="container">
<img src="img/loading_error_right.svg" style="height: 12em" />
2020-04-09 23:09:59 +02:00
2019-08-31 18:31:01 +02:00
<h1 class="error" style="color: red; margin-bottom: 0"></h1>
<h3 class="detail" style="margin-top: .5em"></h3>
2018-03-24 23:38:01 +01:00
</div>
</div>
2020-04-09 23:09:59 +02:00
<%# <!-- Old debgging stuff back for the days where we designed the client -->
2019-10-13 21:33:07 +02:00
<?php if($localhost && false) { ?>
2019-07-08 11:32:14 +02:00
<div id="spoiler-style" style="z-index: 1000000; position: absolute; display: block; background: white; right: 5px; left: 5px; top: 34px;">
2019-08-21 10:00:01 +02:00
<!-- <img src="https://www.chromatic-solutions.de/teaspeak/window/connect_opened.png"> -->
<!-- <img src="http://puu.sh/DZDgO/9149c0a1aa.png"> -->
<!-- <img src="http://puu.sh/E0QUb/ce5e3f93ae.png"> -->
<!-- <img src="img/style/default.png"> -->
2019-08-21 10:00:01 +02:00
<!-- <img src="img/style/user-selected.png"> -->
<!-- <img src="img/style/privat_chat.png"> -->
<!-- <img src="http://puu.sh/E1aBL/3c40ae3c2c.png"> -->
<!-- <img src="http://puu.sh/E2qb2/b27bb2fde5.png"> -->
<!-- <img src="http://puu.sh/E2UQR/1e0d7e03a3.png"> -->
<!-- <img src="http://puu.sh/E38yX/452e27864c.png"> -->
<!-- <img src="http://puu.sh/E3fjq/e2b4447bcd.png"> -->
<!-- <img src="http://puu.sh/E3WlW/f791a9e7b1.png"> -->
<!-- <img src="http://puu.sh/E4lHJ/1a4afcdf0b.png"> -->
<!-- <img src="http://puu.sh/E4HKK/5ee74d4cc7.png"> -->
<!-- <img src="http://puu.sh/E6LN1/8518c10898.png"> -->
2019-08-30 23:06:39 +02:00
<!--
http://puu.sh/E8IoF/242ed5ca3a.png
http://puu.sh/E8Ip9/9632d33591.png
http://puu.sh/E8Ips/6c314253e5.png
http://puu.sh/E8IpG/015a38b184.png
http://puu.sh/E8IpY/5be454a15e.png
2019-08-21 10:00:01 +02:00
2019-08-30 23:06:39 +02:00
Identity imporve: http://puu.sh/E9jTp/380a734677.png
Identity select: http://puu.sh/E9jYi/3003c58a2f.png
Server Info Bandwidth: http://puu.sh/E9jTe/b41f6386de.png
Server Info: http://puu.sh/E9jT6/302912ae34.png
Bookmarks: http://puu.sh/Eb5w4/8d38fe5b8f.png
serveredit_1.png https://www.hypixel-koo.cf/tsapoijdsadpoijsadsapj.png
serveredit_2.png https://www.hypixel-koo.cf/tsandljsandljsamndoj3oiwejlkjmnlksandljsadmnlmsadnlsa.png
serveredit_3.png https://www.hypixel-koo.cf/toiuhsadouhgdsapoiugdsapouhdsapouhdsaouhwouhwwouhwwoiuhwoihwwoihwoijhwwoknw.png
2019-09-19 01:25:57 +02:00
Query accounts: https://puu.sh/EhvkJ/7551f548e3.png
Channel info: https://puu.sh/EhuVH/1e21540589.png
2019-08-30 23:06:39 +02:00
-->
<!-- <img src="http://puu.sh/E6NXv/eb2f19c7c3.png"> -->
<!-- <img src="http://puu.sh/E9jT6/302912ae34.png"> -->
2019-09-12 23:59:35 +02:00
<!-- <img src="http://puu.sh/E9jTe/b41f6386de.png"> -->
<!-- <img src="img/style/ban-list.png"> -->
2019-09-19 01:25:57 +02:00
<!-- <img src="http://puu.sh/E9jTe/b41f6386de.png"> -->
2019-10-13 21:33:07 +02:00
<!-- <img src="https://puu.sh/EhuVH/1e21540589.png"> -->
<img src="https://puu.sh/EhvkJ/7551f548e3.png">
2019-07-08 11:32:14 +02:00
</div>
<button class="toggle-spoiler-style" style="height: 30px; width: 100px; z-index: 100000000; position: absolute; bottom: 2px;">toggle style</button>
2019-07-08 11:32:14 +02:00
<script>
2019-09-19 01:25:57 +02:00
const init = (jQuery) => {
if(typeof jQuery === "undefined") {
setTimeout(() => init($), 1000);
return;
}
jQuery("#spoiler-style").hide();
jQuery(".toggle-spoiler-style").on('click', () => {
jQuery("#spoiler-style").toggle();
2019-07-08 11:32:14 +02:00
});
2019-09-19 01:25:57 +02:00
};
setTimeout(() => init($), 1000);
2019-07-08 11:32:14 +02:00
</script>
2020-04-09 23:09:59 +02:00
%>
<%- initial_script %>
2018-03-24 23:38:01 +01:00
</body>
</html>