# HG changeset patch # User dfraser # Date 1242034500 0 # Node ID 1a4541c87021eb38cfd149edda385662926222c1 # Parent b4d3d9cbf20033ca857e4be2e16d4c50490166d3 Show table of contents in build recipe view (eblot) - fixes #394 diff --git a/bitten/htdocs/bitten.css b/bitten/htdocs/bitten.css --- a/bitten/htdocs/bitten.css +++ b/bitten/htdocs/bitten.css @@ -194,3 +194,17 @@ #mainnav .bittenpending, #mainnav .bittenpending :hover { border-right: 4px hidden !important; } +.step-toc { + padding: .5em 1em; + margin: 1em 3em 2em 1em; + float: right; + border: 1px outset #ddc; + background: #ffd; + font-size: 85%; + position: relative; +} +.step-toc h4 { font-size: 12px; margin: 0 } +.step-toc ul, .step-toc ol { list-style: none; padding: 0 0 0 1.2em; margin: 0 } +.step-toc li { margin: 0; padding: 0 } +.step-toc .active { background: #ff9; position: relative; } +.step-toc li.failed a { color: #a00; font-weight: bold; } \ No newline at end of file diff --git a/bitten/templates/bitten_build.html b/bitten/templates/bitten_build.html --- a/bitten/templates/bitten_build.html +++ b/bitten/templates/bitten_build.html @@ -11,6 +11,12 @@

$title

+

Build steps

    + +
  1. $step.name
  2. +
+
Configuration: