Skip to content

Conversation

Summersa
Copy link
Contributor

#1214

There is no function to hide the header in edit mode. Now I know my syntax is wrong. I couldn't find a way to do this from the edit page javascript file. If I could get some guidance and than I could write it properly. Right now I just put the javascript within the html edit file.

Before:
headheaderbefore
#After:
headheaderafter

<span id="kernel_logo_widget">
{% block kernel_logo_widget %}
<img class="current_kernel_logo" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"/>
{% endblock %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes here to the save widget shouldn't be needed, since they are all notebook-specific.

@Summersa
Copy link
Contributor Author

This will be good now.

@minrk
Copy link
Member

minrk commented Mar 17, 2016

Great, thanks! It looks like you have a few extra commits that aren't part of this PR. Can you reset to the commit with the real changes here? There are a few ways to do this (rebase, reset).

Since it looks like there are a few commits at the end you don't need, you can reset to the real changes with:

git reset d120344 --hard

And then re-push, adding -f to allow rewriting history:

git push -f # may need to specify origin and/pr branch, depending on your git situation

@minrk minrk added this to the 4.2 milestone Mar 17, 2016
@captainsafia
Copy link
Member

I think this is good to merge! 👍

@minrk
Copy link
Member

minrk commented Mar 18, 2016

Terrific, thanks @Summersa!

minrk added a commit that referenced this pull request Mar 18, 2016
Toggle Header in Edit page
@minrk minrk merged commit 84003fb into jupyter:master Mar 18, 2016
minrk added a commit that referenced this pull request Mar 25, 2016
#1214

There is no function to hide the header in edit mode. Now I know my syntax is wrong. I couldn't find a way to do this from the edit page javascript file. If I could get some guidance and than I could write it properly. Right now I just put the javascript within the html edit file.

Before:
...
yuvipanda pushed a commit to yuvipanda/notebook that referenced this pull request Jul 26, 2016
jupyter#1214

There is no function to hide the header in edit mode. Now I know my syntax is wrong. I couldn't find a way to do this from the edit page javascript file. If I could get some guidance and than I could write it properly. Right now I just put the javascript within the html edit file.

Before:
...
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants