cryptpad/www/code/index.html

54 lines
1.5 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
2016-12-27 13:10:20 +00:00
<html class="cp code">
<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>
2016-07-07 11:40:03 +00:00
<link rel="icon" type="image/png"
2016-07-07 12:03:06 +00:00
href="/customize/main-favicon.png"
2016-07-07 11:40:03 +00:00
2016-07-07 12:03:06 +00:00
data-main-favicon="/customize/main-favicon.png"
2016-07-07 11:40:03 +00:00
data-alt-favicon="/customize/alt-favicon.png"
id="favicon" />
<link rel="stylesheet" href="/customize/main.css" />
<style>
2016-07-12 13:45:49 +00:00
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;
}
/* 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;
}
</style>
</head>
<body>
<div id="iframe-container">
<iframe id="pad-iframe" src="inner.html"></iframe>
</div>
</body>
</html>