qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

index.html.j2 (4941B)


      1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
      2 <html>
      3 
      4 <head>
      5     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      6     <link rel="icon" href="https://qmk.fm/logo.png" />
      7     <style type="text/css">
      8         {{ ansi2html_styles }}
      9 
     10         body {
     11             color: #FFF;
     12             background-color: #111;
     13         }
     14 
     15         h3 {
     16             font-family: sans-serif;
     17             margin-top: 0;
     18         }
     19 
     20         a {
     21             color: #00e1ff;
     22             text-decoration: none;
     23         }
     24 
     25         a:hover {
     26             color: #f700ff;
     27             text-decoration: underline;
     28         }
     29 
     30         a:visited {
     31             color: #00e1ff;
     32         }
     33 
     34         .build-target {
     35             background-color: #333;
     36             font-family: monospace;
     37             padding-left: 0.3em;
     38             padding-right: 0.3em;
     39         }
     40 
     41         .binary-link {
     42             margin: 0;
     43             margin-top: 0.25em;
     44         }
     45 
     46         .container {
     47             background-color: #222;
     48             padding: 2.0em;
     49             margin: 2.0em;
     50             border-radius: 2.0em;
     51         }
     52 
     53         .header-container {
     54             display: table-cell;
     55             padding-left: 1.5em;
     56             vertical-align: middle;
     57             font-family: sans-serif;
     58         }
     59 
     60         .header-container div:not(:first-child) {
     61             margin-top: 0.25em;
     62         }
     63     </style>
     64 </head>
     65 
     66 <body class="" style="font-size: normal;">
     67     <div style="float: left">
     68         <div class="container">
     69             <div style="display: table-cell; vertical-align: middle;">
     70                 <a href="https://qmk.fm/"><img src="https://qmk.fm/badge-community-dark.svg" style="width: 30em;" /></a>
     71             </div>
     72             <div class="header-container">
     73                 <div>
     74                     <span style="font-size: 175%; font-weight: bold;">CI Build {% if failures | length > 0 %}&#10060;{% else %}&#9989;{% endif %}</span>
     75                 </div>
     76                 <div>
     77                     <span style="font-size: 100%; font-family: monospace;">{{ git_describe }}</span>
     78                 </div>
     79                 <div>
     80                     <span style="font-size: 100%; font-family: monospace;">{{ git_revision }}</span>
     81                 </div>
     82                 <div>
     83                     <span style="font-size: 80%; font-weight: bold; color: {% if failures | length > 0 %}#F00{% else %}#0F0{% endif %};">{{ failures | length }} failure{% if failures | length != 1 %}s{% endif %}</span>
     84                 </div>
     85                 <div>
     86                     <span style="font-size: 80%">
     87                     {% if binaries | length > 0 %}<a href="#firmwares">Firmwares</a> | {% endif %}
     88                     <a href="#commit_info">Commit info</a>
     89                     {% if failures | length > 0 %} | <a href="#failure_logs">Failure Logs</a>{% endif %}
     90                     </span>
     91                 </div>
     92             </div>
     93         </div>
     94         <a name="commit_info"></a>
     95         <div class="container">
     96             <h3>Git commit</h3>
     97             <div class="body_foreground body_background"
     98                 style="display: table-cell; padding: 1.0em; border-radius: 1.0em;">
     99                 <pre class="ansi2html-content">{{ git_log | ansi2html }}</pre>
    100             </div>
    101         </div>
    102         {% if failures | length > 0 %}
    103         <a name="failure_logs"></a>
    104         <div class="container">
    105             <h3>Build failure logs</h3>
    106             <ul>
    107                 {% for failure in failures %}
    108                 <li><a style="font-family: monospace;" href="#build_failure_{{ failure.keyboard }}_{{ failure.keymap }}">{{ failure.keyboard }}:{{ failure.keymap }}</a></li>
    109                 {% endfor %}
    110             </ul>
    111         </div>
    112         {% for failure in failures %}
    113         <a name="build_failure_{{ failure.keyboard }}_{{ failure.keymap }}"></a>
    114         <div class="container">
    115             <h3>Build failure &mdash; <span class="build-target">{{ failure.keyboard }}:{{ failure.keymap }}</span></h3>
    116             <div class="body_foreground body_background"
    117                 style="display: table-cell; padding: 1.0em; border-radius: 1.0em;">
    118                 <pre class="ansi2html-content">{{ failure.stdout | ansi2html }}</pre>
    119             </div>
    120         </div>
    121         {% endfor %}
    122         {% endif %}
    123     </div>
    124     {% if binaries | length > 0 %}
    125     <div style="float: right">
    126         <a name="firmwares"></a>
    127         <div class="container">
    128             <h3>Firmware downloads</h3>
    129             <div class="body_foreground body_background"
    130                 style="display: table-cell; padding: 1.0em; border-radius: 1.0em;">
    131                 {% for binary in binaries %}
    132                 <p class="binary-link" style="font-family: monospace;"><a href="{{ binary.name }}">{{ binary.name }}</a></p>
    133                 {%- endfor %}
    134             </div>
    135         </div>
    136     </div>
    137     {% endif %}
    138 </body>
    139 
    140 </html>