Author: Edd Barrett <vex...@gmail.com> Branch: argparse-collect Changeset: r234:d7e9839552ac Date: 2013-08-30 23:16 +0100 http://bitbucket.org/pypy/jitviewer/changeset/d7e9839552ac/
Log: Make the page title render, improve styling on page. diff --git a/_jitviewer/static/style.css b/_jitviewer/static/style.css --- a/_jitviewer/static/style.css +++ b/_jitviewer/static/style.css @@ -1,5 +1,5 @@ /*HTML5 Reset*/ -a,abbr,address,article,aside,audio,b,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{ margin:0; padding:0; border:0; font-size:100%; font-weight:inherit; font-style:inherit; vertical-align:baseline}article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{ display:block}a,ins,del{ text-decoration:none}ul,ol{ list-style:none}table{ border-spacing:0; border-collapse:collapse}caption,th{ text-align:left}q:after,q:before{ content:��} +a,abbr,address,article,aside,audio,b,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{ margin:0; padding:0; border:0; font-size:100%; font-weight:inherit; font-style:inherit; vertical-align:baseline}article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{ display:block}a,ins,del{ text-decoration:none}ul,ol{ list-style:none}table{ border-spacing:0; border-collapse:collapse}caption,th{ text-align:left}q:after,q:before{ content:��} /*End of HTML5 Reset*/ /* General Layout & Typography @@ -232,6 +232,16 @@ font-weight: bold; } +.menu { + background: #cccccc; + text-color: red; +} + +h1 { + padding: 10px 10px 10px 10px; + background: #ffcc66; +} + /* End of Formatting -----------------------------------------*/ diff --git a/_jitviewer/templates/index.html b/_jitviewer/templates/index.html --- a/_jitviewer/templates/index.html +++ b/_jitviewer/templates/index.html @@ -19,15 +19,18 @@ </head> <body> <header> - <span>Menu</span><br/> + <div class="menu">Menu</div> <a id="asmtoggler" href="#">Show assembler [a]</a><br> <a id="bytecodepos_toggler" href="#">Show bytecode position [b]</a> <div id="callstack"> </div> </header> + <h1>JIT Viewer</h1> + <!-- <div id="title"> <span id="title-text">JIT viewer</span> </div> + --> <div id="filter"> Filter [/]: <input id="inp-bar" type="text" size="80"></input> <div> _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit