{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "tags": [ "parameters" ] }, "outputs": [], "source": [ "flex_subtitle = \"built using jupyter-flex\"\n", "flex_external_link = \"https://github.com/danielfrg/jupyter-flex/blob/master/examples/layouts/sidebar-global.ipynb\"\n", "\n", "flex_show_source = True" ] }, { "cell_type": "markdown", "metadata": { "tags": [ "sidebar" ] }, "source": [ "# Sidebar" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Sidebar" ] }, { "cell_type": "markdown", "metadata": { "tags": [ "body" ] }, "source": [ "The sidebar is the sidebar of the dashboard.\n", "\n", "It will always be there even after switching pages.\n", "\n", "This content is a regular Card, for example *this* **is** [markdown](https://daringfireball.net/projects/markdown/)." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### This is a second card" ] }, { "cell_type": "markdown", "metadata": { "tags": [ "body" ] }, "source": [ "Since we have two cards in the sidebar the content was split equaly as it happens in Sections by default but it can be controlled by the `size` tag." ] }, { "cell_type": "code", "execution_count": null, "metadata": { "tags": [ "body" ] }, "outputs": [], "source": [ "\"This is a code cell output on the side bar\"" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Page 1" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Col 1" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### This is the first page" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "tags": [ "body" ] }, "outputs": [], "source": [ "# " ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Col 2" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Column 2" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "tags": [ "body" ] }, "outputs": [], "source": [ "# " ] }, { "cell_type": "markdown", "metadata": { "tags": [ "orientation=rows" ] }, "source": [ "# Page 2" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Row 1" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### This is the second page" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "tags": [ "body" ] }, "outputs": [], "source": [ "# " ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Row 2" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Row 2" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "tags": [ "body" ] }, "outputs": [], "source": [ "# " ] } ], "metadata": { "celltoolbar": "Tags", "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.10" } }, "nbformat": 4, "nbformat_minor": 4 }