mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 03:31:01 +08:00
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
|
|
<title>Talk - Coral Admin</title>
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
|
<link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.indigo-pink.min.css">
|
|
<link rel="stylesheet" href="<%= basePath %>/default.css">
|
|
<style media="screen">
|
|
body, #root {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 600px;
|
|
margin: 0;
|
|
background: #fff;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id='coralStreamEmbed'></div>
|
|
|
|
<!--- Script --->
|
|
<script type='text/javascript' src='https://pym.nprapps.org/pym.v1.min.js'></script>
|
|
<script>
|
|
var pymParent = new pym.Parent('coralStreamEmbed', '/embed/stream', {title: 'Talk Comments'});
|
|
pymParent.onMessage('height', function(height) {
|
|
document.querySelector('#coralStreamEmbed iframe').height = height + 'px';
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|