summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scire/.smarty/templates/modules/Exporter/index.tpl')
-rw-r--r--scire/.smarty/templates/modules/Exporter/index.tpl36
1 files changed, 36 insertions, 0 deletions
diff --git a/scire/.smarty/templates/modules/Exporter/index.tpl b/scire/.smarty/templates/modules/Exporter/index.tpl
new file mode 100644
index 0000000..93cb8e5
--- /dev/null
+++ b/scire/.smarty/templates/modules/Exporter/index.tpl
@@ -0,0 +1,36 @@
+{include file="header.tpl" title="Server Information Exporter"}
+List of clients in group:
+<form name="form1" method="post" action="#">
+<select name="group" size="1">
+<option value=""></option>
+<!--
+foreach ($profile_list as $profile)
+ print "<option value=\"". $profile['profileid']."\">".$profile['profile_name']."</option>\n";
+?> -->
+</select>
+<input type="submit" name="ChangeView" value="Go, because i hate doing it with javascript.">
+</form>
+<form name="form2" method="post" action="ExportedData.php">
+<table><tr>
+ <th>HOSTNAME</th>
+ <th>STATUS</th>
+ <th>IP</th>
+ <th>MAC</th>
+ <th>ASSET ID</th>
+ <th>INSTALL TIME</th>
+ </tr>
+<!--
+foreach ($clients as $client)
+ print "<tr><td>".$client['hostname']."</td>\n";
+ print "<td>".$client['status']."</td>\n";
+ print "<td>".$client['ip']."</td>\n";
+ print "<td>".$client['mac']."</td>\n";
+ print "<td>".$client['assetid']."</td>\n";
+ print "<td>".$client['installtime']."</td>\n";
+?> -->
+</table>
+<hr>
+<input type="submit" name="ExportToXML" value="Export To XML">
+<input type="submit" name="ExportToCSV" value="Export To CSV">
+<input type="submit" name="ExportToTXT" value="Export To TXT">
+{include file="footer.tpl"}