blob: 0ef967d0e2fdec0207946d7d011b2f50caf15035 [file] [log] [blame]
<%--
Document : businessChooser
Created on : Apr 24, 2013, 6:25:00 PM
Author : Alex O'Ree
this page is meant to be included via jsp:include
/*
* Copyright 2001-2008 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
--%>
<%@page import="org.apache.juddi.webconsole.resources.ResourceLoader"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<div class="modal hide fade container " id="businessChooser" tabindex="100">
<div class="modal-header">
<a href="javascript:$('#businessChooser').modal('hide');" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3><%=ResourceLoader.GetResource(session, "items.business.chooser")%> </h3>
</div>
<div class="modal-body">
<table class="table-bordered table-striped">
<tr>
<td>
<table>
<tr><td><%=ResourceLoader.GetResource(session, "totals.records")%></td><td><span id="totalrecordsBusiness"></span></td></tr>
<tr><td><%=ResourceLoader.GetResource(session, "totals.recordsreturned")%></td><td><span id="displayrecordsBusiness"></span></td></tr>
<tr><td><%=ResourceLoader.GetResource(session, "totals.offset")%></td><td><span id="offsetBusiness">0</span></td></tr>
</table>
</td>
<td>
<table>
<tr><td><%=ResourceLoader.GetResource(session, "items.name")%></td><td><input type="text" id="name_business" value="%" ></td></tr>
<tr><td><%=ResourceLoader.GetResource(session, "items.lang")%></td><td><input type="text" id="lang_business" ></td></tr>
</table>
</td>
</tr>
</table>
<a href="javascript:pagedownChooserBusiness();"><i class="icon-circle-arrow-left disabled icon-2x" id="pageupBusiness"></i></a>
<a href="javascript:reloadBusinessModal();"><i class="icon-refresh icon-2x"></i></a>
<a href="javascript:pageupChooserBusiness();"><i class="icon-circle-arrow-right disabled icon-2x" id="pagedownBusiness"></i></a>
<div id="businesslist">
<img src="img/bigrollergreen.gif" title="Loading"/>
</div>
<script src="js/businessChooser.js"></script>
<script type="text/javascript">
$("#businessChooser").keydown(function(e) {
if (e.which == 37) { // left
pagedownChooserBusiness();
}
else if (e.which == 39) { // right
pageupChooserBusiness();
}
});
$('.edit').editable(function(value, settings) {
window.console && console.log(value + this + settings);
reloadBusinessModal();
// RenderTmodelListBySearch('%', offset, maxrecords);
return(value);
}, {
type: 'text',
submit: i18n_ok
});
//only init the data when required reloadTmodelModal();
</script>
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal"><%=ResourceLoader.GetResource(session, "actions.cancel")%></a>
<a href="javascript:$('#businessChooser').modal('hide');" class="btn btn-primary" data-dismiss="modal"><%=ResourceLoader.GetResource(session, "actions.select")%></a>
</div>
</div>