GivingTypes Html Shell

This HTML shell has a comment <!--tables--> on Line 28 which is a place holder for the actual report. The Python replace function is used to replace the comment with the actual tables. The replace method is used in this case because the file contains braces which prevent Python’s format function from working properly in this case.

To install this code, copy all of the code below. Create a new Text file in Special Content using the name GivingTypesHtmlShell. Then paste the code into editor and save.

 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
<html>
<head>
	<title></title>
</head>
<body>
<div class="dash">
<style type="text/css">div.dash h3 {
            text-align: center;
        }
    
        div.dash table {
            margin-left: auto;
            margin-right: auto;
        }
    
        div.dash thead th.right,
        div.dash tfoot td,
        div.dash tbody td,
        div.dash tfoot th {
            text-align: right;
        }
    
        div.dash th.large {
            font-size: x-large;
        }
</style>
<h3>Giving Types</h3>
<!--tables-->
</div>
</body>
</html>