-
Notifications
You must be signed in to change notification settings - Fork 123
/
Copy pathindex.html
executable file
·104 lines (93 loc) · 3.97 KB
/
index.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
<!DOCTYPE HTML>
<html manifest="">
<head>
<meta content="IE=edge" http-equiv="X-UA-Compatible"/>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"/>
<link href="resources/images/logo.ico" id="favicon" rel="shortcut icon" type="image/x-icon"/>
<title>
MagnusBilling
</title>
<script src="locale.js">
</script>
<script src="icons.js">
</script>
<script src="index.php">
</script>
<link href="resources/init.css" rel="stylesheet"/>
<script>
if (window.agentTitle) {
window.show_signup_button = false;
window.document.title = window.agentTitle;
}
if (window.reCaptchaKey.length >15) {
document.write('<script async="" defer="" src="https://www.google.com/recaptcha/api.js?render=' + window.reCaptchaKey+ '"> <\/script>');
}
</script>
</head>
</html>
<div id="loading-mask">
</div>
<div id="loading">
<div class="loading-indicator">
<div style="text-align:center">
<img id="loadinggif" src="resources/images/loading.gif" style="vertical-align:top;" width="90px"/>
<br/>
<span id="name-system">
</span>
<br/>
<span id="text-msg">
</span>
<br/>
<span id="loading-msg">
</span>
</div>
</div>
</div>
<script type="text/javascript">
if (window.agentTitle) {
document.getElementById('loadinggif').src = 'resources/images/logo_custom_'+window.agentId+'.png';
}
document.getElementById('loading-mask').style.backgroundColor = window.backgroundColor;
window.theme = window.theme || 'blue-dark';
window.themeApp = window.theme;
window.isThemeNeptune = window.theme.indexOf('neptune') !== -1;
window.isThemeCrisp = window.theme.indexOf('crisp') !== -1;
window.isThemeTriton = window.theme.indexOf('triton') !== -1;
window.isThemeDark = window.theme.indexOf('dark') !== -1;
window.layout=1;
</script>
<script type="text/javascript">
if (window.agentTitle) {
document.getElementById('name-system').innerHTML = window.agentTitle;
}else{
document.getElementById('name-system').innerHTML = t('MagnusBilling System');
}
document.getElementById('text-msg').innerHTML = 'Voip System';
document.getElementById('loading-msg').innerHTML = t('Starting...');
</script>
<script type="text/javascript">
var defaultLang= localStorage.getItem('lang') && localStorage.getItem('lang') != 'undefined'
? localStorage.getItem('lang')
: localStorage.lang = window.lang;
var lang = defaultLang,
localeApp = 'resources/locale/' + lang + '.js';
document.write('<script type="text/javaScript" src="resources/help/help_' + lang + '.js"></'+'script>');
document.write('<script type="text/javaScript" src="'+ localeApp +'"></'+'script>');
</script>
<script type="text/javascript">
var Ext = Ext || {}; // Ext namespace won't be defined yet...
Ext.repoDevMode = true;
window.wallpapers = 'resources/images/wallpapers/'+window.wallpaper+'.jpg';
window.colorMenu = window.colorMenu;
Ext.beforeLoad = function (tags) {
window.isTablet =!tags.desktop;
var theme = window.isTablet ? window.theme_color+'-triton' : window.theme;
Ext.microloaderTags = tags; Ext.Boot.platformTags = Ext.platformTags || {};
Ext.manifest = theme; // this name must match a build profile name
};
</script>
<script data-app="69eb1359-905e-4f4c-9e1e-2841e3ec1bda" id="microloader" src="bootstrap.js" type="text/javascript">
</script>
<body>
</body>