Code

Updated Opsi.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 19 Aug 2008 13:46:30 +0000 (13:46 +0000)
committerhickert <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

gosa-plugins/opsi/admin/opsi/class_opsi_generic.inc
gosa-plugins/opsi/admin/opsi/generic.tpl [new file with mode: 0644]
gosa-plugins/opsi/admin/opsi/opsi_tabs.inc

index 7f0da6858a2d37d4e9ae3c9ecf749ec4c3d2d983..494df31c9e055be31c17e44e1f322ede4c9b23d7 100644 (file)
@@ -3,6 +3,11 @@
 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
new file mode 100644 (file)
index 0000000..4f432ce
--- /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>&lt;</td>
+  <td style="width:50%;"><h2>Available products</h2>
+   <select size="10" multiple style="width:100%;">
+   </select>
+  </td>
+ </tr>
+</table> 
index 23145e44ee625476d17d6ae13aaeefe94c67550c..fc013d7a7df0e446365b55fc9810a7f063fa8e7f 100644 (file)
@@ -2,7 +2,6 @@
 
 class opsi_tabs extends tabs
 {
-
 }