add time in html

This commit is contained in:
ppwwyyxx
2014-12-22 22:49:33 +08:00
parent 7e23b45294
commit 562abef35e
9 changed files with 89 additions and 41 deletions
+6 -8
View File
@@ -2,16 +2,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>WeChat</title>
<link rel="stylesheet" type="text/css" href="http://localhost:8000/wx.css">
<title>Chat with {talker}</title>
<style type="text/css">
.me .avatar {{
background-size: 100%;
background-image: url("data:image/jpeg;base64,{avatar_me}");
background-image: url("data:image/jpeg;base64,{avatars[0]}");
}}
.you .avatar {{
background-size: 100%;
background-image: url("data:image/jpeg;base64,{avatar_you}");
background-image: url("data:image/jpeg;base64,{avatars[1]}");
}}
</style>
{extra_css}
@@ -33,8 +32,7 @@
</div>
</div>
</div>
<script type='text/javascript'>
<script type='text/javascript'>
var playVoice = function(event) {{
var target = event.target;
while (!target.classList.contains('cloud'))
@@ -45,10 +43,10 @@ var playVoice = function(event) {{
$(document).ready(function() {{
$(".fancybox").fancybox({{
// fancybox will otherwise scroll page to top
// fancybox will otherwise scroll page to top
helpers: {{ overlay : {{ locked : false}}}}
}});
}});
</script>
</script>
</body>
</html>