The names defined in module regform are shared between the
regx.cgi and hist.cgi scripts: they name the HTML elements of
the regional index page, and the hist.cgi script uses those
names to retrieve the submitted form values.
'''regform.py: Constants for the regional index page's form
Do not edit this file. It is extracted automatically from the
documentation, here:
http://www.nmt.edu/~shipman/z/cbc/cbchist/
Naming conventions:
_ENTRY: Text entry
_CB: Checkbox
_RADIOS: Radiobutton group name
_ID: Control id value
'''
#--
# Method value
#--
METHOD = 'get'
#--
# "First year no." and "Last year no." entry fields
#--
FIRST_YEAR_ENTRY = 'FIRST_YEAR_ENTRY'
FIRST_YEAR_ID = 'FIRST_YEAR_ID'
LAST_YEAR_ENTRY = 'LAST_YEAR_ENTRY'
LAST_YEAR_ID = 'LAST_YEAR_ID'
#--
# "Lump subspecies" checkbox
#--
LUMP_SUBSP_CB = 'LUMP_SUBSP_CB'
LUMP_SUBSP_ID = 'LUMP_SUBSP_ID'
#--
# "Use NM alias rules" checkbox
#--
NM_ALIAS_CB = 'NM_ALIAS_CB'
NM_ALIAS_ID = 'NM_ALIAS_ID'
#--
# Radiobuttons for "Combine all circles" and "Display each circle's
# data in a separate column."
#--
YEAR_LUMP_RADIOS = 'YEAR_LUMP_RADIOS'
YEAR_LUMP_ON_ID = 'YEAR_LUMP_ON_ID'
YEAR_LUMP_OFF_ID = 'YEAR_LUMP_OFF_ID'
#--
# Each primary index entry has a checkbutton with this name.
#--
LAT_LON = 'LAT_LON'
#--
# Checkbox for PDF output.
#--
PDF = 'PDF'
PDF_ID = 'PDF_ID'
#--
# Main submit button, to report on selected circles.
#--
ALL = 'ALL'
#--
# Each primary index has a submit button whose name consists of
# this prefix followed by the circle's key as "ddmm-DDDMM".
#--
S_ = 'S_'