| Home | Trees | Indices | Help |
|
|---|
|
|
Author: Duncan Macleod <duncan.macleod@astro.cf.ac.uk>
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
__date__ = git_version.dateThis module provides a few extensions to glue.markup to streamline GEO/LIGO detector characterisation tools that use very similar web interfaces |
|||
|
|||
Write table into glue.markup.page object. headers are written with <th>,
multiple columns of data are written with <td>. Classes include:
* "", default class writes standard table with single column of headers
and multiple columns of data
* "list", writes table of 'header[i]: data[i]' definition-style entries
Arguments:
page : glue.markup.page
page object into which to write table
headers : list
list of table header elements
data : list
list (or nested list) of table data elements, list of lists used for
multiple rows
Keyword arguments:
cl : string
name for HTML table class, cl='list' treats special case above
|
Returns glue.markup.page object with <head> tag filled.
Arguments:
title : string
text for <title> tag
css : string
relative path to style sheet
js : string
relative path to javascript
Keyword arguments:
base : string
absolute http(s) path of url base
refresh : int
number of seconds after which to refresh page automatically
jquery : [ True | False ]
import jquery AJAX script in header, default: True
|
Returns glue.markup.page object for <div id="menubar">, constructing menu
in HTML.
Arguments:
sections : list
ordered list of menu entry names
pages : dict
dict of section:href pairs holding link paths for each element of
sections list
|
Initialise html into markup page, including <head> tag, banner and menu. Pass further html elements to the body tag using the kwargs. |
Write hX header into glue.markup.page object page with toggling. Text contained within title is printed while link is constructed and toggled using javascipt toggleVisible function |
Returns the url for http access to this host, based on its domain name Returns None-type if you're not on a recognised LIGO-Virgo cluster. Should not be used when not on an LDAS cluster, can't tell the difference between nodes on CDS network at a site, and those on LDAS, for example... Example: >>> socket.getfqdn() ldas-pcdev1.ligo-la.caltech.edu >>> dqHTMLUtils.get_ldas_url() 'https://ldas-jobs.ligo-la.caltech.edu' |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Dec 12 01:21:41 2017 | http://epydoc.sourceforge.net |