Esempio n. 1
0
footer = ctc.Footer(
    html.Div(
        [
            # html.Iframe(
            #    src="https://ghbtns.com/github-btn.html?user=materialsproject&repo=crystaltoolkit&type=star&count=true",
            #    style={
            #        "frameborder": False,
            #        "scrolling": False,#
            #        "width": "72px",
            #        "height": "20px",
            #    },
            # ),
            # html.Br(), Button([Icon(kind="cog", fill="r"), html.Span("Customize")], kind="light", size='small'),
            dcc.Markdown(
                f"App created by [Crystal Toolkit Development Team](https://github.com/materialsproject/crystaltoolkit/graphs/contributors).  \n"
                f"Bug reports and feature requests gratefully accepted, please send them to [@mkhorton](mailto:[email protected]).  \n"
                f"Powered by [The Materials Project](https://materialsproject.org), "
                f"[pymatgen v{pmg_version}](http://pymatgen.org) and "
                f"[Dash by Plotly](https://plot.ly/products/dash/). "
                f"Deployed on [Spin](http://www.nersc.gov/users/data-analytics/spin/)."
            )
        ],
        className="content has-text-centered",
    ),
    style={
        "padding": "1rem 1rem 1rem",
        "background-color": "inherit"
    },
)
Esempio n. 2
0
                kind="danger",
            ),
        ],
        id="banner",
    )
# endregion

footer = ctc.Footer(
    html.Div(
        [
            dcc.Markdown(
                f"App created by [@mattmcdermott](https://github.com/mattmcdermott). "
                f"Special thanks to Matt Horton for his contributions to Crystal Toolkit.\n"
                f"Powered by [The Materials Project](https://materialsproject.org), "
                f"[pymatgen v{pmg_version}](http://pymatgen.org) and "
                f"[Dash by Plotly](https://plot.ly/products/dash/). ")
        ],
        className="content has-text-centered",
    ),
    style={
        "padding": "1rem 1rem 1rem",
        "background-color": "inherit"
    },
)

#################  App Layout ##################

################################################################################
# region  DEFINE MAIN LAYOUT
################################################################################