blob: e4f8d223a402a242bd0e27d27827aaa082740e2e [file] [log] [blame]
<!--
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.
-->
<div ng-controller="WorkflowLaunch">
<form class="form-horizontal" role="form" name="workflowPropertiesForm" style="padding:10px;" ng-submit="saveWorkflowProperties();">
<legend>Workflow Properties</legend>
<div class="form-group">
<label class="col-lg-2 control-label"for="inputName" >Name</label>
<div class="col-lg-10">
<input class="form-control" type="text" id="inputName" name="name" placeholder="name" ng-model="workflowProperties.name" class="form-control" required>
</div>
</div>
<div class="form-group">
<label class="col-lg-2 control-label" for="inputTemplateId">Template Id</label>
<div class="col-lg-10">
<input class="form-control" type="url" id="inputTemplateId" name="templateId" placeholder="Template Id" ng-model="workflowProperties.templateId" class="form-control" disabled>
</div>
</div>
<div class="form-group">
<label class="col-lg-2 control-label" for="inputInstanceId">Instance Id</label>
<div class="col-lg-10">
<input class="form-control" type="url" id="inputInstanceId" name="instanceId" placeholder="Instance Id" ng-model="workflowProperties.instanceId" class="form-control" disabled>
</div>
</div>
<div class="form-group">
<label class="col-lg-2 control-label" for="inputDescription">Description</label>
<div class="col-lg-10">
<textarea class="form-control" class="form-control" id="inputDescription" name="description" placeholder="Description" ng-model="workflowProperties.description"></textarea>
</div>
</div>
<div class="form-group">
<label class="col-lg-2 control-label" for="inputMetadata">Metadata</label>
<div class="col-lg-10">
<textarea class="form-control" rows="5" class="form-control" id="inputMetadata" name="metadata" placeholder="Metadata" ng-model="workflowProperties.metadata"></textarea>
</div>
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default" href="#/exec">Cancel</a>
</div>
</div>
</form>
</div>