cryptpad/www/slide/index.html

58 lines
1.6 KiB
HTML
Raw Normal View History

2016-08-17 17:28:50 +08:00
<!DOCTYPE html>
2016-12-27 21:10:20 +08:00
<html class="cp slide">
2016-08-17 17:28:50 +08:00
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
<script data-main="main" src="/bower_components/requirejs/require.js"></script>
<script>
require.config({
waitSeconds: 60,
});
</script>
<link rel="icon" type="image/png"
href="/customize/main-favicon.png"
data-main-favicon="/customize/main-favicon.png"
data-alt-favicon="/customize/alt-favicon.png"
id="favicon" />
<link rel="stylesheet" href="/customize/main.css" />
2016-08-17 17:28:50 +08:00
<style>
html, body {
overflow-y: hidden;
}
#iframe-container {
position: fixed;
top: 0px;
bottom: 0px;
right: 0px;
left: 0px;
padding: 0px;
}
#pad-iframe {
width:100%;
height:100%;
border:none;
margin:0;
padding:0;
overflow:hidden;
box-sizing: border-box;
2016-09-14 22:02:20 +08:00
}
/* We use !important here to override the 96% set to the element in DecorateToolbar.js
when we enter fullscreen mode. It allows us to avoid changing the iframe's size in JS */
#pad-iframe.fullscreen {
top: 0px;
height: 100% !important;
}
#iframe-container.fullscreen {
top: 0px;
height: 100% !important;
}
</style>
2016-08-17 17:28:50 +08:00
</head>
<body>
<div id="iframe-container">
<iframe id="pad-iframe" src="inner.html"></iframe>
</div>
2016-08-17 17:28:50 +08:00
</body>
</html>