Skip to content

Commit

Permalink
update banner and log based on jupyter#214
Browse files Browse the repository at this point in the history
  • Loading branch information
echarles committed Feb 16, 2023
1 parent 3046c9c commit 8cc4691
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
17 changes: 9 additions & 8 deletions nbclassic/notebookapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,16 +326,17 @@ def initialize_handlers(self):
router.add_rules(static_handlers)
router.add_rules(final_rules)
print("""
_ _
| \ | | _____ _____
| \| |/ _ \ \ /\ / / __|
| |\ | __/\ V V /\__ \\
|_| \_|\___| \_/\_/ |___/
_ _ _ _
| | | |_ __ __| |__ _| |_ ___
| |_| | '_ \/ _` / _` | _/ -_)
\___/| .__/\__,_\__,_|\__\___|
|_|
If you plan to upgrade to Notebook 7, read https://nbclassic.readthedocs.io/en/latest/nbclassic_notebook.html
Read the migration plan to Notebook 7 to learn about the new features and the actions to take if you are using extensions.
https://jupyter-notebook.readthedocs.io/en/latest/migrate_to_notebook7.html
Notebook 6 / NbClassic extensions will not work on Notebook 7.
Please note that updating to Notebook 7 might break some of your extensions.
""")


Expand Down
6 changes: 3 additions & 3 deletions nbclassic/templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@
<div class="alert alert-info" role="alert">
<div style="display: flex">
<div>
<span class="label label-warning">NEWS</span>
If you plan to upgrade to Notebook 7, read <a href="https://nbclassic.readthedocs.io/en/latest/nbclassic_notebook.html" target="_top">NbClassic to Notebook 7 documentation.</a>
<span class="label label-warning">UPDATE</span>
Read <a href="https://jupyter-notebook.readthedocs.io/en/latest/migrate_to_notebook7.html" style="text-decoration: underline;" target="_blank">the migration plan</a> to Notebook 7 to learn about the new features and the actions to take if you are using extensions
-
<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
Notebook 6 / NbClassic extensions will not work on Notebook 7.
Please note that updating to Notebook 7 might break some of your extensions.
</div>
<div style="margin-left: auto;">
<a href="" onclick="alert('This message will not be shown anymore.'); return false;">
Expand Down

0 comments on commit 8cc4691

Please sign in to comment.