forked from expo/troggle
tabs to spaces
This commit is contained in:
@@ -1,12 +1,14 @@
|
|||||||
{% extends "cavebase.html" %}
|
{% extends "cavebase.html" %}
|
||||||
|
<!-- cave.html - this text visible because this template has been included -->
|
||||||
{% block extraheaders %}
|
{% block extraheaders %}
|
||||||
{% if cave.survex_file %}
|
{% if cave.survex_file %}
|
||||||
<style>
|
|
||||||
# This is presumably very similar caveview.css but why is it copied here ?
|
|
||||||
# Because it is NOT the same as the distrubuted CaveView code.
|
|
||||||
|
|
||||||
# Needs to be separated out into JSLIB local. (PMS 3/4/2021)
|
<!--# This is presumably very similar caveview.css but why is it copied here ?
|
||||||
|
# Because it is NOT exactly the same as the distrubuted CaveView code.
|
||||||
|
#e.g. the body {} bit in Caveview/css/caveview.css is missing here:
|
||||||
|
# Needs to be separated out into JSLIB local. (PMS 27/4/2021)
|
||||||
|
-->
|
||||||
|
<style>
|
||||||
|
|
||||||
div.cv-panel {
|
div.cv-panel {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -424,7 +426,7 @@ div#scene {
|
|||||||
CV.UI.init( 'scene', {
|
CV.UI.init( 'scene', {
|
||||||
home: '/javascript/CaveView/',
|
home: '/javascript/CaveView/',
|
||||||
surveyDirectory: '/expowebcache/3d/',
|
surveyDirectory: '/expowebcache/3d/',
|
||||||
terrainDirectory: '/loser/surface/terrain/'
|
terrainDirectory: '/loser/surface/terrain/' // cannot work, apache not handling this
|
||||||
} );
|
} );
|
||||||
|
|
||||||
// load a single survey to display
|
// load a single survey to display
|
||||||
@@ -500,7 +502,7 @@ div#scene {
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if cave.survex_file %}
|
{% if cave.survex_file %}
|
||||||
<h2>Survex File</h2>
|
<h2>Survex File</h2>
|
||||||
<a href="{% url "survexcavessingle" cave.kataster_number %}">All survex files</a>
|
<a href="/survexfile">All survex files</a>
|
||||||
<a href="{% if cave.kataster_number %}{% url "cave3d" cave.kataster_number %}{% else %}{% url "cave3d" cave.unofficial_number %}{% endif %}">3d file download</a>
|
<a href="{% if cave.kataster_number %}{% url "cave3d" cave.kataster_number %}{% else %}{% url "cave3d" cave.unofficial_number %}{% endif %}">3d file download</a>
|
||||||
<a href="{% url "svx" svxstem %}">This survex file</a>
|
<a href="{% url "svx" svxstem %}">This survex file</a>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user