diff --git a/notebooks/wut-web-alpha.ipynb b/notebooks/wut-web-alpha.ipynb index 93ba13e..8e639db 100644 --- a/notebooks/wut-web-alpha.ipynb +++ b/notebooks/wut-web-alpha.ipynb @@ -27,6 +27,7 @@ "from ipywidgets import interact, interactive, fixed, interact_manual\n", "from ipywidgets import Layout, Button, Box\n", "from ipywidgets import Layout, Button, Box, FloatText, Textarea, Dropdown, Label, IntSlider\n", + "from ipywidgets import AppLayout\n", "from IPython.display import display, Image\n", "from IPython.utils import text\n", "from PIL import Image as im\n", @@ -40,7 +41,8 @@ "metadata": {}, "outputs": [], "source": [ - "display(Image(filename='/srv/satnogs/satnogs-wut/pics/spacecruft-bk.png'))" + "def head_pic():\n", + " display(Image(filename='/srv/satnogs/satnogs-wut/pics/spacecruft-bk.png'))" ] }, { @@ -262,15 +264,6 @@ " wg.interact(wutObs, datObs=wutObs_slide, showwater=wutObs_check.value)" ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "site_intro()" - ] - }, { "cell_type": "code", "execution_count": null, @@ -286,7 +279,21 @@ "metadata": {}, "outputs": [], "source": [ - "display_main(model)" + "header=head_pic()\n", + "left_side=site_intro()\n", + "right_side=display_main(model)\n", + "#image=('/srv/satnogs/satnogs-wut/pics/wut-web.png')\n", + "image=None\n", + "footer=None\n", + "center=None\n", + "AppLayout(header=header,\n", + " left_sidebar=left_side,\n", + " center=image,\n", + " right_sidebar=right_side,\n", + " footer=footer,\n", + " grid_gap='20px',\n", + " justify_items='center',\n", + " align_items='center')" ] } ],