logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

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