Code

Added opsi files
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 28 Aug 2008 13:13:53 +0000 (13:13 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 28 Aug 2008 13:13:53 +0000 (13:13 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12303 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/opsi/admin/opsi/opsiware.tpl [new file with mode: 0644]
gosa-plugins/opsi/admin/opsi/tabs_prodconfig.inc [new file with mode: 0644]
gosa-plugins/opsi/admin/opsi/test [new file with mode: 0644]

diff --git a/gosa-plugins/opsi/admin/opsi/opsiware.tpl b/gosa-plugins/opsi/admin/opsi/opsiware.tpl
new file mode 100644 (file)
index 0000000..cdb809a
--- /dev/null
@@ -0,0 +1,25 @@
+{if $init_failed}
+       <h2>{t}Information{/t}</h2>
+       <font style='color: #FF0000;'>{msgPool type=siError p=$message}</font>
+       <input type='submit' name='reinit' value="{t}Retry{/t}">
+{else}
+       {if $type == 1}
+               <h2><img class='center' alt='' src='plugins/opsi/images/hardware_info.png'>&nbsp;{t}Hardware information{/t}</h2>
+               <a href='{$plug}&amp;type=0'>Software info</a>
+       {else}
+               <h2><img class='center' alt='' src='plugins/opsi/images/software_info.png'>&nbsp;{t}Software information{/t}</h2>
+               <a href='{$plug}&amp;type=1'>Hardware info</a>
+       {/if}
+
+       {foreach from=$info item=item key=key}
+       <div style='background-color: #E8E8E8; width: 100%; border: 2px dotted #CCCCCC;'>
+       <h2>{t}Device{/t} { $key+1 }</h2>
+               {foreach from=$item key=name item=value}
+                       <div style="text-transform:lowercase;width:30%; float: left; ">{$name}:&nbsp;</div> 
+                       <div style="width:70%; float: right;background-color: #DADADA;">{$value.0.VALUE}&nbsp;</div>
+                       <div style='clear: both;'></div>
+               {/foreach}
+       </div>
+       <br>
+       {/foreach}
+{/if}
diff --git a/gosa-plugins/opsi/admin/opsi/tabs_prodconfig.inc b/gosa-plugins/opsi/admin/opsi/tabs_prodconfig.inc
new file mode 100644 (file)
index 0000000..9004f30
--- /dev/null
@@ -0,0 +1,6 @@
+<?php
+
+class tabs_opsiProdConfig extends tabs{
+}
+
+?>
diff --git a/gosa-plugins/opsi/admin/opsi/test b/gosa-plugins/opsi/admin/opsi/test
new file mode 100644 (file)
index 0000000..6beb2e2
--- /dev/null
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+Simple present.
+
+ He works at home.
+
+Simple past.
+
+ He worked at home.
+
+Present progressive.
+
+ He is working at home.
+
+Past progressive. 
+
+ He was working at home.
+
+Present perfect.
+
+ He has worked at home.
+
+Past prefect.
+
+ He had worked at home.
+
+Present perfect progressive.
+
+ He has been wokring at home.
+
+Past perfect progressive.
+ He had been working at home.
+
+