bootbox/app/templates/formatting.ipxe.j2
2019-11-19 07:14:45 -05:00

34 lines
1.4 KiB
Django/Jinja

#!ipxe
{# Set background image and border #}
console --picture {{ request.url_root }}media/bg.png --left 32 --right 32 --top 32 --bottom 48
{# Set colours #}
{#
https://ipxe.org/cmd/colour
Colour index Basic ANSI colour
0 0 (black)
1 1 (red)
2 2 (green)
3 3 (yellow)
4 15 (blue or transparent)1)
5 5 (magenta)
6 6 (cyan)
7 7 (white)
9 9 (default)2)
##
https://ipxe.org/cmd/cpair
Pair index Usage Foreground colour index Background colour index
0 Default colour 9 (default: white) 9 (default: black or transparent)
1 Normal user interface text 7 (white) 4 (blue or transparent)
2 Highlighted text 7 (white) 1 (red)
3 Separators 6 (cyan) 4 (blue or transparent)
4 Editable text 0 (black) 6 (cyan)
5 Error messages 7 (white) 1 (red)
6 Help URLs 6 (cyan) 4 (blue or transparent)
7 PXE menu selection 0 (black) 7 (white)
#}
cpair --foreground 0 --background 9 0{# Default #}
cpair --foreground 0 --background 4 1{# UI Text #}
{% block menu %}
{% endblock %}