You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rl...@apache.org on 2017/06/23 13:29:21 UTC
[26/42] ambari git commit: AMBARI-21330.Remove slider view from
Ambari-3.0.0(Venkata Sairam)
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/styles/app.less
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/styles/app.less b/contrib/views/slider/src/main/resources/ui/app/styles/app.less
deleted file mode 100644
index a8eecc8..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/styles/app.less
+++ /dev/null
@@ -1,303 +0,0 @@
-/**
- * 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.
- */
-
-@import-once 'common.less';
-
-.app-page {
- .wrap-tabs {
- margin-top: 30px;
- }
- .quick-links-wrapper {
- .nav-pills.move {
- float: right;
- width:135px;
- &>li {
- position: absolute;
- }
- }
- .dropdown-submenu {
- &> a:after {
- border-left-color: #333;
- }
- }
- .nav li.dropdown.open {
- .dropdown-toggle{
- color: #005580;
- background-color: #eeeeee;
- border-color: #eeeeee;
- -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
- -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
- box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
- }
- a:hover .caret {
- border-top-color: #005580;
- border-bottom-color: #005580;
- }
- .caret {
- border-top-color: #005580;
- border-bottom-color: #005580;
- }
- }
- }
-}
-
-.app_summary {
- padding-left: 0;
- table {
- &.no-borders {
- td {
- border-width: 0;
- }
- }
- td:nth-child(2) span{
- word-break: break-all;
- }
- }
- .panel-heading {
- font-weight: 700;
- }
- .panel-summary {
- min-height: 400px;
- td:first-child {
- text-align: right;
- }
- }
- .panel-components {
- .status {
- display: inline-block;
- width: 25px;
- }
- .icon-ok-sign {
- color: #5ab400;
- }
- .icon-warning-sign {
- color: #ff0000;
- }
- .panel-body {
- overflow-y: auto;
- }
- }
- .panel-link {
- margin-top: -5px;
- margin-right: -7px;
- }
- .column-left {
- padding-left: 0;
- }
- .column-right {
- padding-right: 0;
- }
-}
-
-.chart-container {
- cursor: default;
-
- position: relative;
- margin: 20px 15px 0px 15px;
-
- .chart {
- position: relative;
- z-index: 1;
- }
- .chart-y-axis {
- position: absolute;
- top: 0;
- bottom: 0px;
- width: 100px;
- z-index: 2;
- margin-top: 15px;
- }
- .chart-x-axis {
- position: absolute;
- top: 180px;
- left: 35%;
- width: 30%;
- z-index: 2;
- }
- .x_tick {
- margin-top: 5px;
- .title {
- padding: 0 2px 0 2px;
- opacity: 1 !important;
- top: 148px;
- }
- }
- svg {
- g {
- g:nth-child(1) {
- display: none;
- }
- }
- }
- text {
- font-weight: 700;
- opacity: 1 !important;
- }
- .chart-legend {
- font-family: 'Courier New';
- position: absolute;
- top: 180px;
- z-index: 3;
- }
- .rickshaw_legend {
- background-color: #999 !important;
- li:hover {
- background-color: #999 !important;
- }
- }
- .rickshaw_legend:empty {
- padding: 0;
- }
- .rickshaw_graph {
- .x_tick {
- .title {
- bottom: -6px;
- opacity: 0.75;
- }
- }
- }
- .chart-overlay {
- position: absolute;
- top: 0;
- bottom: 0;
- width: 100%;
- z-index: 5;
- }
- .chart-title {
- text-align: center;
- margin-top: 20px;
- }
-}
-
-.app_configs {
- a.accordion-toggle {
- display: block;
- }
- .panel-heading{
- .icon{
- width: 24px;
- }
- }
- .row {
- .table-row();
- textarea {
- height: 200px;
- padding-left: 5px;
- padding-right: 5px;
- resize: none;
- }
- textarea[disabled] {
- cursor: not-allowed;
- background-color: #eeeeee;
- }
- input[disabled] {
- cursor: not-allowed;
- background-color: #eeeeee;
- }
- .property-name {
- word-wrap: break-word;
- }
- }
-}
-
-.app-alerts {
- overflow-y: auto;
- ul {
- padding-left: 0;
- margin-bottom: 0;
- }
- li {
- border-bottom: 1px solid #eee;
- list-style: none;
- padding: 5px;
- background-position: 14px 9px;
- background-repeat: no-repeat;
- .date-time {
- float: right;
- }
- p {
- margin-bottom: 2px;
- }
- .container-fluid {
- padding-left: 10px;
- padding-right: 10px;
- }
- .title {
- font-weight: normal;
- font-size: 13px;
- }
- .row-fluid [class*="span"] {
- min-height: 0px;
- }
- .date-time {
- color: #999;
- font-style: italic;
- font-size: small;
- text-align: right;
- }
- .message {
- font-size: 12px;
- color: #777;
- word-break: break-all;
- padding-right: 15px;
- }
- .serviceLink {
- padding-left: 7px;
- }
- }
- .icon-ok {
- color: #5AB400;
- }
- .icon-remove {
- color: #FF4B4B;
- }
- .icon-warning-sign {
- color: #FDB82F;
- }
- .icon-question-sign {
- color: #999;
- }
-}
-
-.flex-popup {
- .component-label {
- line-height: 28px;
- }
-}
-
-.view-user {
- line-height: 34px;
- padding-right: 10px;
-}
-
-.btn-primary {
- color: #ffffff;
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
- background-color: #006dcc;
- *background-color: #0044cc;
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
- background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
- background-image: -o-linear-gradient(top, #0088cc, #0044cc);
- background-image: linear-gradient(to bottom, #0088cc, #0044cc);
- background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
- background-repeat: repeat-x;
- border-color: #0044cc #0044cc #002a80;
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/styles/application.less
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/styles/application.less b/contrib/views/slider/src/main/resources/ui/app/styles/application.less
deleted file mode 100644
index 71b537e..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/styles/application.less
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * 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.
- */
-
-@import 'common.less';
-@import 'old-bootstrap.less';
-@import 'wizard.less';
-@import 'apps-table.less';
-@import 'app.less';
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/styles/application.styl
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/styles/application.styl b/contrib/views/slider/src/main/resources/ui/app/styles/application.styl
deleted file mode 100755
index a1a9008..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/styles/application.styl
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * 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.
- */
-@import 'nib'
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/styles/apps-table.less
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/styles/apps-table.less b/contrib/views/slider/src/main/resources/ui/app/styles/apps-table.less
deleted file mode 100644
index 928cf1f..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/styles/apps-table.less
+++ /dev/null
@@ -1,320 +0,0 @@
-/**
- * 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.
- */
-
-
-#slider-apps-table {
-
- #slider-table {
- border-bottom: 1px solid #ddd;
- border-left: 1px solid #ddd;
- border-right: 1px solid #ddd;
- margin-top: 10px;
- margin-bottom: 10px;
- font-size: 13px\9;
- table-layout: fixed;
-
- th {
- width: 17.5%!important;
- }
-
- select {
- height: 23px;
- margin-bottom: 10px;
- font-size: 75%;
- }
-
- .label-row {
- font-size: 0.9em;
- th {
- padding: 4px;
- border-bottom: none !important;
- }
- .active-sort {
- color: #555555;
- text-decoration: none;
- background-color: #e5e5e5;
- -webkit-box-shadow: inset 0 5px 8px rgba(0, 0, 0, 0.100);
- -moz-box-shadow: inset 0 5px 8px rgba(0, 0, 0, 0.100);
- box-shadow: inset 0 5px 8px rgba(0, 0, 0, 0.100);
- }
- }
-
- #filter-row {
- th {
- padding: 0 0 0 4px;
- }
- .active-filter {
- color: #555555;
- text-decoration: none;
- background-color: #e5e5e5;
- -webkit-box-shadow: inset 0 -5px 8px rgba(0, 0, 0, 0.05);
- -moz-box-shadow: inset 0 -5px 8px rgba(0, 0, 0, 0.05);
- box-shadow: inset 0 -5px 8px rgba(0, 0, 0, 0.05);
- }
- input {
- font-size: 12px;
- height: 24px;
- margin-bottom: 10px;
- }
- .filter-btn {
- color: #999999;
- font-size: 12px;
- line-height: 14px;
- padding-left: 6px;
- text-align: left;
- width: 100px;
- .icon-filter {
- color: #999999;
- }
- }
- }
- thead {
- background: none repeat scroll 0 0 #F8F8F8;
- border-top: 1px solid #ddd;
- }
- }
- .page-bar {
- border: 1px solid #E4E4E4;
- color: #7B7B7B;
- text-align: right;
- font-size: 12px;
- label {
- font-size: 12px;
- font-weight: normal;
- }
- div {
- display: inline-block;
- margin:0 10px;
- }
- .filtered-hosts-info, .selected-hosts-info {
- float: left;
- text-align: left;
- margin-top: 8px;
- margin-left: 17px;
- }
- .items-on-page {
- label {
- display:inline;
- }
- select {
- margin-bottom: 4px;
- margin-top: 4px;
- width:70px;
- font-size: 12px;
- height: 27px;
- padding: 4px 6px;
- }
- }
- .paging_two_button {
- a.paginate_disabled_next, a.paginate_disabled_previous {
- color: gray;
- &:hover {
- color: gray;
- text-decoration: none;
- cursor: default;
- }
- }
-
- a.paginate_next, a.paginate_previous {
- &:hover {
- text-decoration: none;
- cursor: pointer;
- }
- }
- a {
- padding:0 5px;
- }
- }
- }
- .box-header {
- margin-left: 0;
- .btn-group {
- float: left;
- }
- .btn.decommission {
- margin-left: 5px;
- }
- .btn.add-host-button {
- margin-bottom: 10px;
- margin-top: -5px;
- }
- .hosts-actions {
- margin-right: 10px;
- }
- .health-status-bar {
- font-size: 0.9em;
- margin-left: 0;
- color: #b4b4b4;
- a {
- text-decoration: none;
- }
- .category-item:hover {
- cursor: pointer;
- a {
- color: #ffffff;
- }
- }
- .active {
- a {
- color: #ffffff;
- }
- background-color: #888888;
- border-color: #888888;
- -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.25);
- -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.25);
- box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.25);
- }
- .category-item.active:hover {
- a {
- color: #ffffff;
- }
- }
- }
- }
-
- .filter-input-width{
- width:68%;
- font-weight: normal;
- }
- .table {
-
- thead {
- tr {
- th {
- border-bottom: none;
- }
- }
- }
-
- table-layout: fixed;
- th {
- border-top: none;
- }
- th, td {
- padding-left: 4px;
- padding-right: 4px;
- border-left-width: 0;
- }
- input[type="checkbox"] {
- margin: -2px 0 0 0;
- }
-
- .sorting_asc {
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAKQWlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUU9kWh8+9N73QEiIgJfQaegkg0jtIFQRRiUmAUAKGhCZ2RAVGFBEpVmRUwAFHhyJjRRQLg4Ji1wnyEFDGwVFEReXdjGsJ7601896a/cdZ39nnt9fZZ+9917oAUPyCBMJ0WAGANKFYFO7rwVwSE8vE9wIYEAEOWAHA4WZmBEf4RALU/L09mZmoSMaz9u4ugGS72yy/UCZz1v9/kSI3QyQGAApF1TY8fiYX5QKUU7PFGTL/BMr0lSkyhjEyFqEJoqwi48SvbPan5iu7yZiXJuShGlnOGbw0noy7UN6aJeGjjAShXJgl4GejfAdlvVRJmgDl9yjT0/icTAAwFJlfzOcmoWyJMkUUGe6J8gIACJTEObxyDov5OWieAHimZ+SKBIlJYqYR15hp5ejIZvrxs1P5YjErlMNN4Yh4TM/0tAyOMBeAr2+WRQElWW2ZaJHtrRzt7VnW5mj5v9nfHn5T/T3IevtV8Sbsz55BjJ5Z32zs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oyg12DPs4hnj4a4Qy//lfmvT8MFz6nPK0a0RupHrUfPjPmM3Xqx9MXwy4yX0+OFvyn+tveV0auffnf7vWdiycTwa9HrmT9K3qi+OfrW9m3nZOjk03dp76anit6rvj/2gf2h+2P0x5Hp7E/4T5WfjT93fAn88ngmbWbm3/eE8/syOll+AAAACXBIWXMAAAsTAAALEwEAmpwYAAABmElEQVQ4EdWSv0vDQBTH7y4ZUkKhTdtYHArOUvwPdHAVpeBY3PwH/BfEycF/wclR6NzBxUFxKrgokRLaSkmhTZr+ADWJ32s5DeXaSkHBW97du/c+73vvHiF/vaIooj+pyZYFAaTbtn0DuzR2YQBX1G63K57n7TQajfNlhRfCfN8/6na7u4AS13VPOp3O/iLgXBgAa0i+/Hh7J5RSEoYh6fV6FfjX5wGlMCQwgKpQNs0Lo4kdjUYEz77FvSIDSmGA7DmOU+SKxGJkukeRDfTwWPjjVo0fxH48Hic1TbtmjBX5c2F1WA/3rSAI7obDoSVif81+vyNWAmNQHgwGB6qqbqHxOUVRklDk
Q2ELCu+h+qJQKDzGUiZb6TPT6TTt9/uHABLeK947QFKE0RSyNg3DkM6c9AN0Xb9CwguUCNDXeKDQQyaTeZpVxc9SZVASQMk2frWFzyCTwUBDElqCmKZZxv10VmaIUmU8Bgmv+Xy+JNRxXzabraJfz3y/0mo2m2e1Wi2q1+sQG+VWgogkAKhlWaeY/pLw/T/7CTBQv9a27vsbAAAAAElFTkSuQmCC) no-repeat right 50%;
- }
- div.view-wrapper {
- input[type="checkbox"], .btn-group {
- margin-bottom: 9px;
- }
- }
-
- a.ui-icon-circle-close {
- float: right;
- opacity: 0.2;
- padding: 1px 0;
- position: relative;
- right: 0px;
- margin-top: 3px;
- z-index: 10;
- &:hover {
- opacity: 0.7;
- }
- }
- .notActive {
- a.ui-icon-circle-close {
- visibility: hidden;
- }
- }
- }
-
- .open-group > .dropdown-menu {
- display: block;
- }
- .nav-pills li.disabled {
- display: block;
- margin: 2px 0;
- padding: 8px 12px;
- line-height: 14px;
- }
- .box-footer .footer-pagination {
- float: right;
- .nav {
- margin-bottom: 0;
- }
- .dropdown {
- margin-top: 3px;
- }
- .dropdown {
- margin-top: 3px;
- }
- .dropdown select {
- width: 60px;
- }
- .page-listing a {
- line-height: 0;
- border: none;
- margin: 0 10px 0 0;
- cursor: pointer;
- color: #0088CC;
- padding: 8px 0;
- float: left;
- text-decoration: underline;
- }
- .page-listing a:hover {
- text-decoration: none;
- }
- .page-listing {
- width: 100px;
- .table {
- th.name {
- width: 300px;
- a.filter-label {
- width: 57px;
- display: block;
- float: left;
- }
- }
- }
- }
- }
- .host-components-expander {
- .icon-caret-right, .icon-caret-down {
- vertical-align: middle;
- margin-right: 5px;
- margin-bottom: 2px;
- text-decoration: none;
- }
- }
- .host-components {
- display: none;
- padding-left: 13px;
- }
- .sort-wrapper .column-name {
- cursor: pointer;
- padding-right: 18px;
- }
- .table-bordered {
- border-left:1px solid #dddddd;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/styles/common.less
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/styles/common.less b/contrib/views/slider/src/main/resources/ui/app/styles/common.less
deleted file mode 100644
index e9abd17..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/styles/common.less
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * 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.
- */
-
-
-.table-row() {
- margin: 10px 0;
-}
-
-html {
- overflow-y: scroll;
-}
-.icon-minus-sign {
- color: #FF4B4B;
-}
-.tooltip {
- z-index: 1500;
- .tooltip-inner {
- text-align: left;
- }
-}
-.popover {
- max-width: 800px;
- &.bottom {
- left: 5px;
- }
-}
-
-.slider-name-popover {
- max-width: 600px !important;
- .row {
- .table-row();
- }
-}
-
-a {
- cursor: pointer;
-}
-
-select {
- background-color: #ffffff;
- border: 1px solid #cccccc;
- color: #555555;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
-}
-
-.well {
- border-radius: 0px;
- -webkit-border-radius: 0px;
- -moz-border-radius: 0px;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
-}
-
-.nav-pills {
- &>li {
- &> a {
- border-radius: 0px;
- -webkit-border-radius: 0px;
- -moz-border-radius: 0px;
- }
- &.active {
- &> a, &> a:hover, &> a:focus {
- background-color: #666666;
-
- }
- }
- }
-}
-
-.slider-header {
- overflow: hidden;
- .box-header {
- padding-top: 20px;
- }
-}
-
-
-
-.modal {
- overflow-y: hidden;
-}
-.modal-backdrop {
- opacity: 0.8;
-}
-.modal-backdrop.in {
- opacity:0;
-}
-
-.error-message {
- font-weight: bold;
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/styles/old-bootstrap.less
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/styles/old-bootstrap.less b/contrib/views/slider/src/main/resources/ui/app/styles/old-bootstrap.less
deleted file mode 100644
index fde5768..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/styles/old-bootstrap.less
+++ /dev/null
@@ -1,164 +0,0 @@
-/**
- * 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.
- */
-
-
-.btn-area {
- .btn{
- display: inline-block;
- padding: 4px 14px;
- margin-bottom: 0;
- font-size: 14px;
- line-height: 20px;
- color: #333333;
- text-align: center;
- text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
- vertical-align: middle;
- cursor: pointer;
- background-color: #f5f5f5;
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
- background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
- background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
- background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
- background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
- background-repeat: repeat-x;
- border: 1px solid #bbbbbb;
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
- border-color: #e6e6e6 #e6e6e6 #bfbfbf;
- border-bottom-color: #a2a2a2;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
- -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
- }
- .btn:hover {
- color: #333333;
- text-decoration: none;
- background-color: #e6e6e6;
- background-position: 0 -15px;
- -webkit-transition: background-position 0.1s linear;
- -moz-transition: background-position 0.1s linear;
- -o-transition: background-position 0.1s linear;
- transition: background-position 0.1s linear;
- }
- .btn.active, .btn:active {
- background-color: #e6e6e6;
- background-color: #d9d9d9 \9;
- background-image: none;
- outline: 0;
- -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
- -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
- box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
- }
- .btn-success {
- color: #ffffff;
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
- background-color: #5bb75b;
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
- background-image: -webkit-linear-gradient(top, #62c462, #51a351);
- background-image: -o-linear-gradient(top, #62c462, #51a351);
- background-image: linear-gradient(to bottom, #62c462, #51a351);
- background-image: -moz-linear-gradient(top, #62c462, #51a351);
- background-repeat: repeat-x;
- border-color: #51a351 #51a351 #387038;
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
- }
- .btn.btn-success:hover, .btn-success:active, .btn-success.active, .btn-success.disabled, .btn-success[disabled] {
- color: #ffffff;
- background-color: #51a351;
- }
-}
-
-.modal-header {
- padding: 9px 15px;
- border-bottom: 1px solid #eee;
-}
-.modal-title {
- line-height: 30px;
- font-size: 24px;
- font-family: inherit;
- font-weight: bold;
- color: inherit;
- text-rendering: optimizelegibility;
-}
-.modal-body{
- padding: 15px;
-}
-.modal-footer {
- margin-top: 0px;
- padding: 14px 15px 15px;
- margin-bottom: 0;
- text-align: right;
- background-color: #f5f5f5;
- border-top: 1px solid #ddd;
- -webkit-border-radius: 0 0 6px 6px;
- -moz-border-radius: 0 0 6px 6px;
- border-radius: 0 0 6px 6px;
- -webkit-box-shadow: inset 0 1px 0 #ffffff;
- -moz-box-shadow: inset 0 1px 0 #ffffff;
- box-shadow: inset 0 1px 0 #ffffff;
-
- .btn-area();
-
-}
-.slider-app-title {
- font-style: italic;
- cursor: pointer;
-}
-
-.api-error {
- max-height: 403px;
- word-wrap: break-word;
- overflow: auto;
-}
-
-.dropdown-submenu {
- position:relative;
-}
-.dropdown-submenu>.dropdown-menu {
- top:0;
- left:-100%;
- margin-top:-6px;
- margin-left:-1px;
- -webkit-border-radius:6px 0 6px 6px;
- -moz-border-radius:6px 0 6px 6px;
- border-radius:6px 0 6px 6px;
-}
-.dropdown-submenu:hover>.dropdown-menu {
- display:block;
-}
-.dropdown-submenu>a:before {
- display:block;
- content:" ";
- float:left;
- width:0;
- height:0;
- border-color:transparent;
- border-style:solid;
- border-width:5px 5px 5px 0px;
- border-right-color:#cccccc;
- margin-top:5px;
- margin-left:-10px;
-}
-.dropdown-submenu:hover>a:after {
- border-left-color:#ffffff;
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/styles/wizard.less
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/styles/wizard.less b/contrib/views/slider/src/main/resources/ui/app/styles/wizard.less
deleted file mode 100644
index 635f51a..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/styles/wizard.less
+++ /dev/null
@@ -1,232 +0,0 @@
-/**
- * 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.
- */
-
-@import-once 'common.less';
-
-.create-app-wizard-wrapper {
- .modal-backdrop {
- opacity: 0;
- }
-}
-
-#createAppWizard {
- width: 94%;
- margin: 0 0 auto;
- left: 3%;
- .wizard-nav {
- padding-left: 0px;
- }
- h5 {
- font-weight: bold;
- }
- .slider-modal-body {
- .wizard-content{
- background-color: #ffffff;
- label {
- font-weight: normal;
- }
- .form-horizontal {
- .control-label {
- text-align: left;
- }
- }
- }
- }
- .next-btn {
- margin-left: 5px;
- }
- #configs-text-area {
- margin-bottom: 10px;
- height: 225px;
- }
- #step4 {
- ul {
- list-style: none;
- }
- pre {
- margin-left: 30px;
- max-height: 124px;
- }
- }
- #step2 {
- .table-container {
- border: 1px solid #e3e3e3;
- padding: 5px;
- border-radius: 4px;
- overflow: auto;
- .components-table {
- width: 100%;
- border-spacing: 10px;
- border-collapse: separate;
- th {
- padding-right: 1px;
- }
- .cell-narrow {
- width: 4em;
- }
- .cell-wide {
- width: 5em;
- }
- .cell-auto {
- input {
- width: 100%;
- min-width: 7em;
- }
- }
- }
- margin-bottom: 30px;
- }
- }
- #step1 {
- select {
- padding: 4px 0;
- }
- hr {
- .table-row();
- }
- label {
- width: 100%;
- }
- .row {
- margin: 5px 0;
- }
- .app-types-alert {
- margin-top: 20px;
- }
- .alert-warning {
- border-color: #fbeed5;
- color: #c09853;
- }
- }
- .pseudo-label {
- display: inline-block;
- }
- .app-wiz-configs {
- .accordion-toggle {
- display: block;
- }
- .panel-heading{
- .icon{
- width: 23px;
- }
- }
- }
-}
-
-
-.slider-modal {
- position: fixed;
- top: 50%;
- left: 50%;
- z-index: 1050;
- width: 560px;
- margin: -250px 0 0 -280px;
- overflow: auto;
- background-color: #ffffff;
- border: 1px solid #999;
- border: 1px solid rgba(0, 0, 0, 0.3);
- *border: 1px solid #999;
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px;
- -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
- -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
- box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
- -webkit-background-clip: padding-box;
- -moz-background-clip: padding-box;
- background-clip: padding-box;
-}
-
-.slider-modal.fade {
- top: -25%;
- -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
- -moz-transition: opacity 0.3s linear, top 0.3s ease-out;
- -o-transition: opacity 0.3s linear, top 0.3s ease-out;
- transition: opacity 0.3s linear, top 0.3s ease-out;
-}
-
-.slider-modal.fade.in {
- top: 50%;
-}
-
-.slider-modal-header {
- padding: 9px 15px;
- border-bottom: 1px solid #eee;
-}
-
-.slider-modal-header .close {
- margin-top: 2px;
-}
-
-.slider-modal-header h3 {
- margin: 0;
- line-height: 30px;
-}
-
-.slider-modal-body {
- max-height: 400px;
- padding: 15px;
- overflow-y: auto;
-}
-
-.slider-modal-form {
- margin-bottom: 0;
-}
-
-.slider-modal-footer {
- padding: 14px 15px 15px;
- margin-bottom: 0;
- text-align: right;
- background-color: #f5f5f5;
- border-top: 1px solid #ddd;
- -webkit-border-radius: 0 0 6px 6px;
- -moz-border-radius: 0 0 6px 6px;
- border-radius: 0 0 6px 6px;
- *zoom: 1;
- -webkit-box-shadow: inset 0 1px 0 #ffffff;
- -moz-box-shadow: inset 0 1px 0 #ffffff;
- box-shadow: inset 0 1px 0 #ffffff;
-}
-
-.slider-modal-footer:before,
-.slider-modal-footer:after {
- display: table;
- line-height: 0;
- content: "";
-}
-
-.modal-footer:after {
- clear: both;
-}
-
-.slider-modal-footer .btn + .btn {
- margin-bottom: 0;
- margin-left: 5px;
-}
-
-.slider-modal-footer .btn-group .btn + .btn {
- margin-left: -1px;
-}
-
-// remove padding for IE
-.form-horizontal .radio,
-.form-horizontal .checkbox,
-.form-horizontal .radio-inline,
-.form-horizontal .checkbox-inline {
- padding: 0px;
-}
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/application.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/application.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/application.hbs
deleted file mode 100755
index 3b1b792..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/templates/application.hbs
+++ /dev/null
@@ -1,56 +0,0 @@
-{{!
-* 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.
-}}
-
-{{!
- DON'T TRY TO PUT OUTLET INTO CONDITIONAL STATES
- https://github.com/emberjs/ember.js/issues/3187 - CLOSED BUT NOT FIXED YET
-}}
-
-
-{{#unless App.viewEnabled}}
- {{#if App.viewErrors.length}}
- <div class="alert alert-danger">
- {{#each error in App.viewErrors}}
- <div class="error-message">{{{error.message}}}</div>
- {{/each}}
- </div>
- {{/if}}
-{{/unless}}
-
-<div class="slider-header">
- {{#view view.SliderTitleView}}
- <h3 class="pull-left" id="slider-title"><span class="slider-app-title">{{App.label}}</span></h3>
- {{#if view.showCreateAppButton}}
- <div class="box-header pull-right">
- {{#if App.sliderUser}}
- <div class="pull-left view-user">
- <i class="icon-user"></i> {{App.sliderUser}}
- </div>
- {{/if}}
- <div class="create-app pull-right">
- <a href="#" class="btn btn-primary" {{bind-attr disabled="App.viewDisabled"}} {{action createApp}}>
- <i class="icon-plus"></i><span> {{t slider.apps.create}}</span>
- </a>
- </div>
- </div>
- {{/if}}
- {{/view}}
- {{outlet bs-tooltip-box}}
-</div>
-
-{{outlet}}
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/common/ajax_error.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/common/ajax_error.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/common/ajax_error.hbs
deleted file mode 100644
index dd2b6f1..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/templates/common/ajax_error.hbs
+++ /dev/null
@@ -1,24 +0,0 @@
-{{!
-* 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.
-}}
-
-<span class="text-danger">{{view.statusCode}}</span> <span> {{view.api}}</span>
-{{#if view.showMessage}}
- <br />
- <br />
- <pre><strong>{{t ajax.errorMessage}}: </strong><span class="text-danger">{{view.message}}</span></pre>
-{{/if}}
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/common/app_tooltip.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/common/app_tooltip.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/common/app_tooltip.hbs
deleted file mode 100644
index d748a41..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/templates/common/app_tooltip.hbs
+++ /dev/null
@@ -1,24 +0,0 @@
-{{!
-* 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 id="hover-on-app" class="row-fluid">
- <div><strong>{{t common.description}}</strong></div>
- <div>{{formatWordBreak view.content.description devider='.'}}</div>
- <div><strong>{{t common.diagnostics}}</strong></div>
- <div>{{formatWordBreak view.content.diagnostics devider='.'}}</div>
-</div>
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/common/chart.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/common/chart.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/common/chart.hbs
deleted file mode 100644
index e590a75..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/templates/common/chart.hbs
+++ /dev/null
@@ -1,26 +0,0 @@
-{{!
-* 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 {{bind-attr class=":time-label"}}>{{view.parentView.currentTimeState.name}}</div>
-<div {{bind-attr id="view.containerId"}} {{bind-attr class="view.containerClass :chart-container"}}>
- <div {{bind-attr id="view.yAxisId"}} {{bind-attr class="view.yAxisClass :chart-y-axis"}}></div>
- <div {{bind-attr id="view.xAxisId"}} {{bind-attr class="view.xAxisClass :chart-x-axis"}}></div>
- <div {{bind-attr id="view.legendId"}} {{bind-attr class="view.legendClass :chart-legend"}}></div>
- <div {{bind-attr id="view.chartId"}} {{bind-attr class="view.chartClass :chart"}}></div>
- <div {{bind-attr id="view.titleId"}} {{bind-attr class="view.titleClass :chart-title"}}>{{view.title}}</div>
-</div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/common/config.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/common/config.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/common/config.hbs
deleted file mode 100644
index fa11a23..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/templates/common/config.hbs
+++ /dev/null
@@ -1,37 +0,0 @@
-{{!
-* 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 class="form-group">
-
- <label class="col-sm-4 control-label">{{formatWordBreak config.label devider='.'}}</label>
-
- <div class="col-sm-6">
- {{view config.view
- value=config.value
- content=config.options
- classBinding=":form-control :slider-wiz-config-value config.className"
- disabled=config.readOnly
- }}
- </div>
-
- {{#if isCustom}}
- <div class="col-sm-2">
- {{#bs-button clicked="deleteConfig" clickedParamBinding="config" type="danger"}}{{t common.delete}}{{/bs-button}}
- </div>
- {{/if}}
-</div>
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/components/.gitkeep
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/components/.gitkeep b/contrib/views/slider/src/main/resources/ui/app/templates/components/.gitkeep
deleted file mode 100755
index e69de29..0000000
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/components/configSection.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/components/configSection.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/components/configSection.hbs
deleted file mode 100644
index 3d6aa20..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/templates/components/configSection.hbs
+++ /dev/null
@@ -1,78 +0,0 @@
-{{!
-* 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.
-}}
-
-{{#bs-panel heading=sectionLabel collapsible=true dismiss=false open=false }}
- <form class="form-horizontal" role="form">
- {{#each config in sectionConfigs}}
- {{#if config.isSet}}
- {{#view "configSet" configSet=config}}
- <div class="form-group">
- <label class="col-sm-4 control-label">{{formatWordBreak view.configSet.trigger.label devider='.'}}</label>
-
- <div class="col-sm-6">
- {{view view.configSet.trigger.view
- checked=view.configSet.trigger.value
- disabled=view.configSet.trigger.readOnly
- }}
- </div>
- </div>
- {{#each config in view.configs}}
- {{partial "common/config"}}
- {{/each}}
- {{/view}}
- {{else}}
- {{partial "common/config"}}
- {{/if}}
- {{/each}}
- </form>
- {{#if isCustom}}
- {{#bs-button clicked="addProperty" class="add-property" type="link"}}{{t configs.add_property}}...{{/bs-button}}
- {{/if}}
-{{/bs-panel}}
-{{#bs-modal name="addPropertyModal" footerButtonsBinding="addPropertyModalButtons" titleBinding="addPropertyModalTitle"}}
-{{! "Add Property"-form}}
- <form class="form-horizontal" role="form">
- <div {{bind-attr class=":form-group newConfig.hasError:has-error"}}>
- <div class="col-sm-4">
- <label class="control-label">{{t common.key}}</label>
- </div>
- <div class="col-sm-6">
- {{input value=newConfig.name class="form-control new-config-name"}}
- </div>
- </div>
- <div {{bind-attr class=":form-group"}}>
- <div class="col-sm-4">
- <label class="control-label">{{t common.value}}</label>
- </div>
- <div class="col-sm-6">
- {{input value=newConfig.value class="form-control new-config-value"}}
- </div>
- </div>
- <div class="form-group">
- {{#if newConfig.hasError}}
- <div class="col-sm-10">
- <div class="alert alert-danger">
- {{newConfig.messsage}}
- </div>
- </div>
- {{/if}}
- </div>
- </form>
-{{! "Add Property"-form end}}
-{{/bs-modal}}
-{{outlet bs-tooltip-box}}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard.hbs
deleted file mode 100644
index 8bfee87..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard.hbs
+++ /dev/null
@@ -1,43 +0,0 @@
-{{!
-* 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 class="modal-backdrop"></div>
-<div class="slider-modal" id="createAppWizard">
- <div class="slider-modal-header">
- <button type="button" class="close" {{action hide target="view"}}>×</button>
- <h3 id="myModalLabel">{{t wizard.name}}</h3>
- </div>
- <div class="slider-modal-body">
- <div class="container-fluid">
- <div class="row">
- <div class="col-xs-3 wizard-nav">
- <div class="well">
- <ul class="nav nav-pills nav-stacked">
- <li {{bind-attr class="view.isStep1:active view.isStep1Disabled:disabled"}}><a href="javascript:void(null);" {{action gotoStep 1 target="controller"}}>{{t wizard.step1.name}}</a></li>
- <li {{bind-attr class="view.isStep2:active view.isStep2Disabled:disabled"}}><a href="javascript:void(null);" {{action gotoStep 2 target="controller"}}>{{t wizard.step2.name}}</a></li>
- <li {{bind-attr class="view.isStep3:active view.isStep3Disabled:disabled"}}><a href="javascript:void(null);" {{action gotoStep 3 target="controller"}}>{{t wizard.step3.name}}</a></li>
- <li {{bind-attr class="view.isStep4:active view.isStep4Disabled:disabled"}}><a href="javascript:void(null);" {{action gotoStep 4 target="controller"}}>{{t wizard.step4.name}}</a></li>
- </ul>
- </div>
- </div>
- <div class="wizard-content well col-xs-9">
- {{outlet}}
- </div>
- </div>
- </div>
- </div>
-</div>
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard/step1.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard/step1.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard/step1.hbs
deleted file mode 100644
index fc46c69..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard/step1.hbs
+++ /dev/null
@@ -1,192 +0,0 @@
-{{!
-* 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 id="step1">
- <form role="form" class="form-horizontal">
- <!-- Available Applications -->
- {{#if controller.isAppTypesError}}
- <div class="row">
- <div class="col-xs-12 alert alert-warning app-types-alert">
- {{t wizard.step1.noAppTypesError}}
- </div>
- </div>
- {{/if}}
- <strong>{{t wizard.step1.header}}</strong>
- <div class="form-group row">
- <div class="col-xs-3">
- <label class="control-label">{{t wizard.step1.appTypes}}</label>
- </div>
- <div class="col-xs-7">
- {{#if controller.isAppTypesError}}
- {{view
- Em.Select
- contentBinding="view.noAppsAvailableSelect"
- class="form-control type-select"
- disabled=true
- }}
- {{else}}
- {{view
- Em.Select
- contentBinding="controller.availableTypes"
- optionLabelPath="content.displayName"
- class="form-control type-select"
- valueBinding="controller.selectedType"
- disabledBinding="controller.isAppTypesError"
- }}
- {{/if}}
- </div>
- </div>
- <div class="form-group row">
- <div class="col-xs-3">
- <label class=" control-label">{{t wizard.step1.description}}</label>
- </div>
- <div class="col-xs-7">
- <span class="pseudo-label control-label">
- {{#if controller.isAppTypesError}}
- {{t slider.apps.no.description.available}}
- {{else}}
- {{controller.typeDescription}}
- {{/if}}
- </span>
- </div>
- </div>
- <div class="form-group row">
- <div class="col-xs-3">
- <div {{bind-attr class=":control-group controller.isNameError:error"}}>
- <label class="control-label">{{t common.name}}</label>
- </div>
- </div>
- <div class="col-xs-7">
- {{input id="app-name-input" class="form-control" valueBinding="controller.newApp.name" disabledBinding="controller.isAppTypesError" placeholderTranslation="form.placeholder.step1.name"}}
- </div>
- </div>
- {{#if controller.isNameError}}
- <div class="row">
- <div class="col-xs-12 alert alert-danger">
- {{controller.nameErrorMessage}}
- </div>
- </div>
- {{/if}}
- <div class="form-group row">
- <div class="col-xs-3">
- <label class=" control-label">{{t wizard.step1.enable2wayssl}}</label>
- </div>
- <div class="col-xs-7">
- {{view
- Em.Checkbox
- class="form-control type-select"
- checkedBinding="controller.newApp.twoWaySSLEnabled"
- }}
- </div>
- </div>
- <!-- Available Applications end -->
- <!-- Scheduler Options -->
- <hr />
- <div class="row">
- <strong>{{t wizard.step1.schedulerOptions.label}}</strong>
- </div>
- <div class="row">
- <div class="col-xs-3">
- <label class="control-label">{{t wizard.step1.schedulerOptions.queueName}}</label>
- </div>
- <div class="col-xs-7">
- {{input class="form-control queueName" valueBinding="controller.newApp.queueName" placeholderTranslation="form.placeholder.optional"}}
- </div>
- </div>
- <!-- Scheduler Options end -->
- <!-- YARN Labels -->
- <hr />
- <div class="row">
- <strong>{{t wizard.step1.yarnLabels.label}}</strong>
- </div>
- <div class="row">
- <div class="col-xs-3">
- <label class="control-label">
- {{view view.radioButton name="yarnLabel" selectionBinding="controller.newApp.selectedYarnLabel" value=0 class="radio-inline"}}
- {{t wizard.step1.yarnLabels.options.anyHost}}
- </label>
- </div>
- </div>
- <div class="row">
- <div class="col-xs-3">
- <label class="control-label">
- {{view view.radioButton name="yarnLabel" selectionBinding="controller.newApp.selectedYarnLabel" value=1 class="radio-inline"}}
- {{t wizard.step1.yarnLabels.options.nonLabeledHost}}
- </label>
- </div>
- </div>
- <div class="row">
- <div class="col-xs-3">
- <label class="control-label">
- {{view view.radioButton name="yarnLabel" selectionBinding="controller.newApp.selectedYarnLabel" value=2 class="radio-inline special-label-radio"}}
- {{t wizard.step1.yarnLabels.options.specifyLabel}}
- </label>
- </div>
- <div class="col-xs-7">
- {{input type="text" class="form-control special-label" disabledBinding="view.specLabelEnabled" valueBinding="controller.newApp.specialLabel"}}
- </div>
- </div>
- <!-- YARN Labels end -->
- <!-- Log Aggregation -->
- <hr />
- <div class="row">
- <strong>{{t wizard.step1.logAggregation.label}}</strong>
- </div>
- <div class="row">
- <div class="col-xs-3">
- <label class="control-label">{{t wizard.step1.logAggregation.filePatterns.include}}</label>
- </div>
- <div class="col-xs-7">
- {{input class="form-control includeFilePatterns" valueBinding="controller.newApp.includeFilePatterns" placeholderTranslation="form.placeholder.include.file.patterns"}}
- </div>
- </div>
- <div class="row">
- <div class="col-xs-3">
- <label class="control-label">{{t wizard.step1.logAggregation.filePatterns.exclude}}</label>
- </div>
- <div class="col-xs-7">
- {{input class="form-control excludeFilePatterns" valueBinding="controller.newApp.excludeFilePatterns" placeholderTranslation="form.placeholder.exclude.file.patterns"}}
- </div>
- </div>
- <div class="row">
- <div class="col-xs-3" {{bind-attr class=":col-xs-3 controller.isFrequencyError:error"}}>
- <label class="control-label">{{t common.frequency}}</label>
- </div>
- <div class="col-xs-7">
- <div class="input-group">
- {{input class="form-control frequency" valueBinding="controller.newApp.frequency" placeholderTranslation="form.placeholder.frequency"}}
- <div class="input-group-addon">{{t common.seconds}}</div>
- </div>
- </div>
- </div>
- {{#if controller.isFrequencyError}}
- <div class="row">
- <div class="col-xs-12 alert alert-danger">
- {{controller.frequencyErrorMessage}}
- </div>
- </div>
- {{/if}}
- <!-- Log Aggregation end -->
- <div class="btn-area">
- <button
- class="btn btn-success pull-right next-btn"
- {{bind-attr disabled="controller.isSubmitDisabled"}}
- {{action submit target="controller"}}>{{t common.next}} →
- </button>
- </div>
- </form>
-</div>
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard/step2.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard/step2.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard/step2.hbs
deleted file mode 100644
index 6407256..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard/step2.hbs
+++ /dev/null
@@ -1,62 +0,0 @@
-{{!
-* 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 id="step2">
- <p>
- {{newApp.appType.displayName}}{{t wizard.step2.header}}
- </p>
- <div class="table-container">
- <table class="components-table">
- <thead>
- <tr>
- <th></th>
- <th>{{t wizard.step2.table.instances}}</th>
- <th>{{t wizard.step2.table.memory}}</th>
- <th>{{t wizard.step2.table.cpu}}</th>
- <th colspan="2">{{t wizard.step2.table.yarnLabels}}</th>
- </tr>
- </thead>
- <tbody>
- {{#each}}
- <tr>
- <td>{{displayName}}</td>
- <td>{{input class="cell-narrow numInstances" valueBinding="numInstances"}}</td>
- <td>{{input class="cell-wide yarnMemory" valueBinding="yarnMemory"}}</td>
- <td>{{input class="cell-narrow yarnCPU" valueBinding="yarnCPU"}}</td>
- <td>
- <div {{bs-bind-tooltip content=view.checkBoxPopover}}>
- {{input type="checkbox" checkedBinding="yarnLabelChecked" class="checkbox-inline"}}
- </div>
- </td>
- <td class="cell-auto">
- <div {{bs-bind-tooltip content=view.yarnLabelPopover}}>
- {{input class="yarnLabel" valueBinding="yarnLabel" disabledBinding="yarnLabelNotChecked"}}
- </div>
- </td>
- </tr>
- {{/each}}
- </tbody>
- </table>
- </div>
- {{#if controller.isError}}
- <div class="alert alert-danger">{{t wizard.step2.error.numbers}}</div>
- {{/if}}
- <div class="btn-area">
- <button class="btn btn-success pull-right next-btn" {{bind-attr disabled="controller.isSubmitDisabled"}} {{action submit target="controller"}}>{{t common.next}} →</button>
- <button class="btn" {{action prevStep}}>← {{t common.back}}</button>
- </div>
-</div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard/step3.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard/step3.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard/step3.hbs
deleted file mode 100644
index a2f3898..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard/step3.hbs
+++ /dev/null
@@ -1,37 +0,0 @@
-{{!
-* 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.
-}}
-
-<p>
- {{t wizard.step3.header.beginning}}{{appWizardController.newApp.appType.displayName}}{{t wizard.step3.header.end}}
-</p>
-<div {{bind-attr class="controller.isError:has-error :form-group :app-wiz-configs"}}>
- {{#each controller.sectionKeys}}
- {{config-section
- section=this
- config=controller.configs
- predefinedConfigNames=controller.appWizardController.newApp.predefinedConfigNames
- }}
- {{/each}}
- {{#if controller.isError}}
- <div class="alert alert-danger">{{t wizard.step3.error}}</div>
- {{/if}}
-</div>
-<div class="btn-area">
- <button class="btn btn-success pull-right next-btn" {{action submit}}>{{t common.next}} →</button>
- <button class="btn" {{action prevStep}}>← {{t common.back}}</button>
-</div>
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard/step4.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard/step4.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard/step4.hbs
deleted file mode 100644
index 50e974b..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard/step4.hbs
+++ /dev/null
@@ -1,41 +0,0 @@
-{{!
-* 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 id="step4">
-<h5>{{t common.summary}}</h5>
-<ul>
- <li>{{t wizard.step4.appName}}: {{controller.newApp.name}}</li>
- <li>{{t wizard.step4.appType}}: {{controller.newApp.appType.displayName}}</li>
- <li>{{t wizard.step4.2waysslEnabled}}: {{controller.newApp.twoWaySSLEnabled}}</li>
-</ul>
-<h5>{{t common.components}}</h5>
-<ul>
- {{#each component in controller.newApp.components}}
- <li>{{component.displayName}}: {{component.numInstances}}</li>
- {{/each}}
-</ul>
-<h5>{{t common.configuration}}</h5>
-<pre>{{controller.configsFormatted}}</pre>
-
-<div class="btn-area">
- <button
- class="btn btn-success pull-right"
- {{bind-attr disabled="controller.isSubmitDisabled"}}
- {{action finish target="controller"}}>{{t common.finish}}</button>
-</div>
-</div>
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/index.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/index.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/index.hbs
deleted file mode 100755
index b466873..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/templates/index.hbs
+++ /dev/null
@@ -1,21 +0,0 @@
-{{!
-* 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 class="header">
-Slider Apps
-</div>
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/slider_app.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/slider_app.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/slider_app.hbs
deleted file mode 100644
index fbe34fa..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/templates/slider_app.hbs
+++ /dev/null
@@ -1,70 +0,0 @@
-{{!
-* 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 class="app-page">
- <div class="apps-breadcrumbs">
- {{#link-to 'slider_apps'}}
- {{t slider.apps.title}}
- {{/link-to}}
- →
- {{model.name}}
- </div>
- <p></p>
- <div class="col-md-5 pull-right">
- <div class="btn-group display-inline-block pull-right">
- <button class="btn dropdown-toggle btn-primary " data-toggle="dropdown" {{bind-attr disabled=model.isActionPerformed}}>
- {{t common.actions}}
- <span class="caret"></span>
- </button>
- <ul class="dropdown-menu">
- {{#each option in controller.availableActions}}
- <li {{bind-attr class="option.submenu.length:dropdown-submenu"}}>
- <a {{action 'openModal' option target='controller'}}>{{humanize option.title}}</a>
- <ul class="dropdown-menu">
- {{#each subitem in option.submenu}}
- <li>
- <a {{action 'openModal' subitem target='controller'}}>{{humanize subitem.title}}</a>
- </li>
- {{/each}}
- </ul>
- </li>
- {{/each}}
- </ul>
- </div>
- </div>
-
- {{#if weHaveQuicklinks}}
- <div class="col-md-3 quick-links-wrapper pull-right">
- <ul class="nav nav-pills move">
- <li class="dropdown">
- <a class="dropdown-toggle" data-toggle="dropdown" href="#">{{t common.quickLinks}}<b class="caret"></b></a>
- <ul class="dropdown-menu">
- {{#each quickLink in controller.quickLinksOrdered}}
- <li><a {{bind-attr href="quickLink.url"}} target="_blank">{{quickLink.label}}</a></li>
- {{/each}}
- </ul>
- </li>
- </ul>
- </div>
- {{/if}}
-
- {{bs-tabs contentBinding="sliderAppTabs" default="summary"}}
- <div style="margin-top: 20px;">
- {{outlet}}
- </div>
-
-</div>
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/configs.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/configs.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/configs.hbs
deleted file mode 100644
index 74c01d1..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/configs.hbs
+++ /dev/null
@@ -1,40 +0,0 @@
-{{!
-* 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 class="app_configs">
- {{#each configCategory in view.configsByCategories}}
- {{#if configCategory.isVisible}}
- {{#bs-panel heading=configCategory.name collapsible=true open=false}}
- <div class="container-fluid">
- {{#each configCategory.configs}}
- <div class="row">
- <div class="col-md-3 property-name">{{formatWordBreak key devider="."}}</div>
- <div>
- {{#if isMultiline}}
- {{textarea disabled=true value=value classNames="col-md-6"}}
- {{else}}
- <input type="text" {{bind-attr value=value}} disabled="disabled" class="col-md-6" />
- {{/if}}
- </div>
- </div>
- {{/each}}
- </div>
- {{/bs-panel}}
- {{/if}}
- {{/each}}
-</div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/destroy/destroy_popup.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/destroy/destroy_popup.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/destroy/destroy_popup.hbs
deleted file mode 100644
index d696150..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/destroy/destroy_popup.hbs
+++ /dev/null
@@ -1,20 +0,0 @@
-{{!
-* 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.
-}}
-
-<p class="alert alert-danger"> <span class="icon-warning-sign"></span> {{t sliderApp.destroy.confirm.body}}</p>
-{{input type="checkbox" checkedBinding="controller.confirmChecked"}} {{{view.confirmMessage}}}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/destroy/destroy_popup_footer.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/destroy/destroy_popup_footer.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/destroy/destroy_popup_footer.hbs
deleted file mode 100644
index e6c38a5..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/destroy/destroy_popup_footer.hbs
+++ /dev/null
@@ -1,28 +0,0 @@
-{{!
-* 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.
-}}
-
-{{bs-button
- content=view.cancelButton
- targetObjectBinding="view.targetObject"
-}}
-
-{{bs-button
- content=view.destroyButton
- disabledBinding="controller.destroyButtonEnabled"
- targetObjectBinding="view.targetObject"
-}}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec8deeba/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/flex_popup.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/flex_popup.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/flex_popup.hbs
deleted file mode 100644
index e9aa52d..0000000
--- a/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/flex_popup.hbs
+++ /dev/null
@@ -1,40 +0,0 @@
-{{!
-* 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 class="flex-popup">
- <form class="form-horizontal" role="form">
- <div class="alert alert-info">
- {{t sliderApp.flex.message}}
- </div>
- <div class="form-group">
- <div class="col-sm-4"><strong>{{t common.components}}</strong></div>
- <div class="col-sm-8"><strong>{{t wizard.step2.table.instances}}</strong></div>
- </div>
- {{#each component in groupedComponents}}
- <div class="form-group">
- <div class="col-sm-4 component-label">{{component.name}}</div>
- <div class="col-sm-8">{{input value=component.count}}</div>
- </div>
- {{/each}}
- {{#if groupedComponentsHaveErrors}}
- <div class="alert alert-danger">
- {{t sliderApp.flex.invalid_counts}}
- </div>
- {{/if}}
- </form>
-</div>