Archived
1
0
This repository has been archived on 2023-08-12. You can view files and clone it, but cannot push or open issues or pull requests.
nntpchan/contrib/templates/default/live.mustache

33 lines
1.2 KiB
Plaintext
Raw Normal View History

2016-04-26 01:29:11 +05:00
{{!
live.mustache -- live ui
template parameters:
- prefix ( site prefix )
}}
2016-04-29 23:08:02 +05:00
<!doctype html>
2017-10-17 16:59:07 +05:00
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}">
2016-04-26 01:29:11 +05:00
<head>
<title> {{#i18n.Translations}}{{overboard_title}}{{/i18n.Translations}} </title>
<meta charset="utf-8" />
2016-07-04 19:12:03 +05:00
<meta name="viewport" content="initial-scale = 1.0,maximum-scale = 1.0" />
<link rel="stylesheet" href="{{prefix}}static/livechan.css" />
2016-04-26 01:29:11 +05:00
<link id="current_theme" rel="stylesheet" href="{{prefix}}static/user.css" />
2016-07-04 19:12:03 +05:00
<style type="text/css" id="convo_filter">
</style>
2016-04-26 01:29:11 +05:00
<script type="text/javascript" src="{{prefix}}static/nntpchan.js"></script>
</head>
<body>
2016-07-05 21:13:48 +05:00
<noscript>you need js for livechan mode</noscript>
2016-04-26 01:29:11 +05:00
<script type="text/javascript" >
2016-07-05 21:13:48 +05:00
var e = document.createElement("div");
e.setAttribute("id", "chat");
2016-07-05 21:19:40 +05:00
e.setAttribute("style", "position:fixed;left:0;right:0;top:0;bottom:0;width:100%;height:100%;");
2016-07-05 21:14:52 +05:00
document.body.appendChild(e);
var board = "";
2016-07-04 19:12:03 +05:00
if (location.hash != "" ) {
board = location.hash.substr(1);
2016-04-26 01:33:51 +05:00
}
2016-07-04 19:12:03 +05:00
new Chat(e, board, { prefix : "{{prefix}}" });
2016-04-26 01:29:11 +05:00
</script>
</body>
</html>