diff --git a/web/Makefile b/web/Makefile index 5f84322..bdadca9 100644 --- a/web/Makefile +++ b/web/Makefile @@ -1,6 +1,6 @@ .PHONY: all upload -all: ../index.html +all: ../test.html # # remove once a better place for index.html has been found @@ -12,3 +12,6 @@ upload: ../index.html ../index.html: style.sh index.sh . ./index.sh >$@ || { rm -f $@; exit 1; } + +../test.html: style.sh index.sh + BASE=./ . ./index.sh >$@ || { rm -f $@; exit 1; } diff --git a/web/index.sh b/web/index.sh index 58594ce..05ab5e5 100755 --- a/web/index.sh +++ b/web/index.sh @@ -44,7 +44,7 @@ texts3 "1.5 h" "10 h" "53 h" scan_set ben-bottom-nobat "Battery and cover removed. Bottom up." images2 -under_consideration +planned texts3 "4 h" "11.5 h" "53 h" scan_set ben-top "Complete device. From the top." @@ -91,7 +91,7 @@ texts3 "4 h" "12 h" "58 h" scan_set ben-dispbase-back "Display shell, base structure. Back side." images2 -planned +in_progress texts3 "1 h" "3.75 h" "50 h" # ----------------------------------------------------------------------------- diff --git a/web/style.sh b/web/style.sh index 182e386..a4911b0 100644 --- a/web/style.sh +++ b/web/style.sh @@ -1,6 +1,8 @@ #!/bin/sh +if [ -z "$BASE" ]; then BASE=http://projects.qi-hardware.com/index.php/p/ben-scans/source/tree/master/ +fi # ----- section ---------------------------------------------------------------