index.html.j2 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. {% if generate_disks_hybrid == true %}
  36. <p>Hybrid iPXE Bootloaders - Legacy/EFI</p>
  37. <table style="width:100%">
  38. <!-- table header -->
  39. <tr>
  40. <th> Type </th>
  41. <th> Bootloader </th>
  42. <th> Description </th>
  43. </tr>
  44. <!-- table rows -->
  45. {% for item in bootloaders.hybrid %}
  46. <tr>
  47. <td> {{ item.type }} </td>
  48. <td> <a href="ipxe/{{ site_name }}{{ item.output_bin }}">{{ site_name }}{{ item.output_bin }}</a> </td>
  49. <td> {{ item.desc }} </td>
  50. </tr>
  51. {% endfor %}
  52. </table>
  53. {% endif %}
  54. {% if generate_disks_legacy == true %}
  55. <p>Legacy (PCBIOS) iPXE Bootloaders</p>
  56. <table style="width:100%">
  57. <!-- table header -->
  58. <tr>
  59. <th> Type </th>
  60. <th> Bootloader </th>
  61. <th> Description </th>
  62. </tr>
  63. <!-- table rows -->
  64. {% for item in bootloaders.legacy %}
  65. <tr>
  66. <td> {{ item.type }} </td>
  67. <td> <a href="ipxe/{{ site_name }}{{ item.output_bin }}">{{ site_name }}{{ item.output_bin }}</a> </td>
  68. <td> {{ item.desc }} </td>
  69. </tr>
  70. {% endfor %}
  71. </table>
  72. {% endif %}
  73. {% if generate_disks_efi == true %}
  74. <p>UEFI iPXE Bootloaders</p>
  75. <table style="width:100%">
  76. <!-- table header -->
  77. <tr>
  78. <th> Type </th>
  79. <th> Bootloader </th>
  80. <th> Description </th>
  81. </tr>
  82. <!-- table rows -->
  83. {% for item in bootloaders.uefi %}
  84. <tr>
  85. <td> {{ item.type }} </td>
  86. <td> <a href="ipxe/{{ site_name }}{{ item.output_bin }}">{{ site_name }}{{ item.output_bin }}</a> </td>
  87. <td> {{ item.desc }} </td>
  88. </tr>
  89. {% endfor %}
  90. </table>
  91. {% endif %}
  92. {% if generate_disks_arm == true %}
  93. <p>ARM64 iPXE Bootloaders - Experimental</p>
  94. <table style="width:100%">
  95. <!-- table header -->
  96. <tr>
  97. <th> Type </th>
  98. <th> Bootloader </th>
  99. <th> Description </th>
  100. </tr>
  101. <!-- table rows -->
  102. {% for item in bootloaders.arm %}
  103. <tr>
  104. <td> {{ item.type }} </td>
  105. <td> <a href="ipxe/{{ site_name }}{{ item.output_bin }}">{{ site_name }}{{ item.output_bin }}</a> </td>
  106. <td> {{ item.desc }} </td>
  107. </tr>
  108. {% endfor %}
  109. </table>
  110. {% endif %}
  111. {% if generate_disks_rpi == true %}
  112. <p>Raspberry Pi iPXE Bootloaders - Experimental</p>
  113. <table style="width:100%">
  114. <!-- table header -->
  115. <tr>
  116. <th> Type </th>
  117. <th> Bootloader </th>
  118. <th> Description </th>
  119. </tr>
  120. <!-- table rows -->
  121. {% for item in bootloaders.rpi %}
  122. <tr>
  123. <td> {{ item.type }} </td>
  124. <td> <a href="ipxe/{{ site_name }}{{ item.output_bin }}">{{ site_name }}{{ item.output_bin }}</a> </td>
  125. <td> {{ item.desc }} </td>
  126. </tr>
  127. {% endfor %}
  128. </table>
  129. {% endif %}
  130. <p>Checksums<p>
  131. <a href="ipxe/{{ site_name }}-sha256-checksums.txt">SHA256 checksums</a>
  132. </div>
  133. </body>
  134. </html>