/usr/lib/python2.7/dist-packages/sagenb/data/sage/html/worksheet/completions.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 | {#
INPUT:
- cell_id - id for the cell of the completions
- completions_enumerated - enumerated (enumerate()) 2D list of completions in
column-major order
#}
<ul class="completion_menu_one"
{%- for col_i, column in completions_enumerated %}
<li class="completion_menu_one">
<ul class="completion_menu_two">
{%- for row in column %}
<li id="completion{{- cell_id }}_{{- loop.index0 }}_{{- col_i }}" class="completion_menu_two">
<a onClick="do_replacement('{{- cell_id }}', '{{- row }}'); return false;"
onMouseOver="this.focus(); select_replacement_element('{{- cell_id }}', {{- loop.index0 }}, {{- col_i }});">{{- row }}</a>
</li>
{%- endfor %}
</ul>
</li>
{%- endfor %}
</ul>
|