marshall_webapp.templates.commonelements.tickets.single_ticket package ∞
A ticket for a single PESSTO Object give all info known about it
- Author
David Young
-
single_ticket
(log, request, discoveryDataDictionary, objectComments, objectAkas, lightcurveData, atelData, objectHistories, transientCrossmatches)[source] ∞ A single ticket for a transient object tin the pessto marshall
Key Arguments
log
– loggerrequest
– the pyramid requestdiscoveryDataDictionary
– the unique discoveryData dictionary of the object in the pessto marshall database (from view_object_contextual_data)objectComments
– the comments for the objectobjectAkas
– the akas with surveyUrlslightcurveData
– the lightcurve data for the objects displayed on the webpageatelData
– the atel matches for the objects displayed on the webpageobjectHistories
– history log for objecttransientCrossmatches
– catalogue crossmatches (from sherlock)
Return
ticket
– a single transient’s info in one HTML ticket
-
_single_ticket_template
(log, transientBucketId, tabDictionary={}, htmlId=False, commentCount=False, obsPriority=False)[source] ∞ single_ticket
Key Arguments
log
– the loggertransientBucketId
– the transientBucketId of the object to be displayedtabDictionary
– a dictionary of { “title”: tabcontent, }
Return
single_ticket
– build the single ticket
-
_ticket_tab_template
(log, request, tabHeader=False, blockList=[], tabFooter=False, actionsBlock=False, htmlId=False)[source] ∞ ticket tab - build a tab on a ticket from a few sub-block of object data
Key Arguments
log
– the loggerrequest
– the pyramid requesttabHeader
– header bar for the tabblockList
– the list of asset ‘blocks’ to be included in this ticket tabtabFooter
– footer bar for the tabactionsBlock
– to consume skinny column at right side
Return
ticket_tab
– template for each ticket tab
Subpackages ∞
- marshall_webapp.templates.commonelements.tickets.single_ticket.tabs package
- Submodules
- marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.comments module
- marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.context module
- marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.development module
- marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.dryx module
- marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.history module
- marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.overview module
- marshall_webapp.templates.commonelements.tickets.single_ticket.tabs.photometry module
- Submodules
- marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks package
- Submodules
- marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.actions_block module
- marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.classification_block module
- marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.comments_block module
- marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.host_info_block module
- marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.identity_block module
- marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.latest_magnitudes_block module
- marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.lightcurve_block module
- marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.master_lightcurve_block module
- marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.object_info_block module
- marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.survey_lightcurves_block module
- marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.ticket_footer_bar module
- marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.ticket_header_bar module
- Submodules