mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Merge pull request #4694 from uclixnjupyternbaccessibility/issue-3997
Solved Issue #3997
This commit is contained in:
commit
530a026e2a
@ -77,28 +77,28 @@ data-notebook-path="{{notebook_path | urlencode}}"
|
||||
<span id="notification_area"></span>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">{% trans %}File{% endtrans %}</a>
|
||||
<ul id="file_menu" class="dropdown-menu">
|
||||
<li id="new_notebook" class="dropdown-submenu">
|
||||
<a href="#">{% trans %}New Notebook{% endtrans %}</a>
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" id="filelink" data-toggle="dropdown" aria-haspopup="true" aria-controls="file_menu">{% trans %}File{% endtrans %}</a>
|
||||
<ul id="file_menu" class="dropdown-menu" role="menu" aria-labelledby="filelink">
|
||||
<li id="new_notebook" class="dropdown-submenu" role="none">
|
||||
<a href="#" role="menuitem">{% trans %}New Notebook{% endtrans %}</a>
|
||||
<ul class="dropdown-menu" id="menu-new-notebook-submenu"></ul>
|
||||
</li>
|
||||
<li id="open_notebook"
|
||||
<li id="open_notebook" role="none"
|
||||
title="{% trans %}Opens a new window with the Dashboard view{% endtrans %}">
|
||||
<a href="#">{% trans %}Open...{% endtrans %}</a></li>
|
||||
<a href="#" role="menuitem">{% trans %}Open...{% endtrans %}</a></li>
|
||||
<!-- <hr/> -->
|
||||
<li class="divider"></li>
|
||||
<li id="copy_notebook"
|
||||
<li class="divider" role="none"></li>
|
||||
<li id="copy_notebook" role="none"
|
||||
title="{% trans %}Open a copy of this notebook's contents and start a new kernel{% endtrans %}">
|
||||
<a href="#">{% trans %}Make a Copy...{% endtrans %}</a></li>
|
||||
<li id="save_notebook_as"
|
||||
<a href="#" role="menuitem">{% trans %}Make a Copy...{% endtrans %}</a></li>
|
||||
<li id="save_notebook_as" role="none"
|
||||
title="{% trans %}Save a copy of the notebook's contents and start a new kernel{% endtrans %}">
|
||||
<a href="#">{% trans %}Save as...{% endtrans %}</a></li>
|
||||
<li id="rename_notebook"><a href="#">{% trans %}Rename...{% endtrans %}</a></li>
|
||||
<li id="save_checkpoint"><a href="#">{% trans %}Save and Checkpoint{% endtrans %}</a></li>
|
||||
<a href="#" role="menuitem">{% trans %}Save as...{% endtrans %}</a></li>
|
||||
<li id="rename_notebook" role="none"><a href="#" role="menuitem">{% trans %}Rename...{% endtrans %}</a></li>
|
||||
<li id="save_checkpoint" role="none"><a href="#" role="menuitem">{% trans %}Save and Checkpoint{% endtrans %}</a></li>
|
||||
<!-- <hr/> -->
|
||||
<li class="divider"></li>
|
||||
<li id="restore_checkpoint" class="dropdown-submenu"><a href="#">{% trans %}Revert to Checkpoint{% endtrans %}</a>
|
||||
<li class="divider" role="none"></li>
|
||||
<li id="restore_checkpoint" class="dropdown-submenu" role="none"><a href="#" role="menuitem">{% trans %}Revert to Checkpoint{% endtrans %}</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#"></a></li>
|
||||
<li><a href="#"></a></li>
|
||||
@ -107,9 +107,9 @@ data-notebook-path="{{notebook_path | urlencode}}"
|
||||
<li><a href="#"></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li id="print_preview"><a href="#">{% trans %}Print Preview{% endtrans %}</a></li>
|
||||
<li class="dropdown-submenu"><a href="#">{% trans %}Download as{% endtrans %}</a>
|
||||
<li class="divider" role="none"></li>
|
||||
<li id="print_preview" role="none"><a href="#" role="menuitem">{% trans %}Print Preview{% endtrans %}</a></li>
|
||||
<li class="dropdown-submenu" role="none"><a href="#" role="menuitem">{% trans %}Download as{% endtrans %}</a>
|
||||
<ul id="download_menu" class="dropdown-menu">
|
||||
{% for exporter in get_frontend_exporters() %}
|
||||
<li id="download_{{ exporter.name }}">
|
||||
@ -118,75 +118,76 @@ data-notebook-path="{{notebook_path | urlencode}}"
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown-submenu hidden"><a href="#">{% trans %}Deploy as{% endtrans %}</a>
|
||||
<li class="dropdown-submenu hidden" role="none"><a href="#" role="menuitem">{% trans %}Deploy as{% endtrans %}</a>
|
||||
<ul id="deploy_menu" class="dropdown-menu"></ul>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li id="trust_notebook"
|
||||
<li class="divider" role="none"></li>
|
||||
<li id="trust_notebook" role="none"
|
||||
title="{% trans %}Trust the output of this notebook{% endtrans %}">
|
||||
<a href="#" >{% trans %}Trust Notebook{% endtrans %}</a></li>
|
||||
<li class="divider"></li>
|
||||
<li id="close_and_halt"
|
||||
<a href="#" role="menuitem">{% trans %}Trust Notebook{% endtrans %}</a></li>
|
||||
<li class="divider" role="none"></li>
|
||||
<li id="close_and_halt" role="none"
|
||||
title="{% trans %}Shutdown this notebook's kernel, and close this window{% endtrans %}">
|
||||
<a href="#" >{% trans %}Close and Halt{% endtrans %}</a></li>
|
||||
<a href="#" role="menuitem">{% trans %}Close and Halt{% endtrans %}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">{% trans %}Edit{% endtrans %}</a>
|
||||
<ul id="edit_menu" class="dropdown-menu">
|
||||
<li id="cut_cell"><a href="#">{% trans %}Cut Cells{% endtrans %}</a></li>
|
||||
<li id="copy_cell"><a href="#">{% trans %}Copy Cells{% endtrans %}</a></li>
|
||||
<li id="paste_cell_above" class="disabled"><a href="#">{% trans %}Paste Cells Above{% endtrans %}</a></li>
|
||||
<li id="paste_cell_below" class="disabled"><a href="#">{% trans %}Paste Cells Below{% endtrans %}</a></li>
|
||||
<li id="paste_cell_replace" class="disabled"><a href="#">{% trans %}Paste Cells & Replace{% endtrans %}</a></li>
|
||||
<li id="delete_cell"><a href="#">{% trans %}Delete Cells{% endtrans %}</a></li>
|
||||
<li id="undelete_cell" class="disabled"><a href="#">{% trans %}Undo Delete Cells{% endtrans %}</a></li>
|
||||
<li class="divider"></li>
|
||||
<li id="split_cell"><a href="#">{% trans %}Split Cell{% endtrans %}</a></li>
|
||||
<li id="merge_cell_above"><a href="#">{% trans %}Merge Cell Above{% endtrans %}</a></li>
|
||||
<li id="merge_cell_below"><a href="#">{% trans %}Merge Cell Below{% endtrans %}</a></li>
|
||||
<li class="divider"></li>
|
||||
<li id="move_cell_up"><a href="#">{% trans %}Move Cell Up{% endtrans %}</a></li>
|
||||
<li id="move_cell_down"><a href="#">{% trans %}Move Cell Down{% endtrans %}</a></li>
|
||||
<li class="divider"></li>
|
||||
<li id="edit_nb_metadata"><a href="#">{% trans %}Edit Notebook Metadata{% endtrans %}</a></li>
|
||||
<li class="divider"></li>
|
||||
<li id="find_and_replace"><a href="#"> {% trans %}Find and Replace{% endtrans %} </a></li>
|
||||
<li class="divider"></li>
|
||||
<li id="cut_cell_attachments"><a href="#">{% trans %}Cut Cell Attachments{% endtrans %}</a></li>
|
||||
<li id="copy_cell_attachments"><a href="#">{% trans %}Copy Cell Attachments{% endtrans %}</a></li>
|
||||
<li id="paste_cell_attachments" class="disabled"><a href="#">{% trans %}Paste Cell Attachments{% endtrans %}</a></li>
|
||||
<li class="divider"></li>
|
||||
<li id="insert_image" class="disabled"><a href="#"> {% trans %}Insert Image{% endtrans %} </a></li>
|
||||
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" id="editlink" data-toggle="dropdown" aria-haspopup="true" aria-controls="edit_menu">{% trans %}Edit{% endtrans %}</a>
|
||||
<ul id="edit_menu" class="dropdown-menu" role="menu" aria-labelledby="editlink">
|
||||
<li id="cut_cell" role="none"><a href="#" role="menuitem">{% trans %}Cut Cells{% endtrans %}</a></li>
|
||||
<li id="copy_cell" role="none"><a href="#" role="menuitem">{% trans %}Copy Cells{% endtrans %}</a></li>
|
||||
<li id="paste_cell_above" class="disabled role="none"><a href="#" role="menuitem">{% trans %}Paste Cells Above{% endtrans %}</a></li>
|
||||
<li id="paste_cell_below" class="disabled" role="none"><a href="#" role="menuitem">{% trans %}Paste Cells Below{% endtrans %}</a></li>
|
||||
<li id="paste_cell_replace" class="disabled" role="none"><a href="#" role="menuitem">{% trans %}Paste Cells & Replace{% endtrans %}</a></li>
|
||||
<li id="delete_cell" role="none"><a href="#" role="menuitem">{% trans %}Delete Cells{% endtrans %}</a></li>
|
||||
<li id="undelete_cell" class="disabled" role="none"><a href="#" role="menuitem">{% trans %}Undo Delete Cells{% endtrans %}</a></li>
|
||||
<li class="divider" role="none"></li>
|
||||
<li id="split_cell" role="none"><a href="#" role="menuitem">{% trans %}Split Cell{% endtrans %}</a></li>
|
||||
<li id="merge_cell_above" role="none"><a href="#" role="menuitem">{% trans %}Merge Cell Above{% endtrans %}</a></li>
|
||||
<li id="merge_cell_below" role="none"><a href="#" role="menuitem">{% trans %}Merge Cell Below{% endtrans %}</a></li>
|
||||
<li class="divider" role="none"></li>
|
||||
<li id="move_cell_up" role="none"><a href="#" role="menuitem">{% trans %}Move Cell Up{% endtrans %}</a></li>
|
||||
<li id="move_cell_down" role="none"><a href="#" role="menuitem">{% trans %}Move Cell Down{% endtrans %}</a></li>
|
||||
<li class="divider" role="none"></li>
|
||||
<li id="edit_nb_metadata" role="none"><a href="#" role="menuitem">{% trans %}Edit Notebook Metadata{% endtrans %}</a></li>
|
||||
<li class="divider" role="none"></li>
|
||||
<li id="find_and_replace" role="none"><a href="#" role="menuitem"> {% trans %}Find and Replace{% endtrans %} </a></li>
|
||||
<li class="divider" role="none"></li>
|
||||
<li id="cut_cell_attachments" role="none"><a href="#" role="menuitem">{% trans %}Cut Cell Attachments{% endtrans %}</a></li>
|
||||
<li id="copy_cell_attachments" role="none"><a href="#" role="menuitem">{% trans %}Copy Cell Attachments{% endtrans %}</a></li>
|
||||
<li id="paste_cell_attachments" class="disabled" role="none"><a href="#" role="menuitem">{% trans %}Paste Cell Attachments{% endtrans %}</a></li>
|
||||
<li class="divider" role="none"></li>
|
||||
<li id="insert_image" class="disabled" role="none"><a href="#" role="menuitem"> {% trans %}Insert Image{% endtrans %} </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">{% trans %}View{% endtrans %}</a>
|
||||
<ul id="view_menu" class="dropdown-menu">
|
||||
<li id="toggle_header"
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" id="viewlink" data-toggle="dropdown" aria-haspopup="true" aria-controls="view_menu">{% trans %}View{% endtrans %}</a>
|
||||
<ul id="view_menu" class="dropdown-menu" role="menu" aria-labelledby="viewlink">
|
||||
<li id="toggle_header" role="none"
|
||||
title="{% trans %}Show/Hide the logo and notebook title (above menu bar){% endtrans %}">
|
||||
<a href="#">{% trans %}Toggle Header{% endtrans %}</a>
|
||||
<a href="#" role="menuitem">{% trans %}Toggle Header{% endtrans %}</a>
|
||||
</li>
|
||||
<li id="toggle_toolbar"
|
||||
<li id="toggle_toolbar" role="none"
|
||||
title="{% trans %}Show/Hide the action icons (below menu bar){% endtrans %}">
|
||||
<a href="#">{% trans %}Toggle Toolbar{% endtrans %}</a>
|
||||
<a href="#" role="menuitem">{% trans %}Toggle Toolbar{% endtrans %}</a>
|
||||
</li>
|
||||
<li id="toggle_line_numbers"
|
||||
<li id="toggle_line_numbers" role="none"
|
||||
title="{% trans %}Show/Hide line numbers in cells{% endtrans %}">
|
||||
<a href="#">{% trans %}Toggle Line Numbers{% endtrans %}</a>
|
||||
<a href="#" role="menuitem">{% trans %}Toggle Line Numbers{% endtrans %}</a>
|
||||
</li>
|
||||
<li id="menu-cell-toolbar" class="dropdown-submenu">
|
||||
<a href="#">{% trans %}Cell Toolbar{% endtrans %}</a>
|
||||
<li id="menu-cell-toolbar" class="dropdown-submenu" role="none">
|
||||
<a href="#" role="menuitem">{% trans %}Cell Toolbar{% endtrans %}</a>
|
||||
<ul class="dropdown-menu" id="menu-cell-toolbar-submenu"></ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">{% trans %}Insert{% endtrans %}</a>
|
||||
<ul id="insert_menu" class="dropdown-menu">
|
||||
<li id="insert_cell_above"
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" id="insertlink" data-toggle="dropdown" aria-haspopup="true" aria-controls="insert_menu">{% trans %}Insert{% endtrans %}</a>
|
||||
<ul id="insert_menu" class="dropdown-menu" role="menu" aria-labelledby="insertlink">
|
||||
<li id="insert_cell_above" role="none"
|
||||
title="{% trans %}Insert an empty Code cell above the currently active cell{% endtrans %}">
|
||||
<a href="#">{% trans %}Insert Cell Above{% endtrans %}</a></li>
|
||||
<li id="insert_cell_below"
|
||||
<a href="#" role="menuitem">{% trans %}Insert Cell Above{% endtrans %}</a></li>
|
||||
<li id="insert_cell_below" role="none"
|
||||
title="{% trans %}Insert an empty Code cell below the currently active cell{% endtrans %}">
|
||||
<a href="#">{% trans %}Insert Cell Below{% endtrans %}</a></li>
|
||||
<a href="#" role="menuitem">{% trans %}Insert Cell Below{% endtrans %}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">{% trans %}Cell{% endtrans %}</a>
|
||||
|
Loading…
Reference in New Issue
Block a user