diff --git a/templates/plainbase.html b/templates/plainbase.html new file mode 100644 index 0000000..64b1d20 --- /dev/null +++ b/templates/plainbase.html @@ -0,0 +1,12 @@ +{% autoescape off %} + +
+ +Notes:
+Cave Number | Name | Finished | Survey Data | Survey Drawn | Marked | Photo | Position | Location |
---|---|---|---|---|---|---|---|---|
{{ cave }} | +{{ cave.official_name|safe }} | +{{ cave.kataster_code }} | +{{ cave.hassurveydata }} | +{{ cave.hassurvey }} | +{{ cave.caveandentrance_set.all.0.entrance.marking_val }} | +{{ cave.caveandentrance_set.all.0.entrance.has_photo }} | +{{ cave.caveandentrance_set.all.0.entrance.find_location }} | +{% if cave.caveandentrance_set.all.0.entrance.location_description %}Location: {{ cave.caveandentrance_set.all.0.entrance.location_description|safe }}{% endif %} + {% if cave.caveandentrance_set.all.0.entrance.map_description %}Map: {{ cave.caveandentrance_set.all.0.entrance.map_description|safe }}{% endif %} + {% if cave.caveandentrance_set.all.0.entrance.approach %}Approach: {{ cave.caveandentrance_set.all.0.entrance.approach|safe }}{% endif %} | +
{{ cave }} | +{{ cave.official_name|safe }} | +{{ cave.kataster_code }} | +{{ cave.hassurveydata }} | +{{ cave.hassurvey }} | ++ | + | + | + |
{{ caveandentrance.entrance_letter}} | +{{ caveandentrance.entrance.name|safe }} | ++ | + | + | {{ caveandentrance.entrance.marking_val }} | +{{ caveandentrance.entrance.has_photo }} | +{{ caveandentrance.entrance.find_location|safe }} | +{% if cave.caveandentrance_set.all.0.entrance.location_description %}Location: {{ cave.caveandentrance_set.all.0.entrance.location_description|safe }}{% endif %} + {% if cave.caveandentrance_set.all.0.entrance.map_description %}Map: {{ cave.caveandentrance_set.all.0.entrance.map_description|safe }}{% endif %} + {% if cave.caveandentrance_set.all.0.entrance.approach %}Approach: {{ cave.caveandentrance_set.all.0.entrance.approach|safe }}{% endif %} | +