Update jobset comparison button

[?]
Apr 8, 2021, 3:11 PM
RVOAWGSLTSGIB6LBTMZTU7SYBVYOVDI34L4ETHKJIV4OWNF7KAEAC

Dependencies

  • [2] GXUWB5B7 Sort jobsets by name
  • [3] MOTGJLT2 Fix HTML error
  • [4] ZCO73ATU Add fontawesome as required by newer bootstrap
  • [5] DE2DNCOI Allow comparing an evaluation with an arbitrary other evaluation
  • [6] Q4VDOA76 Replace last 5 builds on jobset page with last 5 evaluations. Moved hide/unhide and evaluate options to jobset topmenu.
  • [7] 6KIJX24R Get rid of unnecessary [%- and -%] tags
  • [8] NIAYAEM2 Add a button to compare a jobset eval against other jobsets
  • [9] STA7J52V Show some eval stats
  • [10] JARRBLZD Bootstrapify the Hydra forms (except the project and jobset edit pages)
  • [11] QD3NI3JY Allow comparing an eval against the jobset one day/week/month before
  • [12] L7NUCXKS Show new and removed jobs
  • [13] U4TD3AIQ Add support for viewing jobset evaluations

Change contents

  • replacement in src/root/jobset-eval.tt at line 4
    [5.4994][5.0:35](),[5.35][4.4949194:4949316](),[4.4949316][5.171:200](),[5.171][5.171:200](),[5.200][3.0:65](),[3.65][5.306:336](),[5.306][5.306:336](),[5.336][3.66:381]()
    <div class="btn-group pull-right">
    <a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#"><i class="fas fa-eye"></i> Compare to...</a>
    <ul class="dropdown-menu">
    <li><a href="?">Preceding evaluation in this jobset</a></li>
    <li class="divider"></li>
    <li><a href="?compare=-[% 24 * 60 * 60 %]">This jobset <strong>one day</strong> earlier</a></li>
    <li><a href="?compare=-[% 7 * 24 * 60 * 60 %]">This jobset <strong>one week</strong> earlier</a></li>
    <li><a href="?compare=-[% 31 * 24 * 60 * 60 %]">This jobset <strong>one month</strong> earlier</a></li>
    [5.4994]
    [5.274]
    <div class="dropdown">
    <button class="btn btn-primary dropdown-toggle float-right" data-toggle="dropdown"><i class="fas fa-eye"></i> Compare to...</button>
    <div class="dropdown-menu dropdown-menu-right">
    <a class="dropdown-item" href="?">Preceding evaluation in this jobset</a>
    <div class="dropdown-divider"></div>
    <a class="dropdown-item" href="?compare=-[% 24 * 60 * 60 %]">This jobset <strong>one day</strong> earlier</a>
    <a class="dropdown-item" href="?compare=-[% 7 * 24 * 60 * 60 %]">This jobset <strong>one week</strong> earlier</a>
    <a class="dropdown-item" href="?compare=-[% 31 * 24 * 60 * 60 %]">This jobset <strong>one month</strong> earlier</a>
  • replacement in src/root/jobset-eval.tt at line 13
    [5.316][5.316:348]()
    <li class="divider"></li>
    [5.316]
    [2.0]
    <div class="dropdown-divider"></div>
  • replacement in src/root/jobset-eval.tt at line 15
    [2.80][5.415:516](),[5.415][5.415:516]()
    <li><a href="?compare=[% j.name %]">Jobset <tt>[% project.name %]:[% j.name %]</tt></a></li>
    [2.80]
    [5.516]
    <a class="dropdown-item" href="?compare=[% j.name %]">Jobset <tt>[% project.name %]:[% j.name %]</tt></a>
  • replacement in src/root/jobset-eval.tt at line 18
    [5.551][5.551:559]()
    </ul>
    [5.551]
    [5.559]
    </div>