/usr/lib/python2.7/dist-packages/sagenb/data/sage/html/notebook/edit_window.html is in python-sagenb 1.0.1+ds1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | {% extends "html/notebook/base_aux.html" %}
{% block page_id %}edit-page{% endblock %}
{% block before_sharebar %}
<form method="post" action="save" enctype="multipart/form-data">
{% endblock %}
{% block sharebar_title %}
<span>{{ gettext('Edit plain text') }}</span>
<button type="submit" name="button_save" id="button_save">{{ gettext('Save Changes') }}</button>
<button type="submit" name="button_cancel">{{ gettext('Cancel') }}</button>
{% endblock %}
{% set select = "edit" %}
{% block after_sharebar %}
<script type="text/javascript">
function save_worksheet() {
}
function save_worksheet_and_close() {
}
</script>
<textarea class="plaintextedit" id="cell_intext" name="textfield" rows="{{ worksheet.edit_text().count("\n")+1 }}">{{ worksheet.edit_text() }}</textarea>
</form>
{% endblock %}
|