summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3e920ea)
raw | patch | inline | side by side (parent: 3e920ea)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Aug 2008 13:46:30 +0000 (13:46 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Aug 2008 13:46:30 +0000 (13:46 +0000) |
-Added opsi template
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12247 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12247 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/opsi/admin/opsi/class_opsi_generic.inc | patch | blob | history | |
gosa-plugins/opsi/admin/opsi/generic.tpl | [new file with mode: 0644] | patch | blob |
gosa-plugins/opsi/admin/opsi/opsi_tabs.inc | patch | blob | history |
diff --git a/gosa-plugins/opsi/admin/opsi/class_opsi_generic.inc b/gosa-plugins/opsi/admin/opsi/class_opsi_generic.inc
index 7f0da6858a2d37d4e9ae3c9ecf749ec4c3d2d983..494df31c9e055be31c17e44e1f322ede4c9b23d7 100644 (file)
class opsi_generic extends plugin
{
+ public function execute()
+ {
+ $smarty = get_smarty();
+ return($smarty->fetch(get_template_path("generic.tpl",TRUE,dirname(__FILE__))));
+ }
}
diff --git a/gosa-plugins/opsi/admin/opsi/generic.tpl b/gosa-plugins/opsi/admin/opsi/generic.tpl
--- /dev/null
@@ -0,0 +1,30 @@
+
+<h2>Opsi host</h2>
+
+
+<table style="width: 100%;">
+ <tr>
+ <td colspan="2">
+ <table>
+ <tr>
+ <td>{t}Boot product{/t}</td>
+ <td>
+ <select name="opsi_netboot_product">
+ </select>
+ </td>
+ </tr>
+ </table>
+ <td>
+ </tr>
+ <tr>
+ <td style="width:50%;"><h2>Installed products</h2>
+ <select size="10" multiple style="width:100%;">
+ </select>
+ </td>
+ <td><</td>
+ <td style="width:50%;"><h2>Available products</h2>
+ <select size="10" multiple style="width:100%;">
+ </select>
+ </td>
+ </tr>
+</table>
diff --git a/gosa-plugins/opsi/admin/opsi/opsi_tabs.inc b/gosa-plugins/opsi/admin/opsi/opsi_tabs.inc
index 23145e44ee625476d17d6ae13aaeefe94c67550c..fc013d7a7df0e446365b55fc9810a7f063fa8e7f 100644 (file)
class opsi_tabs extends tabs
{
-
}