Download this file

createContainer.html.svn-base    71 lines (69 with data), 2.7 kB

<!-- 
/**
 * Copyright (c) 2013/2014, Intel Performance Learning Solutions Ltd, Intel Corporation.
 *
 * 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 (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.
 *
**/
 
 /**
  * Contains markup for create container functions
  * 
  * Created by Sridhar Voorakkara (sridhar.voorakkara@intel.com)
  *
 */
 -->
 
 <img src='resources/images/openstack.png'>
<h3>Repository Service Authentication</h3>
<table class='form'>
<tr>
<td class='form-label'>Select Repo : </td><td class='form-field'>	<select>
		<option value='DPES'>TIMBUS OpenStack</option>
		<option value='AWS'>Amazon WS</option>
	</select></td>
</tr>
<tr>
<td class='form-label'>Use DPES Credentials : </td><td class='form-field'><input type="checkbox" checked="checked" onchange='toggleLogin()'></td>
</tr>
<tr>
<td class='form-label'>User Name : </td><td class='form-field'><input id='usr' type="text" disabled></td>
</tr>
<tr>
<td class='form-label'>Password : </td><td class='form-field'><input id='pwd' type="password" disabled></td>
</tr>
<tr>
<td class='form-label'>Email : </td><td class='form-field'><input id='email' type="email" disabled></td>
</tr>
<tr><td colspan="2" align="center" style='color:red'><input type="button" value="Login"><br>Login successful!</td>
</table>
<div id="repoLoginResult"></div>
<p></p>
<table>
<tr>
<td>Select Business Process : </td>
<td><select><option value='bpSAP00001'>bpSAP00001</option></select></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="button" value="Create Container"></td>
</tr>
</table>
<br>
<div id='containerStatus'>Container successfully created in TIMBUS OpenStack for Business Process bpSAP00001. 
<br>
Path to the container : <a href='https://timbusproject.net/repository/bpSAP00001'>https://timbusproject.net/repository/bpSAP00001</a></div>
<script>
function toggleLogin() {
	document.getElementById('usr').disabled = !document.getElementById('usr').disabled;
	document.getElementById('pwd').disabled = !document.getElementById('pwd').disabled;
	document.getElementById('email').disabled = !document.getElementById('email').disabled;
}
</script>