ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbhowm...@apache.org
Subject ambari git commit: AMBARI-19940. Hive View 2.0: Remove aria tags from templates. (dipayanb)
Date Fri, 10 Feb 2017 09:36:28 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 13e30b393 -> 20a224cec


AMBARI-19940. Hive View 2.0: Remove aria tags from templates. (dipayanb)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/20a224ce
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/20a224ce
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/20a224ce

Branch: refs/heads/branch-2.5
Commit: 20a224cecedbda9fe042867cf061ef0d8e8d5172
Parents: 13e30b3
Author: Dipayan Bhowmick <dipayan.bhowmick@gmail.com>
Authored: Fri Feb 10 15:06:13 2017 +0530
Committer: Dipayan Bhowmick <dipayan.bhowmick@gmail.com>
Committed: Fri Feb 10 15:06:13 2017 +0530

----------------------------------------------------------------------
 .../main/resources/ui/app/templates/components/alert-message.hbs | 2 +-
 .../main/resources/ui/app/templates/components/column-item.hbs   | 2 +-
 .../resources/ui/app/templates/components/confirm-dialog.hbs     | 2 +-
 .../main/resources/ui/app/templates/components/export-result.hbs | 2 +-
 .../resources/ui/app/templates/components/hdfs-viewer-modal.hbs  | 2 +-
 .../main/resources/ui/app/templates/components/info-dialog.hbs   | 2 +-
 .../resources/ui/app/templates/components/query-result-table.hbs | 4 ++--
 .../hive20/src/main/resources/ui/app/templates/databases.hbs     | 2 +-
 .../ui/app/templates/databases/database/tables/table.hbs         | 4 ++--
 .../hive20/src/main/resources/ui/app/templates/queries/query.hbs | 4 ++--
 .../hive20/src/main/resources/ui/app/templates/savedqueries.hbs  | 4 ++--
 .../hive20/src/main/resources/ui/app/templates/service-check.hbs | 2 +-
 12 files changed, 16 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/20a224ce/contrib/views/hive20/src/main/resources/ui/app/templates/components/alert-message.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/components/alert-message.hbs
