diff options
Diffstat (limited to 'cvp/3rd_party/static/testapi-ui/components/application')
-rw-r--r-- | cvp/3rd_party/static/testapi-ui/components/application/application.html | 72 | ||||
-rw-r--r-- | cvp/3rd_party/static/testapi-ui/components/application/applicationController.js | 18 |
2 files changed, 89 insertions, 1 deletions
diff --git a/cvp/3rd_party/static/testapi-ui/components/application/application.html b/cvp/3rd_party/static/testapi-ui/components/application/application.html index 5d57fe78..dc27585d 100644 --- a/cvp/3rd_party/static/testapi-ui/components/application/application.html +++ b/cvp/3rd_party/static/testapi-ui/components/application/application.html @@ -124,6 +124,62 @@ urpose. Once we understand more about your product or service, we can determine </div> </div> <div class="field text col-md-4"> + <label class="left">Description</label> + <i uib-tooltip="Product Description" class="glyphicon glyphicon-question-sign opnfv-blue"></i> + <div class="middleColumn"> + <input type="text" class="text form-control" ng-model="ctrl.description" /> + </div> + </div> + <div class="field text col-md-4"> + <label class="left">SUT Version</label> + <i uib-tooltip="SUT Version" class="glyphicon glyphicon-question-sign opnfv-blue"></i> + <div class="middleColumn"> + <input type="text" class="text form-control" ng-model="ctrl.sut_version" /> + </div> + </div> + <div class="field text col-md-4"> + <label class="left">SUT HW Version</label> + <i uib-tooltip="SUT HW Version - leave blank if not applicable" class="glyphicon glyphicon-question-sign opnfv-blue"></i> + <div class="middleColumn"> + <input type="text" class="text form-control" ng-model="ctrl.sut_hw_version" /> + </div> + </div> + <div class="field text col-md-4"> + <label class="left">OVP Version</label> + <i uib-tooltip="OVP Version" class="glyphicon glyphicon-question-sign opnfv-blue"></i> + <div class="middleColumn"> + <input type="text" class="text form-control" ng-model="ctrl.ovp_version" /> + </div> + </div> + <div class="field text col-md-4"> + <label class="left">OVP Category</label> + <i uib-tooltip="OVP Category" class="glyphicon glyphicon-question-sign opnfv-blue"></i> + <div class="middleColumn"> + <input type="text" class="text form-control" ng-model="ctrl.ovp_category" /> + </div> + </div> + <div class="field text col-md-4"> + <label class="left">Company Logo</label> + <i uib-tooltip="Company Logo" class="glyphicon glyphicon-question-sign opnfv-blue"></i> + <div class="middleColumn"> + <input type="text" class="text form-control" ng-model="ctrl.company_logo" /> + </div> + </div> + <div class="field text col-md-4"> + <label class="left">Approve Date</label> + <i uib-tooltip="Approve Date - YYYY-MM-DD" class="glyphicon glyphicon-question-sign opnfv-blue"></i> + <div class="middleColumn"> + <input type="text" class="text form-control" ng-model="ctrl.approve_date" /> + </div> + </div> + <div class="field text col-md-4"> + <label class="left">Approved</label> + <i uib-tooltip="Approved - insert true or false" class="glyphicon glyphicon-question-sign opnfv-blue"></i> + <div class="middleColumn"> + <input type="text" class="text form-control" ng-model="ctrl.approved" /> + </div> + </div> + <div class="field text col-md-4"> <label class="left">Location</label> <i uib-tooltip="Location" class="glyphicon glyphicon-question-sign opnfv-blue"></i> <div class="middleColumn"> @@ -179,6 +235,14 @@ urpose. Once we understand more about your product or service, we can determine <th>Primary phone number</th> <th>User ID Type</th> <th>User ID</th> + <th>Description</th> + <th>SUT version</th> + <th>SUT HW version</th> + <th>OVP version</th> + <th>OVP category</th> + <th>Company logo</th> + <th>Approve date</th> + <th>Approved</th> <th>Location</th> <th>Operation</th> </tr> @@ -230,6 +294,14 @@ urpose. Once we understand more about your product or service, we can determine <td>{{ app.prim_phone }}</td> <td>{{ app.id_type }}</td> <td>{{ app.user_id }}</td> + <td>{{ app.description }}</td> + <td>{{ app.sut_version }}</td> + <td>{{ app.sut_hw_version }}</td> + <td>{{ app.ovp_version }}</td> + <td>{{ app.ovp_category }}</td> + <td>{{ app.company_logo }}</td> + <td>{{ app.approve_date }}</td> + <td>{{ app.approved }}</td> <td><span popover-enable="app.lab_location != 'internal'" uib-popover-template="ctrl.lab_tpl" popover-title="Lab Info" popover-placement="top" popover-trigger="mouseenter">{{ app.lab_location | labLocation}}</span><i ng-if="app.lab_location != 'internal'" class="glyphicon glyphicon-info-sign opnfv-blue"></i></td> <td><a ng-click="ctrl.deleteApp(app._id)" class="badge badge-info"><i class="glyphicon glyphicon-remove" ></i></a></td> </tr> diff --git a/cvp/3rd_party/static/testapi-ui/components/application/applicationController.js b/cvp/3rd_party/static/testapi-ui/components/application/applicationController.js index f392d05e..32f1053e 100644 --- a/cvp/3rd_party/static/testapi-ui/components/application/applicationController.js +++ b/cvp/3rd_party/static/testapi-ui/components/application/applicationController.js @@ -43,7 +43,15 @@ ctrl.prim_address = null; ctrl.prim_phone = null; ctrl.id_type = "Linux Foundation"; - ctrl.user_id = null; + ctrl.user_id = null; + ctrl.description = null; + ctrl.sut_version = null; + ctrl.sut_hw_version = null; + ctrl.ovp_version = "2018.01"; + ctrl.ovp_category = "Infrastructure"; + ctrl.company_logo = null; + ctrl.approve_date = null; + ctrl.approved = "false"; ctrl.lab_location="internal"; ctrl.lab_name = null; ctrl.lab_email=null; @@ -78,6 +86,14 @@ "prim_phone": ctrl.prim_phone, "id_type": ctrl.id_type, "user_id": ctrl.user_id, + "description": ctrl.description, + "sut_version": ctrl.sut_version, + "sut_hw_version": ctrl.sut_hw_version, + "ovp_version": ctrl.ovp_version, + "ovp_category": ctrl.ovp_category, + "company_logo": ctrl.company_logo, + "approve_date": ctrl.approve_date, + "approved": ctrl.approved, "lab_location": ctrl.lab_location, "lab_email": ctrl.lab_email, "lab_address": ctrl.lab_address, |