notebook/jupyter_notebook/templates/edit.html

100 lines
3.4 KiB
HTML
Raw Normal View History

{% extends "page.html" %}
{% block title %}{{page_title}}{% endblock %}
2014-11-06 08:11:29 +08:00
{% block stylesheet %}
<link rel="stylesheet" href="{{ static_url('components/codemirror/lib/codemirror.css') }}">
<link rel="stylesheet" href="{{ static_url('components/codemirror/addon/dialog/dialog.css') }}">
2014-11-06 08:11:29 +08:00
{{super()}}
{% endblock %}
{% block bodyclasses %}edit_app {{super()}}{% endblock %}
{% block params %}
data-base-url="{{base_url}}"
2014-11-06 08:11:29 +08:00
data-file-path="{{file_path}}"
{{super()}}
{% endblock %}
{% block headercontainer %}
2014-11-23 13:58:02 +08:00
<span id="save_widget" class="pull-left save_widget">
2014-12-05 09:01:30 +08:00
<span class="filename"></span>
<span class="last_modified"></span>
</span>
2014-11-23 13:58:02 +08:00
{% endblock %}
{% block header %}
2014-11-06 08:48:23 +08:00
<div id="menubar-container" class="container">
<div id="menubar">
2014-11-06 08:48:23 +08:00
<div id="menus" class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<p class="navbar-text indicator_area">
<span id="current-mode" >current mode</span>
</p>
<button type="button" class="btn btn-default navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<i class="fa fa-bars"></i>
<span class="navbar-text">Menu</span>
</button>
<ul class="nav navbar-nav navbar-right">
<li id="notification_area"></li>
</ul>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">File</a>
<ul id="file-menu" class="dropdown-menu">
<li id="new-file"><a href="#">New</a></li>
<li id="save-file"><a href="#">Save</a></li>
2014-12-05 09:09:06 +08:00
<li id="rename-file"><a href="#">Rename</a></li>
2015-02-03 08:35:24 +08:00
<li id="download-file"><a href="#">Download</a></li>
2014-11-06 08:48:23 +08:00
</ul>
</li>
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Edit</a>
<ul id="edit-menu" class="dropdown-menu">
<li id="menu-find"><a href="#">Find</a></li>
<li id="menu-replace"><a href="#">Find &amp; Replace</a></li>
<li class="divider"></li>
2014-12-03 04:55:49 +08:00
<li class="dropdown-header">Key Map</li>
<li id="menu-keymap-default"><a href="#">Default<i class="fa"></i></a></li>
<li id="menu-keymap-sublime"><a href="#">Sublime Text<i class="fa"></i></a></li>
<li id="menu-keymap-vim"><a href="#">Vim<i class="fa"></i></a></li>
<li id="menu-keymap-emacs"><a href="#">emacs<i class="fa"></i></a></li>
</ul>
</li>
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">View</a>
<ul id="view-menu" class="dropdown-menu">
<li id="menu-line-numbers"><a href="#">Toggle Line Numbers</a></li>
</ul>
</li>
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Language</a>
2014-12-08 05:40:42 +08:00
<ul id="mode-menu" class="dropdown-menu">
</ul>
</li>
</ul>
2014-11-06 08:48:23 +08:00
</div>
</div>
2014-11-06 08:48:23 +08:00
</div>
</div>
2014-11-06 08:48:23 +08:00
</div>
2014-12-18 06:00:28 +08:00
<div class="lower-header-bar"></div>
{% endblock %}
{% block site %}
2014-12-18 06:00:28 +08:00
<div id="texteditor-backdrop">
<div id="texteditor-container" class="container"></div>
2014-12-18 06:00:28 +08:00
</div>
{% endblock %}
{% block script %}
{{super()}}
<script src="{{ static_url("edit/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
{% endblock %}