2015-06-09 18:40:42 +02:00
|
|
|
<!doctype html>
|
2015-07-22 09:17:15 +02:00
|
|
|
<html lang="en" style="height: 100%;">
|
2015-06-09 18:40:42 +02:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2016-09-19 15:50:17 +02:00
|
|
|
<title>Riot</title>
|
2015-12-08 11:27:42 +01: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">
|
2017-05-11 14:12:26 +02:00
|
|
|
<link rel="manifest" href="manifest.json">
|
2015-12-08 11:27:42 +01:00
|
|
|
<link rel="shortcut icon" href="vector-icons/favicon.ico">
|
2016-09-23 15:24:47 +02:00
|
|
|
<meta name="apple-mobile-web-app-title" content="Riot">
|
2016-09-27 13:27:06 +02:00
|
|
|
<meta name="application-name" content="Riot">
|
2015-07-28 02:04:23 +02:00
|
|
|
<meta name="msapplication-TileColor" content="#da532c">
|
2015-12-08 11:27:42 +01:00
|
|
|
<meta name="msapplication-TileImage" content="vector-icons/mstile-144x144.png">
|
|
|
|
<meta name="msapplication-config" content="vector-icons/browserconfig.xml">
|
2015-07-28 02:04:23 +02:00
|
|
|
<meta name="theme-color" content="#ffffff">
|
2017-10-31 23:56:57 +01:00
|
|
|
<meta property="og:image" content="https://chat.status.im/img/logos/riot-im-logo-1.png" />
|
2017-01-17 20:14:16 +01:00
|
|
|
<% for (var i=0; i < htmlWebpackPlugin.files.css.length; i++) {
|
|
|
|
var file = htmlWebpackPlugin.files.css[i];
|
2017-01-19 16:40:54 +01:00
|
|
|
var match = file.match(/^bundles\/.*?\/theme-(.*)\.css$/);
|
2017-01-18 15:06:20 +01:00
|
|
|
if (match) {
|
|
|
|
var title = match[1].charAt(0).toUpperCase() + match[1].slice(1);
|
2017-01-17 20:14:16 +01:00
|
|
|
%>
|
2017-11-15 01:57:44 +01:00
|
|
|
<link rel="stylesheet" disabled="disabled" title="<%= title %>" href="<%= file %>">
|
2017-01-17 20:14:16 +01:00
|
|
|
<% } else { %>
|
|
|
|
<link rel="stylesheet" href="<%= file %>">
|
|
|
|
<% }
|
|
|
|
} %>
|
2015-06-09 18:40:42 +02:00
|
|
|
</head>
|
2015-07-07 18:45:45 +02:00
|
|
|
<body style="height: 100%;">
|
2015-12-17 03:53:53 +01:00
|
|
|
<section id="matrixchat" style="height: 100%;"></section>
|
2017-05-31 16:06:03 +02:00
|
|
|
<noscript>Sorry, Riot requires JavaScript to be enabled.</noscript> <!-- TODO: Translate this? -->
|
2017-04-06 12:15:14 +02:00
|
|
|
<% for (var i=0; i < htmlWebpackPlugin.files.js.length; i++) {
|
|
|
|
// Not a particularly graceful way of not putting the indexeddb worker script
|
|
|
|
// into the main page
|
2017-04-07 15:57:02 +02:00
|
|
|
if (_.endsWith(htmlWebpackPlugin.files.js[i], 'indexeddb-worker.js')) {
|
2017-04-06 12:15:14 +02:00
|
|
|
%>
|
|
|
|
<script>
|
|
|
|
window.vector_indexeddb_worker_script = '<%= htmlWebpackPlugin.files.js[i] %>';
|
|
|
|
</script>
|
|
|
|
<%
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
<script src="<%= htmlWebpackPlugin.files.js[i] %>"></script>
|
2016-10-25 18:07:43 +02:00
|
|
|
<% } %>
|
2015-12-17 03:53:53 +01:00
|
|
|
<img src="img/warning.svg" width="24" height="23" style="visibility: hidden; position: absolute; top: 0px; left: 0px;"/>
|
2016-03-03 14:11:46 +01:00
|
|
|
<audio id="messageAudio">
|
|
|
|
<source src="media/message.ogg" type="audio/ogg" />
|
|
|
|
<source src="media/message.mp3" type="audio/mpeg" />
|
|
|
|
</audio>
|
2015-12-17 03:53:53 +01: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 17:42:16 +02: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>
|
2018-02-23 17:27:34 +01:00
|
|
|
<audio id="remoteAudio"></audio>
|
2017-11-05 00:43:34 +01:00
|
|
|
<!-- let CSS themes pass constants to the app -->
|
2017-11-15 01:57:44 +01:00
|
|
|
<div id="mx_theme_accentColor"></div><div id="mx_theme_secondaryAccentColor"/></div><div id="mx_theme_tertiaryAccentColor"/></div>
|
2015-06-09 18:40:42 +02:00
|
|
|
</body>
|
|
|
|
</html>
|