def slEmbed(other): html = atlastk.create_HTML() html.pushTag("option") html.putAttribute("selected", "selected") html.putValue(other) return html
def embed(other): html = Atlas.create_HTML() html.push_tag("option") html.put_value(other) # html.pop_tag() return html
def sl_embed(other): html = atlastk.create_HTML() html.push_tag("option") html.put_attribute("selected", "selected") html.put_value(other) return html
def dl_shape(flavors): html = atlastk.create_HTML() for flavor in flavors: html.push_tag("option") html.put_attribute("value", flavor) html.pop_tag() return html
def shape(parfums): html = Atlas.create_HTML() for parfum in parfums: html.push_tag("option") html.put_attribute("value", parfum) html.pop_tag() return html
def drawGrid(dom): board = atlastk.create_HTML("g") for x in range(0, 4): for y in range(0, 4): drawSquare(board, x, y) dom.inner("Stones", board)
def setTexts(dom): texts = atlastk.create_HTML("text") for x in range(0, 4): for y in range(0, 4): setText(texts, x, y) dom.inner("Texts", texts)
def draw_grid(dom): board = Atlas.create_HTML("g") for x in range(0, 4): for y in range(0, 4): draw_square(board, x, y) dom.inner("Stones", board)
def set_texts(dom): texts = Atlas.create_HTML("text") for x in range(0, 4): for y in range(0, 4): set_text(texts, x, y) dom.set_layout("Texts", texts)