http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/dropdown-submenu.scss ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/dropdown-submenu.scss b/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/dropdown-submenu.scss deleted file mode 100644 index bab2216..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/dropdown-submenu.scss +++ /dev/null @@ -1,65 +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. - */ - -.dropdown-submenu { - position:relative; -} - -.dropdown-submenu>.dropdown-menu { - top:0; - left:100%; - margin-top:-6px; - margin-left:-1px; - -webkit-border-radius:0 6px 6px 6px; - -moz-border-radius:0 6px 6px 6px; - border-radius:0 6px 6px 6px; -} - -.dropdown-submenu:hover>.dropdown-menu { - display:block; -} - -.dropdown-submenu>a:after { - display:block; - content:" "; - float:right; - width:0; - height:0; - border-color:transparent; - border-style:solid; - border-width:5px 0 5px 5px; - border-left-color:#cccccc; - margin-top:5px; - margin-right:-10px; -} - -.dropdown-submenu:hover>a:after { - border-left-color:#ffffff; -} - -.dropdown-submenu.pull-left { - float:none; -} - -.dropdown-submenu.pull-left>.dropdown-menu { - left:-100%; - margin-left:10px; - -webkit-border-radius:6px 0 6px 6px; - -moz-border-radius:6px 0 6px 6px; - border-radius:6px 0 6px 6px; -}
http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/mixins.scss ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/mixins.scss b/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/mixins.scss deleted file mode 100644 index acaa386..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/mixins.scss +++ /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. -*/ - -@mixin box-shadow($horizontal, $vertical, $blur, $color) { - -webkit-box-shadow: $horizontal $vertical $blur $color; - -moz-box-shadow: $horizontal $vertical $blur $color; - box-shadow: $horizontal $vertical $blur $color; -} - -@mixin animate-width($time) { - -webkit-transition: $time; - transition: width $time; -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/notifications.scss ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/notifications.scss b/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/notifications.scss deleted file mode 100644 index 166056b..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/notifications.scss +++ /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. -*/ - -.notifications-container { - position: absolute; - top: 4px; - right: 20px; - width: 600px; - z-index: 9999; -} - -.notification > .fa { - width: 15px; - text-align: center; - margin-right: 10px; -} - -.notifications-container .notification { - word-wrap: break-word; - max-height: 200px; - overflow-x: auto; -} http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/query-tabs.scss ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/query-tabs.scss b/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/query-tabs.scss deleted file mode 100644 index 9f803b4..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/query-tabs.scss +++ /dev/null @@ -1,69 +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. -*/ - -.query-menu { - margin-top: 58px; - - span, popover { - cursor: pointer; - display: block; - border-bottom: 1px solid $border-color; - padding: 10px; - } -} - -.fa.panel-action-icon { - line-height: 22px; - font-size: 16px; -} - -.editor-overlay { - width: 100%; - overflow-y: scroll; - height: calc(100% - 57px); - top: 57px; - left: 0; - background-color: #fff; - position: absolute; - padding: 10px 15px; - z-index: 1000; - - border: 1px solid $border-color; - -webkit-animation-duration: .5s; - animation-duration: .5s; - -webkit-animation-fill-mode: both; - animation-fill-mode: both; -} - -.message-body { - margin-top: 10px; -} - -.query-menu-tab { - position: relative; -} -.query-menu-tab .badge { - position: absolute; - top: -4px; - right: 0px; - background-color: red; - color: #fff; - padding: 2px 4px; - font-weight: bold; - z-index: 9999; -} http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/vars.scss ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/vars.scss b/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/vars.scss deleted file mode 100644 index 184ac9d..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/vars.scss +++ /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. -*/ - -$panel-background: #f5f5f5; -$placeholder-color: #aaa; -$border-color: #ddd; http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/.gitkeep ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/.gitkeep b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/.gitkeep deleted file mode 100644 index e69de29..0000000 http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/application.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/application.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/application.hbs deleted file mode 100644 index db053fa..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/application.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. -}} - -{{notify-widget notifications=notifications}} -{{navbar-widget}} - -<div id="content"> - {{outlet}} - - {{outlet "modal"}} -</div> http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/.gitkeep ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/.gitkeep b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/.gitkeep deleted file mode 100644 index e69de29..0000000 http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/alert-message-widget.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/alert-message-widget.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/alert-message-widget.hbs deleted file mode 100644 index 0901b30..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/alert-message-widget.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. -}} - -<div {{bind-attr class=":alert :alert-dismissible message.typeClass"}}> - <button type="button" class="close" data-dismiss="alert" aria-hidden="true" {{action "remove"}}>×</button> - <strong {{action 'toggleMessage'}}>{{tb-helper message.title}}</strong> - - {{#if message.isExpanded}} - <div class="alert-message"> - {{message.content}} - </div> - {{/if}} -</div> http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/collapsible-widget.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/collapsible-widget.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/collapsible-widget.hbs deleted file mode 100644 index 68ff307..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/collapsible-widget.hbs +++ /dev/null @@ -1,33 +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="clearfix"> - - <a {{action "toggle"}} {{bind-attr class=":fa iconClass :collapsible-row" data-original-title=heading}} - data-toggle="tooltip" data-placement="top" - title>{{heading}}</a> - - <div class="pull-right widget-controls"> - {{#each control in controls}} - <a {{action 'sendControlAction' control.action}} {{bind-attr class=":fa control.icon" title="control.tooltip"}}></a> - {{/each}} - </div> -</div> -{{#if isExpanded}} - {{yield}} -{{/if}} http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/column-filter-widget.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/column-filter-widget.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/column-filter-widget.hbs deleted file mode 100644 index 3435093..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/column-filter-widget.hbs +++ /dev/null @@ -1,42 +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. -}} - -{{#if column.dateRange}} - {{date-range-widget class="pull-left history-date-range" - rangeChanged="sendFilter" - dateRange=column.dateRange}} -{{else}} - {{#if column.numberRange}} - {{number-range-widget class="pull-left" - numberRange=column.numberRange - rangeChanged="sendFilter"}} - {{else}} - {{extended-input type="text" - class="pull-left form-control input-sm" - placeholderTranslation=column.caption - value=filterValue - valueChanged="sendFilter"}} - {{/if}} -{{/if}} -<span {{action "sendSort"}}> - {{#if isSorted}} - <a {{bind-attr class=":pull-right :fa sortAscending:fa-sort-asc:fa-sort-desc"}}></a> - {{else}} - <i class="pull-right fa fa-unsorted"></i> - {{/if}} -</span> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/date-range-widget.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/date-range-widget.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/date-range-widget.hbs deleted file mode 100644 index 4b9686e..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/date-range-widget.hbs +++ /dev/null @@ -1,22 +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-inline"> - {{input type="text" value=displayFromDate class="input-sm form-control fromDate"}} - {{input type="text" value=displayToDate class="input-sm form-control toDate"}} -</div> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/expander-widget.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/expander-widget.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/expander-widget.hbs deleted file mode 100644 index 386556c..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/expander-widget.hbs +++ /dev/null @@ -1,31 +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="panel panel-default no-margin"> - <div class="panel-heading accordion-heading" {{action "toggle"}}> - <span {{bind-attr class=":fa isExpanded:fa-caret-down:fa-caret-right"}}></span> - <a class="accordion-toggle">{{heading}}</a> - <span class="badge pull-right">{{count}}</span> - </div> - - <div class="panel-body accordion-body collapse"> - <div class="accordion-inner"> - {{yield}} - </div> - </div> -</div> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/input-header.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/input-header.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/input-header.hbs deleted file mode 100644 index b2349fa..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/input-header.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. -}} - -<td {{bind-attr class="noPrecision:hidden:visible"}}>{{input type="number" placeholder="precision" class="form-control" value=column.precision }}</td> -<td {{bind-attr class="noScale:hidden:visible"}}>{{input placeholder="scale" type="number" class="form-control" value=column.scale }}</td> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/job-tr-view.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/job-tr-view.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/job-tr-view.hbs deleted file mode 100644 index 6b01946..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/job-tr-view.hbs +++ /dev/null @@ -1,49 +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. -}} - -<tr class="main-row" {{action "requestFile"}}> - <td> - {{#link-to "index.historyQuery" job}} - {{job.title}} - {{/link-to}} - </td> - <td {{bind-attr class=job.uppercaseStatus}}>{{all-uppercase job.status}}</td> - <td>{{date-binding job "dateSubmittedTimestamp"}}</td> - <td>{{job.duration}}</td> - <td> - <a class="fa fa-expand pull-right"></a> - </td> -</tr> -{{#if expanded}} - <tr class="secondary-row"> - <td colspan="5"> - {{code-helper job.file.fileContent}} - - {{#if canStop}} - <button type="button" {{bind-attr class=":btn :btn-warning :btn-sm :pull-right job.isCancelling:disabled"}} {{action "stopJob"}}> - {{#if job.isCancelling}} - {{t "buttons.stoppingJob"}} - <div class="spinner small inline-spinner"></div> - {{else}} - {{t "buttons.stopJob"}} - {{/if}} - </button> - {{/if}} - </td> - </tr> -{{/if}} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/modal-widget.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/modal-widget.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/modal-widget.hbs deleted file mode 100644 index 8f2dec7..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/modal-widget.hbs +++ /dev/null @@ -1,35 +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 fade"> - <div class="modal-dialog"> - <div class="modal-content"> - <div class="modal-header"> - <button type="button" class="close"><span aria-hidden="true" data-dismiss="modal">×</span><span class="sr-only">Close</span></button> - <h4 class="modal-title">{{tb-helper heading}}</h4> - </div> - <div class="modal-body"> - {{yield}} - </div> - <div class="modal-footer"> - <button type="button" class="btn btn-sm btn-danger" data-dismiss="modal">{{t "buttons.close"}}</button> - <button type="button" class="btn btn-sm btn-success" {{action 'ok'}}>{{t "buttons.ok"}}</button> - </div> - </div> - </div> -</div> http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/navbar-widget.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/navbar-widget.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/navbar-widget.hbs deleted file mode 100644 index f13f7b5..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/navbar-widget.hbs +++ /dev/null @@ -1,45 +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. -}} - -<nav class="navbar navbar-default no-margin" role="navigation"> - <div class="container-fluid"> - <!-- Brand and toggle get grouped for better mobile display --> - <div class="navbar-header"> - <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> - <span class="sr-only">Toggle navigation</span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - {{#link-to "index" classNames="navbar-brand mozBoxSizeFix"}} - {{view.title}} - {{/link-to}} - </div> - - <!-- Collect the nav links, forms, and other content for toggling --> - <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> - <ul class="nav navbar-nav"> - {{#each item in view.items}} - {{#link-to item.path tagName="li"}} - <a>{{tb-helper "text" item}}</a> - {{/link-to}} - {{/each}} - </ul> - </div> - </div> -</nav> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/no-bubbling.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/no-bubbling.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/no-bubbling.hbs deleted file mode 100644 index 6ae472f..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/no-bubbling.hbs +++ /dev/null @@ -1,19 +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. -}} - -{{yield}} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/notify-widget.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/notify-widget.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/notify-widget.hbs deleted file mode 100644 index 5f905a8..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/notify-widget.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. -}} - -{{#each notification in notifications}} - {{view "notification" notification=notification}} -{{/each}} http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/number-range-widget.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/number-range-widget.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/number-range-widget.hbs deleted file mode 100644 index da99e9c..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/number-range-widget.hbs +++ /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. -}} - -<div class="slider"></div> -<div class="slider-labels"> - <span class="pull-left">{{numberRange.fromDuration}}</span> - <span class="pull-right">{{numberRange.toDuration}}</span> -</div> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/panel-widget.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/panel-widget.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/panel-widget.hbs deleted file mode 100644 index a8af586..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/panel-widget.hbs +++ /dev/null @@ -1,54 +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=":panel :panel-default classNames"}}> - {{#if heading}} - <div class="panel-heading"> - {{#if menuItems}} - <div class="dropdown pull-right"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{menuHeading}} <b class="caret"></b></a> - - <ul class="dropdown-menu" role="menu"> - {{#each item in menuItems}} - {{#if item.href}} - <li><a {{bind-attr href=item.href}}>{{item.title}}</a></li> - {{else}} - <li><a {{action "sendMenuItemAction" item.action}}>{{item.title}}</a></li> - {{/if}} - {{/each}} - </ul> - </div> - {{/if}} - - {{#if iconActions}} - {{#each iconAction in iconActions}} - <i {{action "sendMenuItemAction" iconAction.action}} - {{bind-attr class=":pull-right :panel-action-icon :fa iconAction.icon" title="iconAction.tooltip"}}></i> - {{/each}} - {{/if}} - - <strong>{{heading}}</strong> - {{#if isLoading}} - <div class="spinner small pull-right"></div> - {{/if}} - </div> - {{/if}} - <div class="panel-body"> - {{yield}} - </div> -</div> http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/popover-widget.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/popover-widget.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/popover-widget.hbs deleted file mode 100644 index f7c6d9c..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/popover-widget.hbs +++ /dev/null @@ -1,19 +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="hide"> {{yield}} </span> http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/progress-widget.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/progress-widget.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/progress-widget.hbs deleted file mode 100644 index 2ea7b94..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/progress-widget.hbs +++ /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. -}} - -<div class="progress"> - <div {{bind-attr class=":progress-bar :progress-bar-success" style=style}}> - {{percentage}} - </div> -</div> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/query-editor.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/query-editor.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/query-editor.hbs deleted file mode 100644 index 4ec9259..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/query-editor.hbs +++ /dev/null @@ -1,19 +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. -}} - -{{textarea id="code-mirror" rows="15" cols="20" value=query}} http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/select-widget.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/select-widget.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/select-widget.hbs deleted file mode 100644 index 6da1f3e..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/select-widget.hbs +++ /dev/null @@ -1,39 +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="btn-group"> - <a class="btn btn-default dropdown-toggle" data-toggle="dropdown"> - <span class="selected-item pull-left">{{selectedLabel}}</span> - <span class="pull-right fa fa-caret-down"></span> - </a> - <ul class="dropdown-menu"> - {{#each item in items}} - <li {{action "select" item}}> - <a>{{path-binding item labelPath}} - {{#if canEdit}} - <span class="fa fa-remove pull-right" {{action "remove" item}}></span> - <span class="fa fa-edit pull-right" {{action "edit" item}}></span> - {{/if}} - </a> - </li> - {{/each}} - {{#if canAdd}} - <li {{action "add"}}><a>{{t "buttons.addItem"}}</a></li> - {{/if}} - </ul> -</div> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/tabs-widget.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/tabs-widget.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/tabs-widget.hbs deleted file mode 100644 index edef7fd..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/tabs-widget.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. -}} - -<ul class="nav nav-tabs"> - {{#each tab in tabs}} - {{#if tab.visible}} - {{#if tab.path}} - {{#link-to tab.path tab.id tagName="li"}} - <a {{action 'titleClick' tab on="doubleClick"}}> - {{tab.name}} - {{#if tab.isDirty}}*{{/if}} - {{#if view.removeEnabled}} - <i class="fa fa-remove" {{action 'remove' tab}}></i> - {{/if}} - </a> - {{/link-to}} - {{else}} - <li {{bind-attr class="tab.active:active"}} {{action 'selectTab' tab}}> - <a>{{tab.name}}</a> - </li> - {{/if}} - {{/if}} - {{/each}} -</ul> - -{{yield}} http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/tree-view.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/tree-view.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/tree-view.hbs deleted file mode 100644 index ef9a566..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/tree-view.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. -}} - -<ul class="list-unstyled explainlist"> - {{#each item in content}} - <li> - {{item.text}} - {{#if item.contents}} - {{tree-view content=item.contents}} - {{/if}} - </li> - {{/each}} -</ul> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/udf-tr-view.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/udf-tr-view.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/udf-tr-view.hbs deleted file mode 100644 index 4b5cd61..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/udf-tr-view.hbs +++ /dev/null @@ -1,77 +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. -}} - -<td> - {{#if udf.isEditing}} - {{#if udf.isEditingResource}} - {{extended-input type="text" - class="pull-left form-control halfed input-sm" - placeholderTranslation="placeholders.fileResource.name" - value=udf.fileResource.name}} - {{extended-input type="text" - class="pull-left form-control halfed input-sm" - placeholderTranslation="placeholders.fileResource.path" - value=udf.fileResource.path}} - {{else}} - {{select-widget items=fileResources - selectedValue=udf.fileResource - labelPath="name" - defaultLabelTranslation="placeholders.select.file" - itemAdded="addFileResource" - itemEdited="editFileResource" - itemRemoved="deleteFileResource" - canAdd=true - canEdit=true}} - {{/if}} - {{else}} - {{#if udf.fileResource}} - {{udf.fileResource.name}} ({{udf.fileResource.path}}) - {{/if}} - {{/if}} -</td> -{{#each column in columns}} - <td> - {{#if udf.isEditing}} - {{extended-input type="text" - class="pull-left form-control input-sm" - placeholderTranslation=column.caption - dynamicContextBinding="udf" - dynamicValueBinding="column.property"}} - {{else}} - {{path-binding udf column.property}} - {{/if}} - </td> -{{/each}} -<td> - {{#if udf.isEditing}} - <div class="pull-right"> - <button type="button" class="btn btn-sm btn-warning" {{action "cancel"}}>{{t "buttons.cancel"}}</button> - <button type="button" class="btn btn-sm btn-success" {{action "save"}}>{{t "buttons.save"}}</button> - </div> - {{else}} - <div class="btn-group pull-right"> - <span data-toggle="dropdown"> - <a class="fa fa-gear"></a> - </span> - <ul class="dropdown-menu" role="menu"> - <li {{action 'editUdf'}}><a>{{t 'buttons.edit'}}</a></li> - <li {{action 'deleteUdf'}}><a>{{t 'buttons.delete'}}</a></li> - </ul> - </div> - {{/if}} -</td> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/validated-text-field.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/validated-text-field.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/validated-text-field.hbs deleted file mode 100644 index 7cf0fcf..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/validated-text-field.hbs +++ /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. -}} - -{{! -* see example in validated-text-field.js component file -}} - -{{input class=inputClass value=inputValue title=message placeholder=placeholder}} http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/visualization-tabs-widget.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/visualization-tabs-widget.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/visualization-tabs-widget.hbs deleted file mode 100644 index dad5e41..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/visualization-tabs-widget.hbs +++ /dev/null @@ -1,27 +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. -}} - -<ul class="nav nav-tabs visualization-tabs"> - {{#each tab in tabs}} - <li {{bind-attr class="tab.active:active"}} {{action 'selectTab' tab}}> - <a>{{tab.name}}</a> - </li> - {{/each}} -</ul> - -<iframe {{bind-attr src=selectedTab.url}} id="visualization_frame" style="width:100%;height:1000px;border:0px;" allowfullscreen="true"></iframe> http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/databases-search-results.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/databases-search-results.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/databases-search-results.hbs deleted file mode 100644 index 8ff3895..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/databases-search-results.hbs +++ /dev/null @@ -1,54 +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. -}} - -{{#if tableSearchResults.tables}} - <div class="databases"> - <a class="fa fa-database"> {{selectedDatabase.name}}</a> - - <div class="tables"> - {{#each table in tableSearchResults.tables}} - <a class="fa fa-th"> {{table.name}}</a> - - <div class="columns"> - {{#each column in table.columns}} - <div> - <strong>{{column.name}}</strong> - <span class="pull-right">{{column.type}}</span> - </div> - {{/each}} - - {{#if table.hasNext}} - <strong><a {{action "showMoreResultColumns" table}}>{{t "buttons.loadMore"}}</a></strong> - {{/if}} - </div> - {{/each}} - {{#if tableSearchResults.hasNext}} - <strong><a {{action "showMoreResultTables" database}}>{{t "buttons.loadMore"}}</a></strong> - {{/if}} - {{#if showColumnsResultAlert}} - <div class="alert alert-warning database-explorer-alert" role="alert"> - {{t "labels.noColumnsMatch"}} <strong>"{{textColumnSearchTerm}}"</strong> - </div> - {{/if}} - </div> - </div> -{{else}} - <div class="alert alert-warning database-explorer-alert" role="alert"> - {{t "labels.noTablesMatch"}} <strong>"{{tablesSearchTerm}}"</strong> - </div> -{{/if}} http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/databases-tree.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/databases-tree.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/databases-tree.hbs deleted file mode 100644 index 5023c40..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/databases-tree.hbs +++ /dev/null @@ -1,50 +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="databases"> - {{#each database in databases}} - {{#collapsible-widget heading=database.name isExpanded=database.isExpanded iconClass="fa-database" expanded="getTables" toggledParam=database}} - {{#if database.isExpanded}} - <div class="tables"> - {{#each table in database.visibleTables}} - {{#collapsible-widget heading=table.name isExpanded=table.isExpanded toggledParam=database iconClass="fa-table" expanded="getColumns" controls=tableControls}} - {{#if table.isExpanded}} - <div class="columns"> - {{#each column in table.visibleColumns}} - <div> - <div class="column-name" {{bind-attr data-original-title=column.name}} - data-toggle="tooltip" data-placement="top" title>{{column.name}} - </div> - <span class="pull-right widget-controls">{{format-column-type column}}</span> - </div> - {{/each}} - {{#if table.canGetNextPage}} - <strong><a {{action "showMoreColumns" table database}}>{{t "buttons.loadMore"}}</a></strong> - {{/if}} - </div> - {{/if}} - {{/collapsible-widget}} - {{/each}} - {{#if database.canGetNextPage}} - <strong><a {{action "showMoreTables" database}}>{{t "buttons.loadMore"}}</a></strong> - {{/if}} - </div> - {{/if}} - {{/collapsible-widget}} - {{/each}} -</div> http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/databases.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/databases.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/databases.hbs deleted file mode 100644 index 3997ea8..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/databases.hbs +++ /dev/null @@ -1,54 +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. -}} - -{{#panel-widget headingTranslation="titles.database" isLoading=isLoading classNames="database-explorer" iconActions=panelIconActions}} - {{#if databases}} - - {{typeahead-widget - content=databases - optionValuePath="id" - optionLabelPath="name" - selection=selectedDatabase - }} - - <hr /> - - {{#if selectedDatabase}} - {{extended-input class="form-control input-sm mozBoxSizeFix input-sm search-tables-text" - placeholderTranslation="placeholders.search.tables" - valueSearched="searchTables" - value=tableSearchTerm}} - - <hr /> - {{/if}} - - - {{#if tableSearchResults.tables}} - {{extended-input class="form-control input-sm mozBoxSizeFix search-columns-text" - placeholderTranslation="placeholders.search.columns" - valueSearched="searchColumns" - value=columnSearchTerm}} - - <hr /> - {{/if}} - - {{#tabs-widget tabs=tabs selectedTab=selectedTab}} - {{partial selectedTab.view}} - {{/tabs-widget}} - {{/if}} -{{/panel-widget}} http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/history.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/history.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/history.hbs deleted file mode 100644 index 7121b85..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/history.hbs +++ /dev/null @@ -1,67 +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 class="table table-expandable"> - <thead> - <tr> - {{#each column in columns}} - <th> - {{#if column.caption}} - {{column-filter-widget class="pull-left" - column=column - filterValue=column.filterValue - sortAscending=controller.sortAscending - sortProperties=controller.sortProperties - columnSorted="sort" - columnFiltered="filterUpdated"}} - {{else}} - {{tb-helper "caption" column}} - {{/if}} - </th> - {{/each}} - <th> - <button type="btn" class="btn btn-primary btn-sm icon-refresh" {{action - "refreshJobs"}}><i class="fa fa-refresh" aria-hidden="true"></i> - {{t "buttons.refresh"}}</button> - - <button type="btn" class="btn btn-sm btn-warning pull-right clear-filters" {{action - "clearFilters"}}>{{t "buttons.clearFilters"}}</button> - </th> - </tr> - </thead> - <tbody> - {{#if history.length}} - {{#if model.length}} - {{#each item in this}} - {{job-tr-view job=item onStopJob="interruptJob" onFileRequested="loadFile"}} - {{/each}} - {{else}} - <tr> - <td colspan="5"> - <h4 class="empty-list">{{t "emptyList.history.noMatches"}}</h4> - </td> - </tr> - {{/if}} - {{else}} - <tr> - <td colspan="5"> - <h4 class="empty-list">{{t "emptyList.history.noItems"}}</h4> - </td> - </tr> - {{/if}} - </tbody> -</table> http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/index.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/index.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/index.hbs deleted file mode 100644 index b9e5a46..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/index.hbs +++ /dev/null @@ -1,134 +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="uploadProgressModal" class="modal fade" role="dialog" data-backdrop="static"> - <div class="modal-dialog"> - - <!-- Modal content--> - <div class="modal-content"> - <div class="modal-header"> - <h4 class="modal-title">{{t "hive.ui.uploadProgress"}}</h4> - </div> - <div class="modal-body"> - <p> - <ul> - {{t "hive.ui.uploading"}} - </ul> - </p> - </div> - </div> - - </div> -</div> - -<div id="index-content"> - <div class="main-content"> - <aside {{bind-attr class="isDatabaseExplorerVisible:col-md-3:no-width :col-xs-3 :no-padding"}}> - {{render 'databases'}} - </aside> - - <div {{bind-attr class="isDatabaseExplorerVisible:col-md-9:col-md-12 :col-xs-9 :query-container"}}> - {{#panel-widget headingTranslation="titles.query.editor" classNames="query-editor-panel" iconActions=queryPanelActions}} - {{render 'open-queries'}} - - <div class="toolbox"> - {{#if canExecute}} - <button type="button" class="btn btn-sm btn-success execute-query" {{action "executeQuery"}}> - {{t "buttons.execute"}} - </button> - {{else}} - <button type="button" {{bind-attr class=":btn :btn-sm :btn-warning model.isCancelling:disabled"}} {{action "stopCurrentJob"}}> - {{#if model.isCancelling}} - {{t "buttons.stoppingJob"}} - <div class="spinner small inline-spinner"></div> - {{else}} - {{t "buttons.stopJob"}} - {{/if}} - </button> - {{/if}} - - <button type="button" {{bind-attr class=":btn :btn-sm :btn-default canExecute::disabled"}} {{action "explainQuery"}}> - {{t "buttons.explain"}} - </button> - - <label for="upload"> - <span {{bind-attr class=":btn :btn-sm :btn-default"}}>{{t "buttons.uploadQuery"}}</span> - {{upload-query filesUploaded="filesUploaded"}} - </label> - - <button type="button" class="btn btn-sm btn-default save-query-as" {{action "saveQuery"}}>{{t "buttons.saveAs"}}</button> - - {{render 'insert-udfs'}} - - {{#if canKillSession}} - <button type="button" class="btn btn-sm btn-danger kill-session" {{action "killSession"}}>{{t "buttons.killSession"}}</button> - {{/if}} - - <button type="button" class="btn btn-sm btn-primary pull-right" {{action "addQuery"}}>{{t "buttons.newQuery"}}</button> - </div> - {{/panel-widget}} - - {{#if displayJobTabs}} - {{#if jobProgressService.currentJob.stages.length}} - {{#progress-widget value=jobProgressService.currentJob.totalProgress}} - {{/progress-widget}} - {{/if}} - {{/if}} - - {{#if queryParams}} - {{#panel-widget headingTranslation="titles.query.parameters"}} - <div class="form-horizontal"> - {{#each param in queryParams}} - <div {{bind-attr class=":form-group param.value:has-success:has-error"}}> - <label class="col-sm-3 control-label">{{param.name}}</label> - <div class="col-sm-9"> - {{input value=param.value placeholder="value" class="form-control"}} - </div> - </div> - {{/each}} - </div> - {{/panel-widget}} - {{/if}} - - {{#if displayJobTabs}} - {{#panel-widget heading=queryProcessTitle - isLoading=content.isRunning - menuItems=downloadMenu - menuHeadingTranslation="titles.download" - classNames="query-process-results-panel"}} - {{#tabs-widget tabs=queryProcessTabs selectedTab=selectedQueryProcessTab}} - {{outlet}} - {{/tabs-widget}} - {{/panel-widget}} - {{/if}} - </div> - </div> - - {{outlet 'overlay'}} - - <div class="query-menu"> - {{#popover-widget classNames="fa fa-info-circle queries-icon" titleTranslation="popover.queryEditorHelp.title" }} - <ul> - <li>{{t 'popover.queryEditorHelp.content.line1'}}</li> - <li>{{t 'popover.queryEditorHelp.content.line2'}}</li> - <li>{{t 'popover.queryEditorHelp.content.line3'}}</li> - </ul> - {{/popover-widget}} - - {{render 'query-tabs'}} - </div> -</div> http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/index/history-query/explain.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/index/history-query/explain.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/index/history-query/explain.hbs deleted file mode 100644 index f7948e2..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/index/history-query/explain.hbs +++ /dev/null @@ -1,27 +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. -}} -<pre class="explainprint"> -{{#each header in formattedExplain}} - {{#if header.text}} - <div>{{header.text}}</div> - {{#if header.contents.length }} - {{tree-view content=header.contents}} - {{/if}} - {{/if}} -{{/each}} -</pre> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/index/history-query/logs.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/index/history-query/logs.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/index/history-query/logs.hbs deleted file mode 100644 index 283d929..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/index/history-query/logs.hbs +++ /dev/null @@ -1,19 +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. -}} - -{{log-helper model.log}} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/index/history-query/results.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/index/history-query/results.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/index/history-query/results.hbs deleted file mode 100644 index 2b7dae9..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/index/history-query/results.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. -}} - -<div id="query-results"> - {{#if results}} - <div class="query-results-tools"> - {{extended-input type="text" - class="pull-left input-sm form-control" - placeholderTranslation='placeholders.search.results' - valueChanged="filterResults"}} - - <div class="pull-right"> - <button type="button" {{action "getPreviousPage"}} - {{bind-attr class=":btn :btn-sm :btn-default disablePrevious:disabled"}}>{{t "buttons.previousPage"}}</button> - <button type="button" {{action "getNextPage"}} - {{bind-attr class=":btn :btn-sm :btn-default disableNext:disabled"}}>{{t "buttons.nextPage"}}</button> - </div> - </div> - - <table class="table table-expandable"> - <thead> - <tr> - {{#each column in formattedResults.columns}} - <th> {{column.name}} </th> - {{/each}} - </tr> - </thead> - <tbody> - {{#each row in formattedResults.rows}} - <tr> - {{#each item in row}} - <td>{{item}}</td> - {{/each}} - </tr> - {{/each}} - </tbody> - </table> - {{else}} - {{error}} - {{/if}} -</div> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/insert-udfs.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/insert-udfs.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/insert-udfs.hbs deleted file mode 100644 index f01104b..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/insert-udfs.hbs +++ /dev/null @@ -1,46 +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. -}} - -{{#if this.length}} - <div class="dropdown insert-udfs"> - <a role="button" data-toggle="dropdown" class="btn btn-default btn-sm" data-target="#"> - {{t "placeholders.select.udfs"}} - <span class="caret"></span> - </a> - <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="dropdownMenu"> - {{#each item in this}} - <li class="dropdown dropdown-submenu"> - {{#if item.file}} - <a tabindex="-1">{{item.file.name}}</a> - {{else}} - <a tabindex="-1">{{tb-helper item.name}}</a> - {{/if}} - <ul class="dropdown-menu"> - {{#each udf in item.udfs}} - <li> - {{#no-bubbling click="insertUdf" data=udf tagName="a"}} - {{udf.name}} - {{/no-bubbling}} - </li> - {{/each}} - </ul> - </li> - {{/each}} - </ul> - </div> -{{/if}} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/loading.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/loading.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/loading.hbs deleted file mode 100644 index c0de275..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/loading.hbs +++ /dev/null @@ -1,19 +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="spinner"></div> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/logs.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/logs.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/logs.hbs deleted file mode 100644 index 283d929..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/logs.hbs +++ /dev/null @@ -1,19 +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. -}} - -{{log-helper model.log}} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/message.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/message.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/message.hbs deleted file mode 100644 index ad7fb9a..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/message.hbs +++ /dev/null @@ -1,36 +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=":alert :notification view.typeClass"}}> - <button type="button" class="close" {{action "close" target="view"}}><span aria-hidden="true">×</span></button> - <i {{bind-attr class=":fa view.typeIcon"}}></i> - - {{#if view.notification.body}} - <a {{action "expand" target="view"}}> - {{view.notification.message}} - </a> - {{else}} - {{view.notification.message}} - {{/if}} - - {{#if view.isExpanded}} - <pre class="message-body"> - {{preformatted-string view.notification.body}} - </pre> - {{/if}} -</div> http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/messages.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/messages.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/messages.hbs deleted file mode 100644 index 3dfc7d0..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/messages.hbs +++ /dev/null @@ -1,32 +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="messages" class="index-overlay"> - {{#panel-widget headingTranslation="titles.query.messages"}} - <div class="messages-controls"> - {{#if messages.length}} - <button class="btn btn-danger btn-xs" {{action 'removeAllMessages'}}><i class="fa fa-minus"></i> Clear All</button> - {{/if}} - </div> - - - {{#each message in messages}} - {{view 'message' notification=message}} - {{/each}} - {{/panel-widget}} -</div> http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/modal-delete.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/modal-delete.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/modal-delete.hbs deleted file mode 100644 index 032c144..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/modal-delete.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. -}} - -{{#modal-widget heading=heading close="close" ok="delete"}} - {{tb-helper text}} -{{/modal-widget}} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/e423a65e/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/modal-save-query.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/modal-save-query.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/modal-save-query.hbs deleted file mode 100644 index 6853550..0000000 --- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/modal-save-query.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. -}} - -{{#modal-widget heading=heading close="close" ok="save"}} - {{input type="text" class="form-control" value=text }} - {{#if showMessage}} - <span class="label label-warning">{{tb-helper message}}</span> - {{/if}} -{{/modal-widget}} \ No newline at end of file