index.html.j2 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. #!ipxe
  2. #### {{ boot_domain }} initial loader ####
  3. #### see https://netboot.xyz for more information ####
  4. {% if bootloader_https_enabled | bool %}
  5. set conn_type https
  6. chain --autofree https://{{ boot_domain }}/menu.ipxe || echo HTTPS failed... attempting HTTP...
  7. {% endif %}
  8. {% if bootloader_http_enabled | bool %}
  9. set conn_type http
  10. chain --autofree http://{{ boot_domain }}/menu.ipxe || echo HTTP failed, localbooting...
  11. {% endif %}
  12. exit
  13. <!DOCTYPE html>
  14. <html lang="en">
  15. <head>
  16. <title>{{ site_name }} BootLoaders - Powered by netboot.xyz</title>
  17. </head>
  18. <style>
  19. table, th, td {
  20. padding: 5px;
  21. border: 1px solid black;
  22. }
  23. </style>
  24. <body>
  25. <div style="font-family: monospace, fixed; font-weight: bold;">
  26. {% if index_title.stdout is defined %}
  27. {{ index_title.stdout }}
  28. {% else %}
  29. <h1>{{ site_name }}</h1>
  30. {% endif %}
  31. <p>
  32. Version: {{ boot_version }}<br>
  33. Powered by <a href=https://netboot.xyz>netboot.xyz</a>
  34. </p>
  35. <p>Legacy (PCBIOS) iPXE Bootloaders</p>
  36. <table style="width:100%">
  37. <!-- table header -->
  38. <tr>
  39. <th> Type </th>
  40. <th> Bootloader </th>
  41. <th> Description </th>
  42. </tr>
  43. <!-- table rows -->
  44. {% for item in bootloaders.legacy %}
  45. <tr>
  46. <td> {{ item.type }} </td>
  47. <td> <a href="ipxe/{{ site_name }}{{ item.output_bin }}">{{ site_name }}{{ item.output_bin }}</a> </td>
  48. <td> {{ item.desc }} </td>
  49. </tr>
  50. {% endfor %}
  51. </table>
  52. <p>UEFI iPXE Bootloaders</p>
  53. <table style="width:100%">
  54. <!-- table header -->
  55. <tr>
  56. <th> Type </th>
  57. <th> Bootloader </th>
  58. <th> Description </th>
  59. </tr>
  60. <!-- table rows -->
  61. {% for item in bootloaders.uefi %}
  62. <tr>
  63. <td> {{ item.type }} </td>
  64. <td> <a href="ipxe/{{ site_name }}{{ item.output_bin }}">{{ site_name }}{{ item.output_bin }}</a> </td>
  65. <td> {{ item.desc }} </td>
  66. </tr>
  67. {% endfor %}
  68. </table>
  69. <p>Raspberry Pi iPXE Bootloaders - Experimental</p>
  70. <table style="width:100%">
  71. <!-- table header -->
  72. <tr>
  73. <th> Type </th>
  74. <th> Bootloader </th>
  75. <th> Description </th>
  76. </tr>
  77. <!-- table rows -->
  78. {% for item in bootloaders.rpi %}
  79. <tr>
  80. <td> {{ item.type }} </td>
  81. <td> <a href="ipxe/{{ site_name }}{{ item.output_bin }}">{{ site_name }}{{ item.output_bin }}</a> </td>
  82. <td> {{ item.desc }} </td>
  83. </tr>
  84. {% endfor %}
  85. </table>
  86. <p>Checksums<p>
  87. <a href="ipxe/{{ site_name }}-sha256-checksums.txt">SHA256 checksums</a>
  88. </div>
  89. </body>
  90. </html>