diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..5c98b42 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,2 @@ +# Default ignored files +/workspace.xml \ No newline at end of file diff --git a/.idea/bootbox.iml b/.idea/bootbox.iml new file mode 100644 index 0000000..6d013af --- /dev/null +++ b/.idea/bootbox.iml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..8656114 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..da5d352 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/templates/formatting.ipxe.j2 b/app/templates/formatting.ipxe.j2 index b53da45..1d93c63 100644 --- a/app/templates/formatting.ipxe.j2 +++ b/app/templates/formatting.ipxe.j2 @@ -1,7 +1,7 @@ #!ipxe {# Set background image and border #} -console --picture {{ request.url_root }}ipxe/bg.png --left 32 --right 32 --top 32 --bottom 48 +console --picture {{ request.url_root }}media/bg.png --left 32 --right 32 --top 32 --bottom 48 {# Set colours #} {# https://ipxe.org/cmd/colour diff --git a/app/views.py b/app/views.py index 4abcc8e..95394a5 100644 --- a/app/views.py +++ b/app/views.py @@ -10,6 +10,8 @@ from app import app ua_re = re.compile(r'^iPXE/v[0-9.]+') +# TODO: NBI support? https://github.com/bruienne/bsdpy +# http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2010q1/003638.html def getReqInfo(): d = {} diff --git a/bin/update.py b/bin/update.py new file mode 100644 index 0000000..63f77b6 --- /dev/null +++ b/bin/update.py @@ -0,0 +1,2 @@ +#!/usr/bin/env python3 +