diff --git a/app/cara.ipynb b/app/cara.ipynb index 906bf165..37a7cb0e 100644 --- a/app/cara.ipynb +++ b/app/cara.ipynb @@ -288,4 +288,4 @@ }, "nbformat": 4, "nbformat_minor": 4 -} +} \ No newline at end of file diff --git a/app/covid-calculator.ipynb b/app/covid-calculator.ipynb index e0d61f35..67ae19c1 100644 --- a/app/covid-calculator.ipynb +++ b/app/covid-calculator.ipynb @@ -2,14 +2,55 @@ "cells": [ { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "metadata": { "collapsed": true }, "outputs": [], "source": [ - "import ipywidgets as widgets" + "from ipywidgets import Label, Layout, Text, VBox" ] + }, + { + "cell_type": "code", + "execution_count": 7, + "outputs": [ + { + "data": { + "text/plain": "VBox(children=(Label(value='CARA Covid Calculator', layout=Layout(width='100%')), Text(value='', description='…", + "application/vnd.jupyter.widget-view+json": { + "version_major": 2, + "version_minor": 0, + "model_id": "81c2850558b347f0b3040231351aba9f" + } + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "title = Label(\"CARA Covid Calculator\")\n", + "simulation_text = Text(\n", + " placeholder=\"E.g. Workshop without masks\",\n", + " description=\"Simulation name: \"\n", + ")\n", + "room_number_text = Text(\n", + " placeholder=\"E.g. 17/R-033\",\n", + " description=\"Room number: \"\n", + ")\n", + "\n", + "intro = VBox(\n", + " children=(title, simulation_text, room_number_text)\n", + ")\n", + "\n", + "intro\n" + ], + "metadata": { + "collapsed": false, + "pycharm": { + "name": "#%%\n" + } + } } ], "metadata": {