##// END OF EJS Templates
Remove unused validate_string_list function
Remove unused validate_string_list function

File last commit:

r19074:a613289c
r19229:4064ddd1
Show More
edit.html
72 lines | 1.8 KiB | text/html | HtmlLexer
Thomas Kluyver
Basic infrastructure for new texteditor component
r19010 {% extends "page.html" %}
{% block title %}{{page_title}}{% endblock %}
Thomas Kluyver
Loading a file works
r19011 {% block stylesheet %}
<link rel="stylesheet" href="{{ static_url('components/codemirror/lib/codemirror.css') }}">
Thomas Kluyver
Enable codemirror search/replace shortcuts
r19014 <link rel="stylesheet" href="{{ static_url('components/codemirror/addon/dialog/dialog.css') }}">
Thomas Kluyver
Styling to make it clearer where the editor is
r19019 <style>
#texteditor-container {
border-bottom: 1px solid #ccc;
}
Thomas Kluyver
Add filename to header area
r19040
#filename {
font-size: 16pt;
display: table;
padding: 0px 5px;
}
Thomas Kluyver
Styling to make it clearer where the editor is
r19019 </style>
Thomas Kluyver
Loading a file works
r19011
{{super()}}
{% endblock %}
Thomas Kluyver
Basic infrastructure for new texteditor component
r19010 {% block params %}
data-base-url="{{base_url}}"
Thomas Kluyver
Loading a file works
r19011 data-file-path="{{file_path}}"
Thomas Kluyver
Basic infrastructure for new texteditor component
r19010
{% endblock %}
Thomas Kluyver
Add filename to header area
r19040 {% block header %}
<span id="filename">{{ basename }}</span>
{% endblock %}
Thomas Kluyver
Basic infrastructure for new texteditor component
r19010 {% block site %}
Thomas Kluyver
Saving files works
r19012 <div id="menubar-container" class="container">
<div id="menubar">
<div id="menus" class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<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="save_file"><a href="#">Save</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
Thomas Kluyver
Styling to make it clearer where the editor is
r19019 <div id="texteditor-container" class="container"></div>
Thomas Kluyver
Basic infrastructure for new texteditor component
r19010
{% endblock %}
{% block script %}
{{super()}}
Thomas Kluyver
Rename texteditor files & folders to edit
r19074 <script src="{{ static_url("edit/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
Thomas Kluyver
Basic infrastructure for new texteditor component
r19010 {% endblock %}