This file is indexed.

/usr/share/pyshared/schooltool/dashboard/dashboard.pt is in python-schooltool 1:2.1.0-0ubuntu1.

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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<tal:block i18n:domain="schooltool">
<script type="text/javascript" tal:content="view/dynamicVariables">
</script>

<script type="text/javascript">
  maxHeight = 75; //height it should go to in percent
  function openDash(){
    $('#dashboardContents').html('loading...');
    $('#dashboardContents').slideDown("fast");
    $('#dashboardTab').unbind();
    $('#dashboardTab').click(closeDash);
    $.get(ajaxURL, function(data) {$('#dashboardContents').html(data);});
    return null;
  }

  function closeDash(){
    $('#dashboardContents').slideUp("fast");
    $('#dashboardTab').unbind();
    $('#dashboardTab').click(openDash);
    return null;
  }

  function getDashboardContent(){
    $.get(ajaxURL, alertContents);
  }

  function alertContents(data) {
  }
</script>

<style type="text/css">
  .dashboardButton {
    position: fixed;
    bottom: 0;
    width: 20%;
    right: 40%;
    background: #EAE8E3;
    text-align: center;
    font-weight: bold;
    border: solid 1px #BAB5AB;
    border-bottom: 0;
    z-index: 99;
    cursor: pointer;
  }
  div .dashboardContents {
    position: fixed;
    left: 10%;
    bottom: 0;
    width: 80%;
    height: 70%;
    margin: auto;
    background: #EAE8E3;
    text-align: center;
    border: solid 1px #BAB5AB;
    border-bottom: 0;
    overflow: auto;
    text-align: left;
    z-index: 98;
  }
</style>
<noscript>
<a style="bottom: 0px;" class="dashboardButton" tal:attributes="href string:${context/schooltool:app/@@absolute_url}/@@dashboard.html"
   i18n:translate=""
   id="dashboardTab">Dashboard</a>
</noscript>
<a class="dashboardButton"
   i18n:translate=""
   id="dashboardTab">Dashboard</a>
<div id="dashboardContents" class="dashboardContents">
</div>
<script type="text/javascript">
$('#dashboardTab').click(openDash);
$('#dashboardContents').hide();
</script>
</tal:block>