This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
forked from mattermost/mattermost-webapp
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathroot.html
118 lines (107 loc) · 3.99 KB
/
root.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!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>