Exemplo n.º 1
0
    opacity=0.8)

# Body
body = dac.Body(None)

# Controlbar
controlbar = dac.Controlbar([
    html.Br(),
    html.P("Put different components here!"),
],
                            title="My right sidebar",
                            skin="light")

# Footer
footer = dac.Footer(html.A(
    "@DawidKopczyk, Quantee",
    href="https://twitter.com/quanteeai",
    target="_blank",
),
                    right_text="2019")

# =============================================================================
# App Layout
# =============================================================================
_layout = dac.Page([navbar, sidebar, body, controlbar, footer])


class DemoLayoutPage:
    def for_path(self, component):
        return _layout
Exemplo n.º 2
0
    html.Br(),
    html.P("Seleccionar rango de Fechas"),
    html.Div([
        dcc.DatePickerRange(id='date-picker-range',
                            start_date=new_rnt_diaria.ds.min(),
                            end_date=dt.now())
    ],
             className='container')
],
                            title="Filtros",
                            skin="light")

# Footer
footer = dac.Footer(html.A(
    "Powered by © Antarctic Analytics",
    href="https://www.antarctic.ai/",
    target="_blank",
),
                    right_text="2020")

# =============================================================================
# App Layout
# =============================================================================
app.layout = dac.Page([navbar, sidebar, body, controlbar, footer])


# =============================================================================
# Callbacks
# =============================================================================
def activate(input_id, n_tab_cards, n_social_cards, n_cards, n_basic_boxes,
             n_value_boxes, n_gallery_1, n_gallery_2):
Exemplo n.º 3
0
)

# Body
body = dac.Body(
    dac.TabItems([
        sales_tab,
        shipment_tab,
        inventory_tab,
    ])
)

# Footer
footer = dac.Footer(
	html.A("Developed by Sam Solis",
		href = "https://twitter.com/ohsamsolis", 
		target = "_blank", 
	),
	right_text = "2019"
)

# =============================================================================
# App Layout
# =============================================================================
app.layout = dac.Page([navbar, sidebar, body, footer])

# =============================================================================
# Callbacks
# =============================================================================
def activate(input_id, n_sales, n_shipment, n_inventory):
    
    # Depending on tab which triggered a callback, show/hide contents of app