diff options
Diffstat (limited to 'log/templates')
-rw-r--r-- | log/templates/_c/.gitkeep | 0 | ||||
-rw-r--r-- | log/templates/index.tmpl | 46 |
2 files changed, 46 insertions, 0 deletions
diff --git a/log/templates/_c/.gitkeep b/log/templates/_c/.gitkeep new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/log/templates/_c/.gitkeep diff --git a/log/templates/index.tmpl b/log/templates/index.tmpl new file mode 100644 index 00000000000..64152ff20d8 --- /dev/null +++ b/log/templates/index.tmpl @@ -0,0 +1,46 @@ +<h1>Logs</h1> + +<div class="controls"> + <form id="logs_options"> + <p> + <span>Filter :</span> + + <input type="checkbox" checked="checked" name="all" id="all" /> <label for="all">All</label> + <input type="checkbox" checked="checked" name="logins" id="logins" /> <label for="logins">Logins</label> + <input type="checkbox" checked="checked" name="logouts" id="logouts" /> <label for="logouts">Logouts</label> + <input type="checkbox" checked="checked" name="downloads" id="downloads" /> <label for="downloads">Downloads</label> + <input type="checkbox" checked="checked" name="uploads" id="uploads" /> <label for="uploads">Uploads</label> + + <input type="checkbox" checked="checked" name="creations" id="creations" /> <label for="creations">Creations</label> + <input type="checkbox" checked="checked" name="deletions" id="deletions" /> <label for="deletions">Deletions</label> + </p> + <p> + <span>Show :</span> + <input type="text" maxlength="3" size="3" value="10" /> entries per page. + <input type="submit" value="Save" /> + + </p> + </form> +</div> + +<table cellspacing="0"> + <thead> + <tr> + <th>What</th> + <th>When</th> + + </tr> + </thead> + <tbody> + [%foreach $logs as $entry%] + <tr> + <td class="login"><em>[%$entry.user%]</em> [% $entry.message %]</td> + <td class="date">[%$entry.date%]</td> + </tr> + [%/foreach%] + </tbody> +</table> + +<div class="controls"> + <p class="center"><a href="" title="Previous page">←</a> 3/5 <a href="" title="Next page">→</a></p> +</div> |