{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "tags": [ "parameters" ] }, "outputs": [], "source": [ "flex_subtitle = \"built using jupyter-flex\"\n", "flex_source_link = \"https://github.com/danielfrg/jupyter-flex/blob/master/examples/layouts/sidebar-global.ipynb\"" ] }, { "cell_type": "markdown", "metadata": { "tags": [ "sidebar" ] }, "source": [ "# Sidebar" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### This is the global sidebar of the dashboard" ] }, { "cell_type": "markdown", "metadata": { "tags": [ "body" ] }, "source": [ "The sidebar 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 another card" ] }, { "cell_type": "markdown", "metadata": { "tags": [ "body" ] }, "source": [ "Since we have to cards in the sidebar the content was split 50/50 by default as it happens in Sections but it can be controlled by tags." ] }, { "cell_type": "code", "execution_count": null, "metadata": { "tags": [ "body" ] }, "outputs": [], "source": [ "\"This is a code cell output\"" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Page 1" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### This is the first page" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "tags": [ "body" ] }, "outputs": [], "source": [ "\"Page 1 code\"" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Page 2" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### This is the second page" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "tags": [ "body" ] }, "outputs": [], "source": [ "\"Page 2 code\"" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "celltoolbar": "Tags", "kernelspec": { "display_name": "Python 3", "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.7.8" } }, "nbformat": 4, "nbformat_minor": 4 }