def add_range(self, function, submit_label,minvalue=0,maxvalue=100,defaultvalue=50,stepsize=1, newline=False):

    # Create the unique id and store the function:
    function_id = str(int(time.time()*1e6) & 0xffff)
    FUNCTIONS[function_id] = function

    style = "clear: left;" if newline else ''

    # Add the HTML. Pass the Javascript function the function id,
    # as well as a string to indicate it's an entry. This way the
    # Javascript function will know to extract the text from the 
    # entry and pass it as part of its request. 
    self.html +=\
      '<div class="object-wrapper" style="%s">\n' % (style) +\
      '<input class="entry" id="%s" type="range" min=%s max=%s step=%s value=%s name="entry" />\n' %\
      (function_id,minvalue,maxvalue,stepsize,defaultvalue) +\
      '<div class="button" onclick="call_function(%s, \'entry\')">%s\n' % \
      (function_id, submit_label) +\
     '</div>\n</div>\n'
Get fixture content.
dataset/ETHPy150Open graycatlabs/PyBBIO/bbio/libraries/BBIOServer/bbio_server.py/Page.add_range--crossover with--dataset/ETHPy150Open beregond/jsonmodels/tests/utilities.py/get_fixture