Evil CSS hackery to prevent link targets from being under the navbar

[?]
Feb 20, 2013, 12:56 PM
SBMOICGVH2B2FBFHL2D767XC4LC2Y6SF4TYGY3I6TSNMLYV27GUQC

Dependencies

  • [2] 7IJXKGHD Turn repeated dependencies into hyperlinks
  • [3] HQ54SEMS Add more spacing between products
  • [4] KT2SLXPU Move <style> to hydra.css
  • [5] OCRZNLGS Update jquery/jqueryui
  • [6] J5UVLXOK * Start of a basic Catalyst web interface.
  • [7] 5NHZT4UH Render the dependencies as a tree
  • [8] G4X5IUYJ Remove default logo, replaced by text for now. Hide template in jobset edit.
  • [9] NOSDBMWD Remove comments, re-add logo.
  • [10] OEPUOUNB Using twitter bootstrap for more consistent looks for Hydra
  • [11] YPDYBK5G Show dependencies as a tree rather than a list
  • [12] QL55ECJ6 - adapted ui for hydra, more in line with nixos.org website
  • [13] TQKGQ5R3
  • [14] KXO3EUSV Factor out the tree rendering
  • [15] XDDCO6CH * hydra: add dependency list with links to logfiles
  • [16] HRAFVVOE make logo configurable via HYDRA_LOGO env var
  • [17] ZHHFJ4K5 Simplify the tree implementation a bit more

Change contents

  • replacement in src/root/deps.tt at line 19
    [3.165][2.253:317]()
    <span class="dep-tree-line" id="[% done.${node.path} %]">
    [3.165]
    [2.317]
    <span id="[% done.${node.path} %]"><span class="dep-tree-line">
  • replacement in src/root/deps.tt at line 28
    [2.749][2.749:763]()
    </span>
    [2.749]
    [3.2139]
    </span></span>
  • replacement in src/root/deps.tt at line 38
    [3.2293][3.2293:2350]()
    <a name="runtime"></a>
    <h2>Runtime dependency graph</h2>
    [3.2293]
    [3.2350]
    <h2 id="runtime">Runtime dependency graph</h2>
  • replacement in src/root/deps.tt at line 47
    [3.2320][3.2320:2345](),[3.2345][3.2484:2521]()
    <a name="buildtime"></a>
    <h2>Build-time dependency graph</h2>
    [3.2320]
    [3.2345]
    <h2 id="buildtime">Build-time dependency graph</h2>
  • replacement in src/root/layout.tt at line 17
    [3.1][3.1:190](),[3.190][3.6364:6638](),[3.6364][3.6364:6638]()
    <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.css" type="text/css" />
    <link rel="stylesheet" href="/static/bootstrap/css/bootstrap-responsive.css" type="text/css" />
    <script type="text/javascript" src="/static/bootstrap/js/bootstrap-dropdown.js"></script>
    <script type="text/javascript" src="/static/bootstrap/js/bootstrap-tab.js"></script>
    <script type="text/javascript" src="/static/bootstrap/js/bootstrap-alert.js"></script>
    [3.1]
    [3.191]
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">
    <script type="text/javascript" src="/static/bootstrap/js/bootstrap.min.js"></script>
  • replacement in src/root/layout.tt at line 98
    [3.151][3.7185:7222](),[3.708][3.7185:7222](),[3.7185][3.7185:7222]()
    <div class="nav-collapse">
    [3.708]
    [3.7222]
    <div class="nav-collapse collapse">
  • replacement in src/root/layout.tt at line 100
    [3.7258][3.7258:7297]()
    </div><!--/.nav-collapse -->
    [3.7258]
    [3.7297]
    </div>
  • replacement in src/root/static/css/hydra.css at line 2
    [3.376][3.376:576]()
    padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
    padding-bottom: 0px; /* 60px to make the container go all the way to the bottom of the topbar */
    [3.376]
    [3.152]
    padding-top: 60px;
  • replacement in src/root/static/css/hydra.css at line 27
    [2.765][2.765:824]()
    span.dep-tree-line:target {
    background-color: #f8f8e0;
    [2.765]
    [2.824]
    span:target > span.dep-tree-line {
  • edit in src/root/static/css/hydra.css at line 29
    [2.848]
    [2.848]
    font-weight: bold;
  • edit in src/root/static/css/hydra.css at line 31
    [2.850]
    :target {
    padding-top: 40px;
    margin-top: -40px;
    display: inline-block; /* required for webkit browsers */
    }
  • edit in src/root/topbar.tt at line 1
    [3.6671][3.10449:10450]()