Html程序  |  95行  |  3.97 KB

<!doctype html>
<html>
  <!--
    Copyright 2017 The Android Open Source Project

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
  -->
  <head>
    <meta charset="utf-8">
    <title>Perfetto CI</title>
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400" rel="stylesheet">
    <link href="static/icon.png" rel="shortcut icon">
    <style type="text/css">
      html { font-family: 'Source Sans Pro', sans-serif; font-size: 13px; font-weight: 300; padding: 0; margin: 0; }
      body { padding: 0; margin: 0; }
      header { background: rgb(212, 233, 169); width: 100%; padding: 0 20px; box-sizing: border-box; overflow: hidden; }
      #travis-badge { float: right; line-height: 80px; }
      h1 { font-size: 32px; font-weight: 300; padding-left: 60px; line-height: 50px; background-image: url('static/icon.png'); background-repeat: no-repeat; background-size: contain; }
      h2 { margin: 20px; font-size: 20px; font-weight: 400; color: #333; }
      table { width: 100%; }
      table tbody td:first-child { padding-left: 20px !important; }
      thead { background: #fafafa; color: #111; font-size: 14px; font-weight: 400; }
      thead tr:nth-child(n+3) td { font-size: 10px; }
      thead tr:nth-child(4) td { width: 20px; }
      thead td { padding: 2px 5px; text-align: center; border: 1px solid #ddd; }
      a { color: black; text-decoration: none; }
      a:hover { text-decoration: underline; }
      #cls td { border-bottom: 1px solid #eee; font-size: 13px; font-weight: 300; line-height: 2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
      #cls tr:hover { background: #eef; }
      #cls td:nth-child(n+5) { text-align: center; }
      #cls td.job i { font-size: 16px; }
      #cls td.job { color: #edde3f; }
      #cls td.job .finished { color: #39aa56; }
      #cls td.job .errored { color: #db4545; }
      #cls tr.MERGED td:not(.job), #cls tr.MERGED td:not(.job) a { color: #BBB ; }
    </style>
  </head>
  <body>
    <header>
      <div id="travis-badge">
        <a href="https://travis-ci.org/catapult-project/perfetto/builds">
          <img src="https://travis-ci.org/catapult-project/perfetto.svg?branch=master">
        </a>
      </div>
      <h1>Perfetto Continuous Integration</h1>
    </header>

    <h2>Recent CLs</h2>
    <table>
      <thead>
        <tr>
          <td rowspan="4">Subject</td>
          <td rowspan="4">Status</td>
          <td rowspan="4">Owner</td>
          <td rowspan="4">Updated</td>
          <td colspan="10">Bots</td>
        </tr>
        <tr>
          <td colspan="6">linux</td>
          <td colspan="2">android</td>
        </tr>
        <tr>
          <td>gcc7</td>
          <td colspan="5">clang</td>
          <td colspan="2">clang-arm</td>
        </tr>
        <tr id="cls_header">
          <td id="linux_trusty-gcc7-x86_64-release">rel</td>
          <td id="linux_trusty-clang-x86_64-debug">dbg</td>
          <td id="linux_trusty-clang-x86_64-tsan">tsan</td>
          <td id="linux_trusty-clang-x86_64-msan">msan</td>
          <td id="linux_trusty-clang-x86_64-ubsan_asan_lsan">{a,l,ub}san</td>
          <td id="linux_trusty-clang-x86_64-libfuzzer">fuzzer</td>
          <td id="android-clang-arm-release">rel</td>
          <td id="android-clang-arm-asan">asan</td>
        </tr>
      </thead>
      <tbody id="cls">
      </tbody>
    </table>
  </body>
</html>
<script type="text/javascript" src="static/script.js"></script>