/usr/share/gnotime/ghtml/C/status.ghtml is in gnotime 2.4.1-1.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>
<?scm (gtt-show (gtt-project-title (gtt-linked-project))) ?>
Project Status</title>
<?scm (gtt-include "gtt-style.css") ?>
</head>
<body bgcolor="#c8c8d3">
<div id="gnotime-body">
<h1>
<?scm (gtt-show (gtt-project-title (gtt-linked-project))) ?>
--
<?scm (gtt-show (gtt-project-desc (gtt-linked-project))) ?>
</h1>
<div id="gnotime-project-status-overview">
<?scm (gtt-show (gtt-project-notes (gtt-linked-project))) ?>
</div>
<?scm
;; print out a header showing the query status,
;; but only if this report was invoked by the query generator.
(if (gtt-did-query)
(gtt-show (list
''"<br><br>"
''"Results shown for projects that were active between dates"
(gtt-kvp-str '"earliest-end-date")
''"and"
(gtt-kvp-str '"latest-end-date")
''".\n"
)))
?>
<br><br>
<?scm
(define (do-show-status)
(gtt-show-projects (gtt-linked-or-query-results)
(list
''"<table class=gnotime-project-status
bgcolor=#e0e0e0 width=98% border=0 cellpadding=4><tr><td>\n"
''"<b>" gtt-project-title ''"</b>"
''" -- " gtt-project-desc ''"\n"
''"<table class=gnotime-project-status-notes
bgcolor=#f8f8f8 width=100% border=0 cellpadding=4><tr><td>\n"
gtt-project-notes
''"</td></tr></table>\n\n"
''"</td></tr></table>\n\n"
''"<br><br>\n\n"
))
)
(if (null? (gtt-linked-or-query-results))
(if (gtt-did-query)
(gtt-show '"<b><big>The query did not return any projects to be listed.</big></b>")
(gtt-show '"<b><big>There is no status to show,
the selected project has no sub-projects!</big></b>")
))
(do-show-status)
?>
<div align=right>
Brought to you by ... <br>
<a href="http://gttr.sourceforge.net/">
<img src="gnotime-logo.png" border="0" width="155" height="28"></a>
</div>
</div>
</body>
</html>
|