2015-06-09 16:40:42 +00:00
|
|
|
<!doctype html>
|
2015-07-22 07:17:15 +00:00
|
|
|
<html lang="en" style="height: 100%;">
|
2015-06-09 16:40:42 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2016-09-19 13:50:17 +00:00
|
|
|
<title>Riot</title>
|
2015-12-08 10:27:42 +00:00
|
|
|
<link rel="apple-touch-icon" sizes="57x57" href="vector-icons/apple-touch-icon-57x57.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="60x60" href="vector-icons/apple-touch-icon-60x60.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="72x72" href="vector-icons/apple-touch-icon-72x72.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="76x76" href="vector-icons/apple-touch-icon-76x76.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="114x114" href="vector-icons/apple-touch-icon-114x114.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="120x120" href="vector-icons/apple-touch-icon-120x120.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="144x144" href="vector-icons/apple-touch-icon-144x144.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="152x152" href="vector-icons/apple-touch-icon-152x152.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="vector-icons/apple-touch-icon-180x180.png">
|
|
|
|
<link rel="manifest" href="vector-icons/manifest.json">
|
|
|
|
<link rel="shortcut icon" href="vector-icons/favicon.ico">
|
2016-09-23 13:24:47 +00:00
|
|
|
<meta name="apple-mobile-web-app-title" content="Riot">
|
2015-07-28 00:04:23 +00:00
|
|
|
<meta name="application-name" content="Vector">
|
|
|
|
<meta name="msapplication-TileColor" content="#da532c">
|
2015-12-08 10:27:42 +00:00
|
|
|
<meta name="msapplication-TileImage" content="vector-icons/mstile-144x144.png">
|
|
|
|
<meta name="msapplication-config" content="vector-icons/browserconfig.xml">
|
2015-07-28 00:04:23 +00:00
|
|
|
<meta name="theme-color" content="#ffffff">
|
2015-06-09 16:40:42 +00:00
|
|
|
</head>
|
2015-07-07 16:45:45 +00:00
|
|
|
<body style="height: 100%;">
|
2015-12-17 02:53:53 +00:00
|
|
|
<section id="matrixchat" style="height: 100%;"></section>
|
2016-08-02 11:42:06 +00:00
|
|
|
<!-- load olm, if possible. -->
|
|
|
|
<script src="olm.js"></script>
|
2015-12-17 02:53:53 +00:00
|
|
|
<script src="bundle.js"></script>
|
2015-12-28 03:25:26 +00:00
|
|
|
<noscript>Sorry, Vector requires JavaScript to be enabled.</noscript>
|
2015-12-17 02:53:53 +00:00
|
|
|
<link rel="stylesheet" href="bundle.css">
|
|
|
|
<img src="img/warning.svg" width="24" height="23" style="visibility: hidden; position: absolute; top: 0px; left: 0px;"/>
|
2016-03-03 13:11:46 +00:00
|
|
|
<audio id="messageAudio">
|
|
|
|
<source src="media/message.ogg" type="audio/ogg" />
|
|
|
|
<source src="media/message.mp3" type="audio/mpeg" />
|
|
|
|
</audio>
|
2015-12-17 02:53:53 +00:00
|
|
|
<audio id="ringAudio" loop>
|
|
|
|
<source src="media/ring.ogg" type="audio/ogg" />
|
|
|
|
<source src="media/ring.mp3" type="audio/mpeg" />
|
|
|
|
</audio>
|
2015-07-17 15:42:16 +00:00
|
|
|
<audio id="ringbackAudio" loop>
|
|
|
|
<source src="media/ringback.ogg" type="audio/ogg" />
|
|
|
|
<source src="media/ringback.mp3" type="audio/mpeg" />
|
|
|
|
</audio>
|
|
|
|
<audio id="callendAudio">
|
|
|
|
<source src="media/callend.ogg" type="audio/ogg" />
|
|
|
|
<source src="media/callend.mp3" type="audio/mpeg" />
|
|
|
|
</audio>
|
|
|
|
<audio id="busyAudio">
|
|
|
|
<source src="media/busy.ogg" type="audio/ogg" />
|
|
|
|
<source src="media/busy.mp3" type="audio/mpeg" />
|
|
|
|
</audio>
|
2016-08-31 20:51:20 +00:00
|
|
|
<audio id="remoteAudio"/>
|
2016-01-12 01:23:39 +00:00
|
|
|
<script>
|
2016-09-19 15:22:42 +00:00
|
|
|
if (
|
|
|
|
window.location.host === 'www.vector.im' ||
|
2016-09-19 16:46:54 +00:00
|
|
|
window.location.host === 'vector.im'
|
2016-09-19 15:22:42 +00:00
|
|
|
) {
|
2016-01-12 01:23:39 +00:00
|
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
|
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
|
|
|
|
|
|
ga('create', 'UA-54779209-2', 'auto');
|
|
|
|
ga('send', 'pageview', window.location.pathname + window.location.search + window.location.hash);
|
|
|
|
}
|
2016-09-19 16:46:54 +00:00
|
|
|
else if (
|
|
|
|
window.location.host === 'www.riot.im' ||
|
|
|
|
window.location.host === 'riot.im'
|
|
|
|
) {
|
|
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
|
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
|
|
|
|
|
|
|
ga('create', 'UA-65410662-4', 'auto');
|
|
|
|
ga('send', 'pageview');
|
|
|
|
|
|
|
|
}
|
2016-01-13 17:33:06 +00:00
|
|
|
else {
|
|
|
|
var ga = null;
|
|
|
|
}
|
2016-01-12 01:23:39 +00:00
|
|
|
</script>
|
2015-06-09 16:40:42 +00:00
|
|
|
</body>
|
|
|
|
</html>
|