Factor out the tree rendering

[?]
Feb 19, 2013, 4:22 PM
KXO3EUSV7SMLXNVDHUUL2M64T44ECQLD4QFS52SF6YSI56KZRWWAC

Dependencies

  • [2] KT2SLXPU Move <style> to hydra.css
  • [3] O3CGTZFG Simplify the log tree implementation a bit
  • [4] OEPUOUNB Using twitter bootstrap for more consistent looks for Hydra
  • [5] D5QIOJGP * Move everything up one directory.
  • [6] YTZOC7C5 * Editing of jobset inputs.
  • [7] ZI535LI6 * hydra: 'new' UI for project/jobset/job/build
  • [8] NOSDBMWD Remove comments, re-add logo.
  • [9] BD3GRK4B * Get rid of "positive failures" and separate log phases.
  • [10] J5UVLXOK * Start of a basic Catalyst web interface.
  • [11] FKK2ZSTL * Split the CSS.
  • [12] US27ZTX5 * HydraFrontend -> Hydra.
  • [13] BA46C5LN * Pretty-print the logs.
  • [14] GN3JXNQS
  • [15] ZWCTAZGL added newsitems, added some admin options to clear various caches.
  • [16] YNHNVV3H Making pretty printed log look normal again. Issue #6
  • [17] 3JCIP7EZ Use a span instead of a div in the pretty logs
  • [18] ELABMHJI * hydra: layout changes
  • [19] RP6WDKE2

Change contents

  • edit in src/root/layout.tt at line 24
    [2.267]
    [2.267]
    <link rel="stylesheet" href="/static/css/tree.css" type="text/css" />
  • edit in src/root/static/css/hydra.css at line 4
    [2.576][2.576:579](),[2.579][4.10353:10448](),[4.8691][4.10353:10448]()
    }
    .logTreeToggle {
    text-decoration: none;
    font-family: monospace;
    font-size: larger;
  • edit in src/root/static/css/logfile.css at line 5
    [4.141][3.370:371]()
  • edit in src/root/static/css/logfile.css at line 6
    [4.142][3.372:394](),[3.394][4.638:669](),[4.638][4.638:669](),[4.686][4.686:713](),[4.753][4.753:756](),[4.756][3.395:440](),[3.440][4.801:825](),[4.801][4.801:825](),[4.876][4.876:904](),[4.904][3.441:542](),[4.194][4.1008:1011](),[3.542][4.1008:1011](),[4.1008][4.1008:1011](),[4.1011][3.543:627](),[3.627][4.1021:1062](),[4.1021][4.1021:1062](),[4.1062][3.628:744](),[3.744][4.1117:1237](),[4.1117][4.1117:1237](),[4.1237][3.745:841](),[3.841][4.1267:1305](),[4.1267][4.1267:1305](),[4.1305][3.842:938](),[3.938][4.1305:1309](),[4.1305][4.1305:1309]()
    ul.tree, ul.subtree {
    padding: 0;
    margin: 0;
    list-style-type: none;
    }
    /* Indent each tree level. */
    li.tree-line {
    position: relative;
    padding-left: 2.0em;
    }
    li.tree-line:last-child {
    padding-left: 2.1em; /* for the 0.1em border-left in the last child */
    }
    /* Draw vertical tree lines next to all children except the last. */
    li.tree-line {
    border-left: 0.1em solid #6185a0;
    }
    li.tree-line:last-child {
    border-left: 0;
    }
    /* Draw horizontal tree lines to all children. */
    span.tree-conn {
    position: absolute;
    height: 0.65em;
    left: 0em;
    width: 1.5em;
    border-bottom: 0.1em solid #6185a0;
    }
    /* Draw the vertical tree line to the last child. */
    li.tree-line:last-child > span.tree-conn {
    border-left: 0.1em solid #6185a0;
    }
    .tree-toggle {
    text-decoration: none;
    font-family: monospace;
    font-size: larger;
    }
  • edit in src/root/static/css/logfile.css at line 18
    [4.1471][4.1471:1560]()
    /* background: url('http://losser.st-lab.cs.uu.nl/~mbravenb/menuback.png') repeat; */
  • edit in src/root/static/css/logfile.css at line 33
    [4.1893][4.1893:1894]()
  • file addition: tree.css (----------)
    [4.2111]
    ul.tree, ul.subtree {
    padding: 0;
    margin: 0;
    list-style-type: none;
    }
    /* Indent each tree level. */
    li.tree-line {
    position: relative;
    padding-left: 2.0em;
    }
    li.tree-line:last-child {
    padding-left: 2.1em; /* for the 0.1em border-left in the last child */
    }
    /* Draw vertical tree lines next to all children except the last. */
    li.tree-line {
    border-left: 0.1em solid #6185a0;
    }
    li.tree-line:last-child {
    border-left: 0;
    }
    /* Draw horizontal tree lines to all children. */
    span.tree-conn {
    position: absolute;
    height: 0.65em;
    left: 0em;
    width: 1.5em;
    border-bottom: 0.1em solid #6185a0;
    }
    /* Draw the vertical tree line to the last child. */
    li.tree-line:last-child > span.tree-conn {
    border-left: 0.1em solid #6185a0;
    }
    .tree-toggle {
    text-decoration: none;
    font-family: monospace;
    font-size: larger;
    }