From f36c4e9948f2b8b6ace787ea7a6e115712b96fe1 Mon Sep 17 00:00:00 2001 From: brent s Date: Tue, 19 Nov 2019 07:14:45 -0500 Subject: [PATCH] change path of image --- .idea/.gitignore | 2 ++ .idea/bootbox.iml | 19 +++++++++++++++++++ .../inspectionProfiles/profiles_settings.xml | 6 ++++++ .idea/misc.xml | 7 +++++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ app/templates/formatting.ipxe.j2 | 2 +- app/views.py | 2 ++ bin/update.py | 2 ++ 9 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/bootbox.iml create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 bin/update.py 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 +