[UI] Support UI partial control
[validation.git] / ui / src / main / webapp / app / AECBlueprintValidationUI / CommittedSubmissions / CommittedSubmissionsTemplate.html
diff --git a/ui/src/main/webapp/app/AECBlueprintValidationUI/CommittedSubmissions/CommittedSubmissionsTemplate.html b/ui/src/main/webapp/app/AECBlueprintValidationUI/CommittedSubmissions/CommittedSubmissionsTemplate.html
deleted file mode 100644 (file)
index b2e3838..0000000
+++ /dev/null
@@ -1,327 +0,0 @@
-<!--
-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;">
-
- <style>
-.grid {
-    width: 100%;
-    height: 400px;
-}
-
-.grid .ui-grid-header-cell {
-    text-align: center;
-}
-
-.icon-add-widget:before {
-    content: "\e717";
-}
-
-.ui-grid-icon-angle-down {
-    margin-top: 5px;
-}
-
-body {
-    font-size: 13px;
-}
-</style>
-
- <h1 class="heading-page">Committed Submissions</h1>
-
- <br>
-
- <div>
-  <label style="float: left; margin-top: 10px; margin-right: 10px;">Submission
-   Id:</label>
-  <div class="form-field form-field__glued pull-left size-onefifth"
-   style="float: left; width: 220px; margin-right: 20px;">
-   <input ng-model="filterSubmission.submissionId" type="text"
-    placeholder="Search for submission id?"
-    style="margin-top: 5px; width: 220px;">
-  </div>
-
-  <label style="float: left; margin-top: 10px; margin-right: 10px;">General
-   matching string:</label>
-  <div class="form-field form-field__glued pull-left size-onefifth"
-   style="float: left; width: 260px; margin-right: 40px;">
-   <input ng-model="filterGeneralMatch" type="text" placeholder="?"
-    style="margin-top: 5px; width: 260px;">
-  </div>
-
-  <div style="float: right;">
-   <button style="margin-left: 25px; margin-top: 4px;" type="submit"
-    class="btn btn-alt btn-small"
-    ng-click="refreshCommittedSubmissions();">Refresh</button>
-  </div>
-
-  <div ui-i18n="en"
-   class="grid ui-grid ng-isolate-scope grid1560525896761" id="grid1"
-   ui-grid="gridOptions" ui-grid-pagination="">
-   <!-- TODO (c0bra): add "scoped" attr here, eventually? -->
-   <style ui-grid-style="" class="ng-binding">
-.grid1560525896761 {
-    /* Styles for the grid */
-
-}
-
-.grid1560525896761 .ui-grid-row, .grid1560525896761 .ui-grid-cell,
-    .grid1560525896761 .ui-grid-cell .ui-grid-vertical-bar {
-    height: 30px;
-}
-
-.grid1560525896761 .ui-grid-row:last-child .ui-grid-cell {
-    border-bottom-width: 0px;
-}
-
-/*
-    .ui-grid[dir=rtl] .ui-grid-viewport {
-      padding-left: px;
-    }
-    */
-.grid1560525896761 .ui-grid-coluiGrid-000W {
-    min-width: 119px;
-    max-width: 119px;
-}
-
-.grid1560525896761 .ui-grid-coluiGrid-000X {
-    min-width: 119px;
-    max-width: 119px;
-}
-
-.grid1560525896761 .ui-grid-coluiGrid-000Y {
-    min-width: 119px;
-    max-width: 119px;
-}
-
-.grid1560525896761 .ui-grid-coluiGrid-000Z {
-    min-width: 118px;
-    max-width: 118px;
-}
-
-.grid1560525896761 .ui-grid-coluiGrid-0010 {
-    min-width: 118px;
-    max-width: 118px;
-}
-
-.grid1560525896761 .ui-grid-coluiGrid-0011 {
-    min-width: 118px;
-    max-width: 118px;
-}
-
-.grid1560525896761 .ui-grid-coluiGrid-0012 {
-    min-width: 118px;
-    max-width: 118px;
-}
-
-.grid1560525896761 .ui-grid-coluiGrid-0013 {
-    min-width: 118px;
-    max-width: 118px;
-}
-
-.grid1560525896761 .ui-grid-coluiGrid-0014 {
-    min-width: 118px;
-    max-width: 118px;
-}
-
-.grid1560525896761 .ui-grid-render-container-body .ui-grid-canvas {
-    width: 1065px;
-    height: 0px;
-}
-
-.grid1560525896761 .ui-grid-render-container-body .ui-grid-header-canvas
-    {
-    width: 1080px;
-}
-
-.grid1560525896761 .ui-grid-render-container-body .ui-grid-header-canvas
-    {
-    height: inherit;
-}
-
-.grid1560525896761 .ui-grid-render-container-body .ui-grid-viewport {
-    width: 1080px;
-    height: 338px;
-}
-
-.grid1560525896761 .ui-grid-render-container-body .ui-grid-header-viewport
-    {
-    width: 1080px;
-}
-
-.grid1560525896761 .ui-grid-render-container-body .ui-grid-footer-canvas
-    {
-    width: 1080px;
-}
-
-.grid1560525896761 .ui-grid-render-container-body .ui-grid-footer-viewport
-    {
-    width: 1080px;
-}
-
-.grid1560525896761 .ui-grid-footer-aggregates-row {
-    height: 30px;
-}
-
-.grid1560525896761 .ui-grid-footer-info {
-    height: 30px;
-}
-
-.grid1560525896761 .ui-grid-coluiGrid-000W {
-    min-width: 119px;
-    max-width: 119px;
-}
-
-.grid1560525896761 .ui-grid-coluiGrid-000X {
-    min-width: 119px;
-    max-width: 119px;
-}
-
-.grid1560525896761 .ui-grid-coluiGrid-000Y {
-    min-width: 119px;
-    max-width: 119px;
-}
-
-.grid1560525896761 .ui-grid-coluiGrid-000Z {
-    min-width: 118px;
-    max-width: 118px;
-}
-
-.grid1560525896761 .ui-grid-coluiGrid-0010 {
-    min-width: 118px;
-    max-width: 118px;
-}
-
-.grid1560525896761 .ui-grid-coluiGrid-0011 {
-    min-width: 118px;
-    max-width: 118px;
-}
-
-.grid1560525896761 .ui-grid-coluiGrid-0012 {
-    min-width: 118px;
-    max-width: 118px;
-}
-
-.grid1560525896761 .ui-grid-coluiGrid-0013 {
-    min-width: 118px;
-    max-width: 118px;
-}
-
-.grid1560525896761 .ui-grid-coluiGrid-0014 {
-    min-width: 118px;
-    max-width: 118px;
-}
-
-.table-container {
-    display: inline-block;
-    height: 400px;
-    padding-top: 1.875em;
-    position: relative;
-}
-
-.table-container>div {
-    border-color: #888;
-    border-style: solid;
-    border-width: 1px 1px 2px 1px;
-    height: 1.7em;
-    left: 0;
-    position: absolute;
-    right: 0;
-    top: 0;
-}
-
-table {
-    display: block;
-    height: 400px;
-    overflow-y: auto;
-}
-
-th {
-    padding: 0 5px;
-    text-align: center;
-}
-
-th:first-child>div {
-    border-left: none;
-    padding-left: 7px;
-}
-
-th>div {
-    border-left: 2px solid #888;
-    line-height: 1.875em;
-    margin-left: -6px;
-    padding-left: 5px;
-    position: absolute;
-    top: 0;
-}
-
-td {
-    border-color: #888;
-    border-style: solid;
-    border-width: 0 1px 2px 1px;
-    padding: 5px;
-}
-</style>
-   <div class="table-container">
-    <table cellspacing="0">
-     <thead>
-      <tr>
-       <th>Id&nbsp;</th>
-       <th>Status&nbsp;</th>
-       <th>Blueprint&nbsp;</th>
-       <th>Version</th>
-       <th>Layer&nbsp;</th>
-       <th>Desired Timeslot&nbsp;</th>
-       <th>Url of result&nbsp;</th>
-      </tr>
-     </thead>
-     <tbody>
-      <tr class="border_bottom"
-       ng-repeat="submission in submissions | filter:filterGeneralMatch | filter:filterSubmission">
-       <td style="padding-left: 10px; font-size: 15px; width: 13%;">{{
-        submission.submissionId }}</td>
-       <td style="padding-left: 10px; font-size: 15px; width: 13%;">{{
-        submission.submissionStatus }}</td>
-       <td style="padding-left: 10px; font-size: 15px; width: 13%;">{{
-        submission.blueprintInstanceForValidation.blueprint.blueprintName
-        }}</td>
-       <td style="padding-left: 10px; font-size: 15px; width: 13%;">{{
-        submission.blueprintInstanceForValidation.version }}</td>
-       <td style="padding-left: 10px; font-size: 15px; width: 13%;"><a
-        href="#" data-toggle="tooltip"
-        title="{{submission.blueprintInstanceForValidation.layerDescription}}">{{
-         submission.blueprintInstanceForValidation.layer }}</a></td>
-       <td style="padding-left: 10px; font-size: 15px; width: 13%;">Lab:
-        {{ submission.timeslot.lab.lab }} Start date and time: {{
-        submission.timeslot.startDateTime }} <!-- duration(in sec) :
-        {{submission.timeslot.duration}}-->
-       </td>
-       <td style="padding-left: 10px; font-size: 15px; width: 13%;"><a
-        href="{{submission.nexusResultUrl }}">{{
-         submission.nexusResultUrl }}</a></td>
-      </tr>
-     </tbody>
-    </table>
-
-   </div>
-  </div>
- </div>
-
- <script>
- $(document).ready(function(){
-  $('[data-toggle="tooltip"]').tooltip();
- });
- </script>
-
-</div>
\ No newline at end of file