You've already forked mattermost-webapp
mirror of
https://github.com/zerotier/mattermost-webapp.git
synced 2026-05-22 16:23:25 -07:00
119 lines
4.0 KiB
HTML
119 lines
4.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval' cdn.segment.com/analytics.js/">
|
|
|
|
<meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0'>
|
|
<meta name='robots' content='noindex, nofollow'>
|
|
<meta name='referrer' content='no-referrer'>
|
|
|
|
<title>Mattermost</title>
|
|
|
|
<meta name='mobile-web-app-capable' content='yes'>
|
|
<meta name='application-name' content='Mattermost'>
|
|
<meta name='format-detection' content='telephone=no'>
|
|
|
|
<link rel="icon" type="image/png" href="/static/images/favicon/favicon-16x16.png" sizes="16x16">
|
|
<link rel="icon" type="image/png" href="/static/images/favicon/favicon-32x32.png" sizes="32x32">
|
|
<link rel="icon" type="image/png" href="/static/images/favicon/favicon-96x96.png" sizes="96x96">
|
|
|
|
<!-- CSS Should always go first -->
|
|
<link rel='stylesheet' class='code_theme'>
|
|
<style>
|
|
.error-screen {
|
|
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
padding-top: 50px;
|
|
max-width: 750px;
|
|
font-size: 14px;
|
|
color: #333333;
|
|
margin: auto;
|
|
display: none;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.error-screen h2 {
|
|
font-size: 30px;
|
|
font-weight: normal;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.error-screen ul {
|
|
padding-left: 15px;
|
|
line-height: 1.7;
|
|
margin-top: 0;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.error-screen hr {
|
|
color: #ddd;
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
border: 0;
|
|
border-top: 1px solid #eee;
|
|
}
|
|
|
|
.error-screen-visible {
|
|
display: block;
|
|
}
|
|
</style>
|
|
|
|
<style type="text/css">
|
|
div.post--system {
|
|
display: none !important;
|
|
visibility: hidden !important;
|
|
}
|
|
input#newPassword {
|
|
display: none !important;
|
|
visibility: hidden !important;
|
|
}
|
|
input#confirmPassword {
|
|
display: none !important;
|
|
visibility: hidden !important;
|
|
}
|
|
</style>
|
|
|
|
<script language="JavaScript">
|
|
window.addEventListener('message',function(event) {
|
|
if (typeof event.data.login_id !== 'undefined' && typeof event.data.password !== 'undefined') {
|
|
setInterval(function() {
|
|
try {
|
|
var lb = document.getElementById('loginButton');
|
|
if (lb) {
|
|
document.getElementsByName('loginId')[0].value = event.data.login_id;
|
|
document.getElementsByName('password')[0].value = event.data.password;
|
|
lb.click();
|
|
}
|
|
} catch (e) {}
|
|
},1000);
|
|
}
|
|
});
|
|
Object.defineProperty(window,'mm_license',{ get: function() { return { "IsLicensed": "true" }; }, set: function(v) { } });
|
|
</script>
|
|
</head>
|
|
<body class='font--open_sans'>
|
|
<div id='root'>
|
|
<div class='error-screen'>
|
|
<h2>Cannot connect to Mattermost</h2>
|
|
<hr/>
|
|
<p>We're having trouble connecting to Mattermost. If refreshing this page (Ctrl+R or Command+R) does not work, please verify that your computer is connected to the internet.</p>
|
|
<br/>
|
|
</div>
|
|
<div
|
|
class='loading-screen'
|
|
style='position: relative'
|
|
>
|
|
<div class='loading__content'>
|
|
<div class='round round-1'></div>
|
|
<div class='round round-2'></div>
|
|
<div class='round round-3'></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id='root-portal'></div>
|
|
<noscript>
|
|
To use Mattermost, please enable JavaScript.
|
|
</noscript>
|
|
</body>
|
|
</html>
|