mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-08 23:04:35 +00:00
JS old scripts tidying and documenting
This commit is contained in:
@@ -44,6 +44,13 @@ chase QMs. It is a troggle-generated document at <a href="/prospecting_guide/">e
|
||||
|
||||
<p>QMs all use <a href="../../qm.html">the same QM description conventions</a>.
|
||||
|
||||
<h4 id="QM_helper">js/QM_helper.js</h4>
|
||||
<p>A relic.
|
||||
<p>This is referred to in core/admin.py and appears to help with the userinterface within the
|
||||
Django Admin control panel for manipulating QMs. It is not live as media/js/ is not plumbed in.
|
||||
(Live javascript lives in media/jslib/ which is routed to the URL /javascript/.)
|
||||
|
||||
|
||||
<h4 id="tabqmsqms">tablize-qms.pl</h4>
|
||||
<p>This is a perl script dating from November 2004.
|
||||
|
||||
@@ -128,7 +135,7 @@ This will work on all survex *.svx files even those which have not yet been run
|
||||
<p>Phil says (13 April 2020): <em>"The generated files are not meant to be served by the webserver, it’s a tool for people to run locally. Someone could modify it to create HTML output (or post-process the CSV output to do the same), but that is work still to be done."</em>
|
||||
|
||||
<h4>troggle/parsers/survex.py</a></h4>
|
||||
<p>The QMs inside thge survex files are parsed by troggle along with all the other information
|
||||
<p>The QMs inside the survex files are parsed by troggle along with all the other information
|
||||
inside survex files and stored in the database. But the webpages which display this data are rudimentary, e.g. <a href="/getQMs/1623-204">/getQMs/1623-204</a> or <a href="/cave/qms/1623-204">/cave/qms/1623-204</a>.
|
||||
Looking through urls.py and core/view_caves.py we see a lot of code for providing new QM numbers, producing lists of QMs for a given cave and for downloading QM.csv files generated by the database. But none of it appears to be working today (14 May 2020), see below.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user