index.html.j2 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. <!DOCTYPE html>
  13. <html lang="en">
  14. <head>
  15. <title>{{ site_name }} BootLoaders - Powered by netboot.xyz</title>
  16. </head>
  17. <style>
  18. table, th, td {
  19. padding: 5px;
  20. border: 1px solid black;
  21. }
  22. </style>
  23. <body>
  24. <div style="font-family: monospace, fixed; font-weight: bold;">
  25. <span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;_&#160;&#160;&#160;_&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;_&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><br />
  26. <span style="">&#160;_&#160;__&#160;&#160;&#160;___|&#160;|_|&#160;|__&#160;&#160;&#160;___&#160;&#160;&#160;___&#160;|&#160;|_&#160;&#160;__&#160;&#160;___&#160;&#160;&#160;_&#160;____</span><br />
  27. <span style="">|&#160;&#39;_&#160;\&#160;/&#160;_&#160;\&#160;__|&#160;&#39;_&#160;\&#160;/&#160;_&#160;\&#160;/&#160;_&#160;\|&#160;__|&#160;\&#160;\/&#160;/&#160;|&#160;|&#160;|_&#160;&#160;/</span><br />
  28. <span style="">|&#160;|&#160;|&#160;|&#160;&#160;__/&#160;|_|&#160;|_)&#160;|&#160;(_)&#160;|&#160;(_)&#160;|&#160;|_&#160;_&#160;&gt;&#160;&#160;&lt;|&#160;|_|&#160;|/&#160;/&#160;</span><br />
  29. <span style="">|_|&#160;|_|\___|\__|_.__/&#160;\___/&#160;\___/&#160;\__(_)_/\_\\__,&#160;/___|</span><br />
  30. <span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;|___/&#160;&#160;&#160;&#160;&#160;</span><br />
  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 bootloader_name in bootloader_disks %}
  45. {% for item in bootloaders.legacy %}
  46. <tr>
  47. <td> {{ item.type }} </td>
  48. <td> <a href="ipxe/{{ bootloader_name }}{{ item.output_bin }}">{{ bootloader_name }}{{ item.output_bin }}</a> </td>
  49. <td> {{ item.desc }} </td>
  50. </tr>
  51. {% endfor %}
  52. {% endfor %}
  53. </table>
  54. <p>UEFI iPXE Bootloaders</p>
  55. <table style="width:100%">
  56. <!-- table header -->
  57. <tr>
  58. <th> Type </th>
  59. <th> Bootloader </th>
  60. <th> Description </th>
  61. </tr>
  62. <!-- table rows -->
  63. {% for bootloader_name in bootloader_disks %}
  64. {% for item in bootloaders.uefi %}
  65. <tr>
  66. <td> {{ item.type }} </td>
  67. <td> <a href="ipxe/{{ bootloader_name }}{{ item.output_bin }}">{{ bootloader_name }}{{ item.output_bin }}</a> </td>
  68. <td> {{ item.desc }} </td>
  69. </tr>
  70. {% endfor %}
  71. {% endfor %}
  72. </table>
  73. </div>
  74. </body>
  75. </html>