diff options
Diffstat (limited to 'www/photo.causal.agency/trips.html')
-rw-r--r-- | www/photo.causal.agency/trips.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/www/photo.causal.agency/trips.html b/www/photo.causal.agency/trips.html index 6179408c..547f7ba2 100644 --- a/www/photo.causal.agency/trips.html +++ b/www/photo.causal.agency/trips.html @@ -37,8 +37,12 @@ input[type="number"] { width: 5ch; } <datalist id="films"> <option>Harman Phoenix 200</option> - <option>Ilford HP5 Plus 400</option> <option>Shanghai Color 400</option> + <option>CineStill 800T</option> + <option>Ilford HP5 Plus 400</option> + <option>Ilford FP4 Plus 125</option> + <option>Ilford Delta 100</option> + <option>Fomapan Creative 200</option> <option>Fomapan Action 400</option> </datalist> </section> @@ -237,6 +241,10 @@ function setTripBody() { option.appendChild(document.createTextNode(lensString(lens))); select.appendChild(option); } + let lastTrip = trips.findLast(trip => trip.body == bodyName); + if (lastTrip) { + select.value = lastTrip.lens; + } let roll = rolls[body.name]; if (roll) { document.getElementById("trip-film").value = roll.film; |