Skip to content

Commit

Permalink
Remove logo and use only one border
Browse files Browse the repository at this point in the history
  • Loading branch information
superstar54 committed Jan 10, 2025
1 parent ed9bdf2 commit 30b7953
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
14 changes: 2 additions & 12 deletions calculation_history.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,12 @@
"source": [
"import ipywidgets as ipw\n",
"from importlib_resources import files\n",
"from IPython.display import Image\n",
"from jinja2 import Environment\n",
"\n",
"from aiidalab_qe.app.static import templates\n",
"from aiidalab_qe.common.infobox import InfoBox\n",
"\n",
"output = ipw.Output()\n",
"logo_img = Image(\n",
" filename=\"docs/source/_static/logo.png\",\n",
" width=\"700\",\n",
")\n",
"logo = ipw.Output()\n",
"with logo:\n",
" display(logo_img)\n",
"logo.add_class(\"logo\")\n",
"subtitle = ipw.HTML(\"<h3 id='subtitle'>πŸŽ‰ Calculation history πŸŽ‰</h3>\")\n",
"title = ipw.HTML(\"<h2 id='subtitle'>πŸŽ‰ Calculation history πŸŽ‰</h2>\")\n",
"env = Environment()\n",
"guide_template = (\n",
" files(templates).joinpath(\"calculation_history_guide.jinja\").read_text()\n",
Expand Down Expand Up @@ -96,7 +86,7 @@
" \"value\",\n",
")\n",
"\n",
"controls = ipw.VBox(children=[logo, subtitle, guide_toggle, info_container])\n",
"controls = ipw.VBox(children=[title, guide_toggle, info_container])\n",
"controls"
]
},
Expand Down
8 changes: 0 additions & 8 deletions src/aiidalab_qe/app/utils/search_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,13 +240,6 @@ def setup_widgets(self):
# self.toggle_multi_selection,
]
),
],
layout=ipw.Layout(
border="1px solid #ddd",
),
)
filters = ipw.VBox(
children=[
ipw.HTML("<h4>Filters:</h4>"),
ipw.VBox(
children=[
Expand All @@ -272,7 +265,6 @@ def setup_widgets(self):

self.main.children = [
display_options,
filters,
self.table,
]
self.update_table_value(self.df)
Expand Down

0 comments on commit 30b7953

Please sign in to comment.