gsoc2013/app/views/index.sidenavbar.html (29 lines of code) (raw):

<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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. --> <form role="form" ng-controller="RegistryConnection" ng-submit="connectToRegistry()"> <legend>Connect to Airavata</legend> <div class="form-group"> <label for="registryURL">Registry URL</label> <input type="url" class="form-control" id="registryURL" placeholder="http://localhost:8080/airavata-registry/api" ng-model="registry.url" required> </div> <div class="form-group"> <label for="gatewayName">Gateway</label> <input type="text" class="form-control" id="gatewayName" placeholder="default" ng-model="registry.gateway" required> </div> <div class="form-group"> <label for="userName">Username</label> <input type="text" class="form-control" id="userName" placeholder="admin" ng-model="registry.username" required> </div> <div class="form-group"> <label for="password">Password</label> <input type="password" class="form-control" id="password" placeholder="Password" ng-model="registry.password" required> </div> <div class="checkbox"> <label> <input type="checkbox" ng-model="newUserFlag">Create New User </label> </div> <div class="form-group" ng-show="newUserFlag"> <label for="confirmPassword">Confirm Password</label> <input type="confirmPassword" class="form-control" id="confirmPassword" placeholder="Password" ng-model="confirmPassword" required> </div> <button type="submit" class="btn btn-default">Connect</button> </form>