[UI] Support UI partial control
[validation.git] / ui / src / main / webapp / app / BluvalUI / NewSubmission / NewSubmissionTemplate.html
diff --git a/ui/src/main/webapp/app/BluvalUI/NewSubmission/NewSubmissionTemplate.html b/ui/src/main/webapp/app/BluvalUI/NewSubmission/NewSubmissionTemplate.html
new file mode 100644 (file)
index 0000000..049c8bc
--- /dev/null
@@ -0,0 +1,85 @@
+<!--
+Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
+
+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.
+-->
+
+<div id="page-content" class="content" style="padding: 25px;">
+    <div>
+        <h1 class="heading-page">New Submission</h1>
+        <h2 class="heading-small">Submission form</h2>
+
+        <div>
+            <div class="form-row">
+                <label for="textinputID-3a">Select Blueprint: </label> <select
+                    ng-model="selectedBlueprintName"
+                    ng-change="selectedBluePrintNameChange()"
+                    ng-options="n for n in blueprintNames">
+                </select>
+            </div>
+        </div>
+        <br>
+
+        <div>
+            <div class="form-row">
+                <label for="textinputID-3a">Select Blueprint
+                    Version: </label> <select
+                    ng-model="selectedBlueprintVersion"
+                    ng-change="selectedBluePrintVersionChange()"
+                    ng-options="y for y in blueprintVersions">
+                </select>
+            </div>
+        </div>
+        <br>
+
+        <div>
+            <div class="form-row">
+                <label for="textinputID-3a">Select Blueprint
+                    Layer: </label> <select ng-model="selectedBlueprintLayer"
+                    ng-change="selectedBluePrintLayerChange()"
+                    ng-options="l for l in blueprintLayers">
+                </select>
+            </div>
+        </div>
+        <br>
+
+        <div>
+            <div class="form-row">
+                <label for="textinputID-3a">Optional Test Cases: </label> <select ng-model="selectedOptional"
+                    ng-change="selectedOptionalChange()"
+                    ng-options="l for l in optionals">
+                </select>
+            </div>
+        </div>
+        <br>
+
+
+        <div>
+            <div class="form-row">
+                <label for="textinputID-3a">Select Timeslot: </label> <select
+                    ng-model="selectedDeclerativeTimeslot"
+                    ng-options="v for v in declerativeTimeslots">
+                </select>
+            </div>
+        </div>
+        <br>
+
+        <div class="fn-ebz-container"
+            style="position: relative; top: 25px;">
+            <button href="javascript:void(0)" id="addbtn"
+                style="bottom: -17px;" size="small"
+                att-accessibility-click="13,32"
+                class="btn btn-alt btn-small" ng-click="submit();">Submit</button>
+        </div>
+    </div>
+</div>