This file is indexed.

/usr/share/pyshared/catwalk/templates/tableView.html is in python-catwalk 2.0.2-5.

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
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="./dbmech_master.html" />
<head></head>
<body>
      <div class="table_list">
            <b>Tables</b>
            ${tmpl_context.databaseView(value=databaseValue, controller=controller)}
      </div>
      <div class="main_view" style="width:100%">
                  <h2 style="margin: 0px 5px 0px 0px;">$table_name</h2>
                  <div style="float:left;">
                        <div style="float:left; padding-right:10px;"><a href="../addRecord/$table_name">AddRecord</a></div>
                        <div style="float:left; padding-right:10px;"><a href="../tableView/$table_name">TableView</a></div>
                        <div style="float:left; padding-right:10px;"><a href="../tableDef/$table_name">TableDef</a></div>
                  </div>
            <div style="float:right">
                  <?python
                        if recordsPerPage != 0:
                              pages = main_count//recordsPerPage
                              if main_count%recordsPerPage:
                                    pages+=1
                        else:
                              pages = 1

                        startPage = page-1
                        endPage = page+2

                        if endPage>pages:
                             endPage = pages

                        if startPage>pages:
                             startPage=page

                        if startPage<=0:
                             startPage=1

                        pagelist = range(startPage, endPage)

                        if pages > endPage:
                              pagelist.append('...')


                        prevPage = page - 1
                        if prevPage < 1:
                              prevPage = pages
                        nextPage = page + 1
                        if nextPage > pages:
                              nextPage = 0

                  ?>
                  <a href="${controller}/tableView/$table_name?page=0&amp;recordsPerPage=$recordsPerPage">&lt;&lt;</a>
                  <a href="${controller}/tableView/$table_name?page=${prevPage}&amp;recordsPerPage=$recordsPerPage">&lt;</a>
                  <py:for each="i in pagelist">
                        <py:if test='i == "..."'>
                              ...
                        </py:if>
                        <py:if test='i == page'>
                              $page
                        </py:if>
                        <py:if test='i!="..." and i!=page'>
                              <a href="${controller}/tableView/$table_name?page=$i&amp;recordsPerPage=$recordsPerPage">$i</a>
                        </py:if>
                  </py:for>
                  <a href="${controller}/tableView/$table_name?page=${pages}&amp;recordsPerPage=$recordsPerPage">$pages</a>
                  <a href="${controller}/tableView/$table_name?page=${nextPage}&amp;recordsPerPage=$recordsPerPage">&gt;</a>
                  <a href="${controller}/tableView/$table_name?page=${pages}&amp;recordsPerPage=$recordsPerPage">&gt;&gt;</a>
            </div>
            <div><br/>
                  ${tmpl_context.mainView(value=mainValue)}
            </div>
            <div style="float:right;">
                  Records Per Page:
                  <a href="${controller}/tableView/$table_name?page=1&amp;recordsPerPage=10">10</a>
                  <a href="${controller}/tableView/$table_name?page=1&amp;recordsPerPage=25">25</a>
                  <a href="${controller}/tableView/$table_name?page=1&amp;recordsPerPage=50">50</a>
                  <a href="${controller}/tableView/$table_name?page=1&amp;recordsPerPage=100">100</a>
            </div>
            <div style="clear:both"/>

      </div>
</body>
</html>