b/contrib/views/hive20/src/main/resources/ui/app/templates/components/alert-message.hbs
index ce8d941..2f114f9 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/templates/components/alert-message.hbs
+++ b/contrib/views/hive20/src/main/resources/ui/app/templates/components/alert-message.hbs
@@ -17,7 +17,7 @@
 }}
 
 <div class={{alert-message-context-class flash.type "clearfix alert alert-dismissible
alert-"}}>
-  <button type="button" class="close" {{action "closeAlert"}}><span aria-hidden="true">&times;</span></button>
+  <button type="button" class="close" {{action "closeAlert"}}>&times;</button>
   <div class="alert-icon wrap-message">
     {{#fa-stack size=2}}
       {{fa-icon "circle-thin" stack=2}}

http://git-wip-us.apache.org/repos/asf/ambari/blob/20a224ce/contrib/views/hive20/src/main/resources/ui/app/templates/components/column-item.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/components/column-item.hbs
b/contrib/views/hive20/src/main/resources/ui/app/templates/components/column-item.hbs
index b649d5b..21418c1 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/templates/components/column-item.hbs
+++ b/contrib/views/hive20/src/main/resources/ui/app/templates/components/column-item.hbs
@@ -75,7 +75,7 @@
       container-class="modal-dialog"}}
       <div class="modal-content">
         <div class="modal-header text-danger">
-          <button type="button" class="close" {{action "advanceOptionToggle"}}><span
aria-hidden="true">&times;</span></button>
+          <button type="button" class="close" {{action "advanceOptionToggle"}}>&times;</button>
           <h4 class="modal-title">{{fa-icon "cog" size="lg"}} Advance Column Options</h4>
         </div>
         <div class="modal-body">

http://git-wip-us.apache.org/repos/asf/ambari/blob/20a224ce/contrib/views/hive20/src/main/resources/ui/app/templates/components/confirm-dialog.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/components/confirm-dialog.hbs
b/contrib/views/hive20/src/main/resources/ui/app/templates/components/confirm-dialog.hbs
index d940237..b62e98b 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/templates/components/confirm-dialog.hbs
+++ b/contrib/views/hive20/src/main/resources/ui/app/templates/components/confirm-dialog.hbs
@@ -24,7 +24,7 @@
   <div class="modal-content">
     <div class="modal-header text-{{titleClass}}">
       {{#if closable}}
-        <button type="button" class="close" {{action "reject"}}><span aria-hidden="true">&times;</span></button>
+        <button type="button" class="close" {{action "reject"}}>&times;</button>
       {{/if}}
       <p class="modal-title">{{#if titleIcon}}{{fa-icon titleIcon size="lg"}}{{/if}}
{{title}}</p>
     </div>

http://git-wip-us.apache.org/repos/asf/ambari/blob/20a224ce/contrib/views/hive20/src/main/resources/ui/app/templates/components/export-result.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/components/export-result.hbs
b/contrib/views/hive20/src/main/resources/ui/app/templates/components/export-result.hbs
index 0b462cb..69991f1 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/templates/components/export-result.hbs
+++ b/contrib/views/hive20/src/main/resources/ui/app/templates/components/export-result.hbs
@@ -23,7 +23,7 @@
   container-class="modal-dialog"}}
   <div class="modal-content">
     <div class="modal-header text-{{titleClass}}">
-        <button type="button" class="close" {{action "reject"}}><span aria-hidden="true">&times;</span></button>
+        <button type="button" class="close" {{action "reject"}}>&times;</button>
     </div>
     <div class="modal-body">
       <p class="lead">{{#if labelIcon}}{{fa-icon labelIcon size="lg"}}{{/if}} {{label}}</p>

http://git-wip-us.apache.org/repos/asf/ambari/blob/20a224ce/contrib/views/hive20/src/main/resources/ui/app/templates/components/hdfs-viewer-modal.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/components/hdfs-viewer-modal.hbs
b/contrib/views/hive20/src/main/resources/ui/app/templates/components/hdfs-viewer-modal.hbs
index f3dce67..aee6fc3 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/templates/components/hdfs-viewer-modal.hbs
+++ b/contrib/views/hive20/src/main/resources/ui/app/templates/components/hdfs-viewer-modal.hbs
@@ -24,7 +24,7 @@
   <div class="modal-content hdfs-viewer">
     <div class="modal-header">
       <div class="text-info">
-        <button type="button" class="close" {{action "closeDirectoryViewer"}}><span
aria-hidden="true">&times;</span></button>
+        <button type="button" class="close" {{action "closeDirectoryViewer"}}>&times;</button>
         <h4 class="modal-title">{{fa-icon "database" size="lg"}} Select location</h4>
       </div>
       {{#if (and showSelectedPath hdfsLocation)}}

http://git-wip-us.apache.org/repos/asf/ambari/blob/20a224ce/contrib/views/hive20/src/main/resources/ui/app/templates/components/info-dialog.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/components/info-dialog.hbs
b/contrib/views/hive20/src/main/resources/ui/app/templates/components/info-dialog.hbs
index cf44f7e..59f7309 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/templates/components/info-dialog.hbs
+++ b/contrib/views/hive20/src/main/resources/ui/app/templates/components/info-dialog.hbs
@@ -23,7 +23,7 @@
   <div class="modal-content">
     <div class="modal-header text-{{titleClass}}">
       {{#if closable}}
-        <button type="button" class="close" {{action "ok"}}><span aria-hidden="true">&times;</span></button>
+        <button type="button" class="close" {{action "ok"}}>&times;</button>
       {{/if}}
       <p class="modal-title">{{#if titleIcon}}{{fa-icon titleIcon size="lg"}}{{/if}}
{{title}}</p>
     </div>

http://git-wip-us.apache.org/repos/asf/ambari/blob/20a224ce/contrib/views/hive20/src/main/resources/ui/app/templates/components/query-result-table.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/components/query-result-table.hbs
b/contrib/views/hive20/src/main/resources/ui/app/templates/components/query-result-table.hbs
index 9700038..4d8524e 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/templates/components/query-result-table.hbs
+++ b/contrib/views/hive20/src/main/resources/ui/app/templates/components/query-result-table.hbs
@@ -29,8 +29,8 @@
 {{#unless isQueryRunning}}
   <div class="clearfix" style="text-align: right; padding-right:5px">
     <span class="dropdown">
-      <button class="btn btn-default dropdown-toggle" title="Actions" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="true">{{fa-icon "bars"}} </button>
-      <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenu">
+      <button class="btn btn-default dropdown-toggle" title="Actions" data-toggle="dropdown">{{fa-icon
"bars"}} </button>
+      <ul class="dropdown-menu dropdown-menu-right">
         <li><a href="#" {{action "openSaveHdfsModal" }} class="text-uppercase">{{fa-icon
"save"}} Save To HDFS</a></li>
         <li><a href="#" {{action "openDownloadCsvModal" }} class="text-uppercase">{{fa-icon
"download"}} Download As CSV</a></li>
       </ul>

http://git-wip-us.apache.org/repos/asf/ambari/blob/20a224ce/contrib/views/hive20/src/main/resources/ui/app/templates/databases.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/databases.hbs b/contrib/views/hive20/src/main/resources/ui/app/templates/databases.hbs
index bb4d680..ecedef5 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/templates/databases.hbs
+++ b/contrib/views/hive20/src/main/resources/ui/app/templates/databases.hbs
@@ -19,7 +19,7 @@
 {{database-search-bar databases=model selected="databaseSelected"}}
 <div class="hv-dropdown database-dropdown">
   <div class="dropdown">
-    <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="true">
+    <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown">
       {{fa-icon "navicon"}}
     </button>
     <ul class="dropdown-menu dropdown-menu-right">

http://git-wip-us.apache.org/repos/asf/ambari/blob/20a224ce/contrib/views/hive20/src/main/resources/ui/app/templates/databases/database/tables/table.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/databases/database/tables/table.hbs
b/contrib/views/hive20/src/main/resources/ui/app/templates/databases/database/tables/table.hbs
index 9a1306a..2fe3cfb 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/templates/databases/database/tables/table.hbs
+++ b/contrib/views/hive20/src/main/resources/ui/app/templates/databases/database/tables/table.hbs
@@ -21,10 +21,10 @@
     <p class="text-uppercase">table<strong>&nbsp;&nbsp;>&nbsp;&nbsp;{{model.table}}</strong></p>
     <div class="hv-dropdown tables-dropdown">
       <div class="dropdown">
-        <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
+        <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown">
           {{fa-icon "navicon"}}
         </button>
-        <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenu1">
+        <ul class="dropdown-menu dropdown-menu-right">
           <li>{{#link-to "databases.database.tables.table.edit" class="text-uppercase"}}{{fa-icon
"edit"}} Edit{{/link-to}}</li>
           <li>{{#link-to "databases.database.tables.table.rename" class="text-uppercase"}}{{fa-icon
"edit"}} Rename{{/link-to}}</li>
           <li><a href="#" class="text-uppercase" {{action "deleteTable" model}}>{{fa-icon
"trash"}} Delete</a></li>

http://git-wip-us.apache.org/repos/asf/ambari/blob/20a224ce/contrib/views/hive20/src/main/resources/ui/app/templates/queries/query.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/queries/query.hbs b/contrib/views/hive20/src/main/resources/ui/app/templates/queries/query.hbs
index 8ee8e87..2d6c5aa 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/templates/queries/query.hbs
+++ b/contrib/views/hive20/src/main/resources/ui/app/templates/queries/query.hbs
@@ -112,13 +112,13 @@
 <div class="col-md-3 database-panel">
   <div class="database-container">
     <div class="row">
-    <div class="panel-group database-panel" id="db_accordion" role="tablist" aria-multiselectable="true">
+    <div class="panel-group database-panel" id="db_accordion" role="tablist">
       {{#each selectedTablesModels as |tableModel|}}
         <div class="panel panel-default">
           <div class="panel-heading" role="tab" id={{concat 'db_heading_' tableModel.dbname}}>
             <h4 class="panel-title">
               <a role="button" data-i-toggle="collapse" data-i-parent="#db_accordion"
-                 href="javascript:void(0)" {{action 'showTables' tableModel.dbname }} aria-expanded="true"
+                 href="javascript:void(0)" {{action 'showTables' tableModel.dbname }}
                  aria-controls={{concat 'db_body_' tableModel.dbname}}>
                 {{ tableModel.dbname }} {{#if (eq tableModel.dbname worksheet.selectedDb)}}
{{fa-icon "check"}}  {{/if}}
               </a>

http://git-wip-us.apache.org/repos/asf/ambari/blob/20a224ce/contrib/views/hive20/src/main/resources/ui/app/templates/savedqueries.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/savedqueries.hbs b/contrib/views/hive20/src/main/resources/ui/app/templates/savedqueries.hbs
index 287fc34..36dc982 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/templates/savedqueries.hbs
+++ b/contrib/views/hive20/src/main/resources/ui/app/templates/savedqueries.hbs
@@ -37,8 +37,8 @@
           <td>{{savedQuery.owner}}</td>
           <td>
               <div class="dropdown">
-                <a class="dropdown-toggle" id="dropdownMenu1121" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="true">{{fa-icon "cog"}}</a>
-                <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenu">
+                <a class="dropdown-toggle" data-toggle="dropdown">{{fa-icon "cog"}}</a>
+                <ul class="dropdown-menu dropdown-menu-right"">
                   <li><a href="#" {{action "historySavedQuery" savedQuery.id }}
class="text-uppercase">{{fa-icon "history"}} History</a></li>
                   <li><a href="#" {{action "openDeleteSavedQueryModal" savedQuery.id}}
class="text-uppercase">{{fa-icon "remove"}} Delete</a></li>
                   <li><a href="#" {{action "openAsWorksheet" savedQuery }} class="text-uppercase">{{fa-icon
"folder-open-o"}} Open as worksheet</a></li>

http://git-wip-us.apache.org/repos/asf/ambari/blob/20a224ce/contrib/views/hive20/src/main/resources/ui/app/templates/service-check.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/service-check.hbs b/contrib/views/hive20/src/main/resources/ui/app/templates/service-check.hbs
index 8233c93..2a867aa 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/templates/service-check.hbs
+++ b/contrib/views/hive20/src/main/resources/ui/app/templates/service-check.hbs
@@ -18,7 +18,7 @@
 
 <div class="col-md-offset-2 col-md-8">
   <div class="progress">
-    <div class="progress-bar {{if hasError 'progress-bar-danger'}} {{if serviceCheck.checkCompleted
'progress-bar-success'}}" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"
style={{progressStyle}}>
+    <div class="progress-bar {{if hasError 'progress-bar-danger'}} {{if serviceCheck.checkCompleted
'progress-bar-success'}}" role="progressbar" style={{progressStyle}}>
     </div>
   </div>
 


Mime
View raw message