diff options
author | Thomas Lange <code@nerdmind.de> | 2018-12-31 00:23:06 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2018-12-31 00:23:06 +0100 |
commit | a0725d0bf159283e278168e3bd1dc0fe3e6da7ab (patch) | |
tree | a7788e618b82c7957cc56e2be3967fcfa8f03df0 /template | |
parent | df4865e7bcc3857be2f4b57d565a501a097b0daa (diff) | |
download | bigpipe-a0725d0bf159283e278168e3bd1dc0fe3e6da7ab.tar.gz bigpipe-a0725d0bf159283e278168e3bd1dc0fe3e6da7ab.tar.xz bigpipe-a0725d0bf159283e278168e3bd1dc0fe3e6da7ab.zip |
Temporary branch: last-pagelet-event-optimizationlast-pagelet-event-optimization
Diffstat (limited to 'template')
-rw-r--r-- | template/document.php | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/template/document.php b/template/document.php new file mode 100644 index 0000000..f556bb6 --- /dev/null +++ b/template/document.php @@ -0,0 +1,44 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8" /> + <meta name="referrer" content="origin-when-crossorigin" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <style> + html,body{margin:0;padding:0;} + html{font-size:1.25rem;color:#333;background:#CCC;-webkit-hyphens:auto;hyphens:auto;} + body{font-family:Ruda,sans-serif;font-size:0.7rem;line-height:1.0rem;} + blockquote,pre,code{font-family:"PT Mono",monospace;} + a{color:#0060A0;}a:focus{background:#CCC;text-decoration:underline;} + #container{background:#FFF;max-width:50rem;margin:0 auto;border:0.05rem solid #AAA;} + #main_header{background:#5E819F;} + </style> + <script src="static/bigpipe.js"></script> + <title>Example</title> +</head> +<body> +<section id="container"> + <header id="main_header"> + <h1>BigPipe</h1> + <p>This is an example page to demonstrate how <em>BigPipe</em> works.</p> + <nav id="main_navi"> + <ul> + <li><a href="#">Home</a></li> + <li><a href="#">Profile</a></li> + <li><a href="#">Settings</a></li> + </ul> + </nav> + </header> + <div id="main_container"> + <main id="main_content"> + <?="{$content_html}\n"?> + </main> + <aside id="main_sidebar"> + <?="{$sidebar_html}\n"?> + </aside> + </div> + <footer id="main_footer"> + Imprint | Footer + </footer> +</section> +<!-- We skip closing the <body> and <html> tags because the pagelets are getting flushed at this position. --> |