23 lines
821 B
HTML
23 lines
821 B
HTML
<!DOCTYPE html>
|
|
<html style="height:100%;">
|
|
<head>
|
|
<meta charset="utf8" />
|
|
</head>
|
|
<body style="height:100%;">
|
|
<nav style="height:5%; margin:0;">
|
|
<span>Voici votre site avant publication.</span>
|
|
<button onclick="setFrameUrl('/buildscript/build')">Assembler</button>
|
|
<button onclick="setFrameUrl('/')">Voir</button>
|
|
<button onclick="setFrameUrl('/buildscript/publish')">Publier</button>
|
|
</nav>
|
|
<iframe id="myframe" style="width:100%; height:93%" src="/" title="Site publique"></iframe>
|
|
<script type="text/javascript">
|
|
function setFrameUrl (url) {
|
|
document.getElementById('myframe').src = '';
|
|
document.getElementById('myframe').contentWindow.document.write("<html><body>Chargement…</body></html>");;
|
|
document.getElementById('myframe').src = url;
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|