This repository has been archived by the owner. It is now read-only.
Find file Copy path
2cfe0f7 Mar 11, 2014
0 contributors

Users who have contributed to this file

37 lines (37 sloc) 1.36 KB
<!DOCTYPE html>
<title>Elfet's Chat</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="<?= $basePath ?>/css/chat.css">
<script src="//"></script>
<script src="<?= $basePath ?>/js/handlebars.js"></script>
<script src="<?= $basePath ?>/js/client.js"></script>
<div class="container">
<script id="message" type="text/x-handlebars-template">
<div class="message {{#if my}}my{{/if}}">
<a class="user" href="{{user.profile_url}}" target="_blank"><img src="{{user.pic_square}}" title="{{}}"></a>
{{#if image}}
<div class="text img"
style="background-image: url('{{text}}');"
<div class="text">{{text}}</div>
<div class="control">
<input type="text" name="text" id="text" placeholder="Type message and press Enter" tabindex="1">
var me = <?=json_encode($app['user'])?>;
connect('<?=$app['']?>', '<?=$app['server.port']?>');