/usr/lib/python2.7/dist-packages/sagenb/data/sage/html/notebook/upload_data_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 26 27 28 29 30 31 32 33 34 | {% extends "html/notebook/base_aux.html" %}
{% block page_id %}upload-data-page{% endblock %}
{% block sharebar_title %}
{{ gettext('Upload or Create Data File to attach to worksheet "%(wn)s"', wn=worksheet.name()) }}
{% endblock %}
{% block after_sharebar %}
<div>
<form method="POST" action="do_upload_data"
name="upload" enctype="multipart/form-data">
<div>
<label for="file">{{ gettext('Browse your computer to select a file to upload:') }}</label>
<input size="50" type="file" name="file" />
</div>
<div>
<label for="url">{{ gettext('Or enter the URL of a file on the web:') }}</label>
<input size="50" type="text" name="url" />
</div>
<div>
<label for="new">{{ gettext('Or enter the name of a new file, which will be created:') }}</label>
<input size="50" type="text" name="new" />
</div>
<div>
<label for="name">{{ gettext('What do you want to call it? (if different than the original name)') }}</label>
<input size="50" type="text" name="name" />
</div>
<button type="submit">{{ gettext('Upload or Create Data File') }}</button>
</form>
</div>
{% endblock %}
|