/usr/lib/python2.7/dist-packages/sagenb/data/sage/html/source_code.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 | {% extends "html/base_authenticated.html" %}
{% block title %}{{ src_filename }} - {{ gettext('Source Code') }}{% endblock %}
{% block css %}main{% endblock %}
{% block more_css %}<link type="text/css" ref="stylesheet" href="/javascript/highlight/prettify.css" />{% endblock %}
{% block page_id %}source-code-page{% endblock %}
{% block body %}
<div>
<h1>{{ gettext('Sage Source Browser') }}</h1>
<h2 class="filename" >{{ src_filename }} <a href="./">({{ gettext('browse directory') }})</a></h2>
</div>
<code id="code">{{ src }}</code>
<script src="/javascript/highlight/prettify.js" type="text/javascript"></script>
<script type="text/javascript">
code = $('code');
code.html(prettyPrintOne(code.html()))
</script>
{% endblock %}
|