[open-ils-commits] r9264 -
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Apr 7 23:45:57 EDT 2008
Author: erickson
Date: 2008-04-07 23:08:52 -0400 (Mon, 07 Apr 2008)
New Revision: 9264
Modified:
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/list_funding_sources.html
Log:
adding some initial combobox test code for creating a new funding source
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/list_funding_sources.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/list_funding_sources.html 2008-04-08 02:52:40 UTC (rev 9263)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/list_funding_sources.html 2008-04-08 03:08:52 UTC (rev 9264)
@@ -6,11 +6,52 @@
<div id='oils-acq-list-header' class='container'>
<div id='oils-acq-list-header-label'>${_('Funding Sources')}</div>
+ <!--
<div id='oils-acq-list-header-actions'>
<a href='${c.oils.acq.prefix.value}/funding_source/create'>${_('New Funding Source')}</a>
</div>
+ -->
</div>
+
+<script type="text/javascript">
+ dojo.require("dijit.Dialog");
+ dojo.require("dijit.form.ComboBox");
+ function checkPw(fields) {
+ alert('name = ' + fields.name);
+ }
+</script>
+
+<div dojoType="dijit.form.DropDownButton">
+ <span>${('New Funding Source')}</span>
+ <div dojoType="dijit.TooltipDialog" execute="checkPw(arguments[0]);">
+ <table>
+ <tr>
+ <td><label for="name">${_('Name:')} </label></td>
+ <td><input dojoType="dijit.form.TextBox" name="name"></td>
+ </tr>
+ <tr>
+ <td><label for="loc">${_('Owning Location:')} </label></td>
+ <td>
+ <select name="owner" dojoType="dijit.form.ComboBox" autocomplete="false" >
+ <option >Illinois</option>
+ <option >New York</option>
+ <option >Texas</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="currency_type">${_('Currency Type:')}</label></td>
+ <td><input dojoType="dijit.form.TextBox" name="currency_type"></td>
+ </tr>
+ <tr>
+ <td><button dojoType=dijit.form.Button type="submit">${_('Create')}</button></td>
+ <td><button dojoType=dijit.form.Button type="submit">${_('Cancel')}</button></td>
+ </tr>
+ </table>
+ </div>
+</div>
+
<div id='oils-acq-funding-source-grid'> </div>
<script>
More information about the open-ils-commits
mailing list