forked from miracle2k/ripple2go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index_debug.html
100 lines (83 loc) · 4.86 KB
/
index_debug.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
<!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html ng-app="rp" ng-controller="AppCtrl" ng-class="[$route.current.tabClass, $route.current.pageMode]" class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html ng-app="rp" ng-controller="AppCtrl" ng-class="[$route.current.tabClass, $route.current.pageMode]" class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html ng-app="rp" ng-controller="AppCtrl" ng-class="[$route.current.tabClass, $route.current.pageMode]" class="no-js lt-ie9" lang="en"> <![endif]-->
<!-- Consider adding a manifest.appcache: h5bp.com/d/Offline -->
<!--[if gt IE 8]><!--> <html ng-app="rp" ng-controller="AppCtrl" ng-class="[$route.current.tabClass, $route.current.pageMode]" class="no-js" lang="en"> <!--<![endif]-->
<html ng-app="rp" ng-controller="AppCtrl" ng-class="[$route.current.tabClass, $route.current.pageMode]">
<head>
<meta charset="utf-8">
<title>Ripple: Open Source Payments</title>
<meta name="description" content="">
<meta name="google" value="notranslate" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- CSS -->
<link href="fonts/stylesheet.css" rel="stylesheet">
<link href="build/dist/ripple-web.css" rel="stylesheet">
<!-- ENDS CSS -->
<!-- All JavaScript at the bottom, except this Modernizr build.
Modernizr enables HTML5 elements & feature detects for optimal performance.
Create your own custom Modernizr build: www.modernizr.com/download/ -->
<script src="deps/js/modernizr-2.5.3.min.js"></script>
</head>
<body ng-class="{loaded: app_loaded}">
<script>
function get_browser (){
var N=navigator.appName, ua=navigator.userAgent, tem;
var M=ua.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);
if(M && (tem= ua.match(/version\/([\.\d]+)/i))!= null) M[2]= tem[1];
M=M? [M[1], M[2]]: [N, navigator.appVersion, '-?'];
return M[0];
}
function get_browser_version (){
var N=navigator.appName, ua=navigator.userAgent, tem;
var M=ua.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);
if(M && (tem= ua.match(/version\/([\.\d]+)/i))!= null) M[2]= tem[1];
M=M? [M[1], M[2]]: [N, navigator.appVersion, '-?'];
return M[1];
}
</script>
<div id="appLoading">
<img src="img/loading.png" width="32" height="32" alt="" title="" />
Loading...
<div id="browserVersion">
Browser: <script>document.write(get_browser() + ' ' + get_browser_version())</script>
<script>document.getElementById("browserVersion").style.display = "block"</script>
</div>
</div>
<!-- VERSION -->
<div id="version">0.2.46-17-g8d439f2</div>
<div id="noWebSockets">
<p>We apologize, but the Ripple Client needs JavaScript and WebSockets in order to function. <br />
Please refer to this page and download a browser that supports WebSockets. Thank you! <br />
<a href="http://caniuse.com/websockets">http://caniuse.com/websockets</a>
</p>
</div>
<!-- JAVASCRIPT -->
<script src="build/dist/deps-debug.js"></script>
<!--[if IE]>
<script src="compat/ie/ws/ws-config.js"></script>
<script src="build/dist/compat_ie-debug.js"></script>
<![endif]-->
<script src="config.js"></script>
<script>
window.name = 'NG_DEFER_BOOTSTRAP!';
var lang = store.get('ripple_language');
</script>
<script id="client">
var clFile = lang
? 'build/dist/ripple-client-desktop-' + lang
: 'build/dist/ripple-client-desktop';
var script = document.createElement("script");
script.setAttribute("src", clFile + '.js?v=0.2.46');
document.getElementsByTagName("head")[0].appendChild(script);
</script>
<!-- start Mixpanel -->
<script type="text/javascript">if (Options.mixpanel) { (function(e,b){if(!b.__SV){var a,f,i,g;window.mixpanel=b;a=e.createElement("script");a.type="text/javascript";a.async=!0;a.src='deps/js/mixpanel.min.js';f=e.getElementsByTagName("script")[0];f.parentNode.insertBefore(a,f);b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==
typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.set_once people.increment people.append people.track_charge people.clear_charges people.delete_user".split(" ");for(g=0;g<i.length;g++)f(c,i[g]);
b._i.push([a,e,d])};b.__SV=1.2}})(document,window.mixpanel||[]);
mixpanel.init(Options.mixpanel.token); }</script>
<!-- end Mixpanel -->
</body>
</html>