barest stub layout for receiving materials. No real content yet.
authordjfiander <djfiander@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 30 Jul 2008 02:12:50 +0000 (02:12 +0000)
committerdjfiander <djfiander@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 30 Jul 2008 02:12:50 +0000 (02:12 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@10182 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/oilsweb/oilsweb/controllers/acq/receiving.py [new file with mode: 0644]
Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/receiving/base.html [new file with mode: 0644]
Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/receiving/process.html [new file with mode: 0644]
Open-ILS/web/oilsweb/oilsweb/templates/oils/default/menu.html

diff --git a/Open-ILS/web/oilsweb/oilsweb/controllers/acq/receiving.py b/Open-ILS/web/oilsweb/oilsweb/controllers/acq/receiving.py
new file mode 100644 (file)
index 0000000..3c48da8
--- /dev/null
@@ -0,0 +1,19 @@
+from oilsweb.lib.base import *
+import logging, pylons
+import oilsweb.lib.context, oilsweb.lib.util
+import oilsweb.lib.bib
+import oils.const, oils.utils.utils
+import osrf.net_obj
+
+import simplejson
+
+from osrf.ses import ClientSession
+from oils.event import Event
+from oils.org import OrgUtil
+from oilsweb.lib.request import RequestMgr
+
+class ReceivingController(BaseController):
+    
+    def process(self, **kwargs):
+        r = RequestMgr()
+        return r.render('acq/receiving/process.html')
diff --git a/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/receiving/base.html b/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/receiving/base.html
new file mode 100644 (file)
index 0000000..9bd815d
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- coding: utf-8 -*-
+<%inherit file='../base.html'/>
+<%def name='block_navigate()'>
+    <!--
+    <div id='oils-acq-picklist-nav-div'>
+        <div class='oils-acq-nav-link'><a href='${c.oils.acq.prefix.value}/po/search'>${_('PO Search')}</a></div>
+        <div class='oils-acq-nav-link'><a href='${c.oils.acq.prefix.value}/po/li_search'>${_('Lineitem Search')}</a></div>
+        <div class='oils-acq-nav-link'><a href='${c.oils.acq.prefix.value}/po/marc_upload'>${_('Load Order Record')}</a></div>
+    </div>
+    <script>setSelectedNavLink('oils-acq-picklist-nav-div');</script>
+    -->
+</%def>
diff --git a/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/receiving/process.html b/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/receiving/process.html
new file mode 100644 (file)
index 0000000..fcb2654
--- /dev/null
@@ -0,0 +1,23 @@
+# -*- coding: utf-8 -*-
+<!-- 
+ vim:ts=4:sw=4:et:ft=mako: 
+-->
+<%inherit file='base.html'/>
+<%namespace file='../../common/jubgrid.html' name='jubgrid'/>
+
+<%def name="block_js()">
+    ${parent.block_js()}
+</%def>
+<%def name="page_title()">${_('Receiving')}</%def>
+
+<%def name="block_content()">
+
+<div dojoType="dijit.layout.LayoutContainer" style="height:100%">
+    <div dojoType="dijit.layout.ContentPane" layoutAlign="top">
+       <h1>Receiving Processing</h1>
+    </div>
+</div>
+</%def>
+<!-- Local Variables: -->
+<!-- mmm-classes: html-js -->
+<!-- End: -->
index 324c4f8..fcae02e 100644 (file)
                         </div>
                     </div>
                 </div>
+                <!-- ==========================================================================
+                     Receiving SubMenu
+                    ========================================================================== -->
+               <div dojoType="dijit.PopupMenuItem"
+                     iconClass="dijitEditorIcon dijitEditorIconCopy">
+                   <span>Receiving</span>
+                     <div dojoType="dijit.Menu">
+                        <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
+                            onClick="location.href = '${c.oils.core.prefix.value}/acq/receiving/process';">
+                            Receiving
+                        </div>
+                    </div>
+               </div>
             </div>
         </div>