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-20177. HiveView2.0: Text 'Create Database' is shown on UI with status of editing a table. (dipayanb)
Date Wed, 01 Mar 2017 06:47:42 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 e9475c479 -> ad94fcc2e


AMBARI-20177. HiveView2.0: Text 'Create Database' is shown on UI with status of editing a
table. (dipayanb)


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

Branch: refs/heads/branch-2.5
Commit: ad94fcc2e86fee88f723f36f9472f9ef137c9be3
Parents: e9475c4
Author: Dipayan Bhowmick <dipayan.bhowmick@gmail.com>
Authored: Wed Mar 1 12:17:28 2017 +0530
Committer: Dipayan Bhowmick <dipayan.bhowmick@gmail.com>
Committed: Wed Mar 1 12:17:28 2017 +0530

----------------------------------------------------------------------
 .../src/main/resources/ui/app/templates/components/edit-table.hbs  | 2 +-
 .../ui/app/templates/components/table-advanced-settings.hbs        | 2 +-
 .../ui/app/templates/databases/database/tables/table/edit.hbs      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/ad94fcc2/contrib/views/hive20/src/main/resources/ui/app/templates/components/edit-table.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/components/edit-table.hbs
b/contrib/views/hive20/src/main/resources/ui/app/templates/components/edit-table.hbs
index 70e7824..7a02d3a 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/templates/components/edit-table.hbs
+++ b/contrib/views/hive20/src/main/resources/ui/app/templates/components/edit-table.hbs
@@ -47,7 +47,7 @@
   </div>
   <div class="create-table-controls">
     <div class="row">
-      <div class="col-md-2">
+      <div class="col-md-12">
         <button class="btn btn-success" {{action "edit"}}>{{fa-icon "edit"}} Edit</button>
         <button class="btn btn-warning" {{action "cancel"}}>{{fa-icon "times"}} Cancel</button>
       </div>

http://git-wip-us.apache.org/repos/asf/ambari/blob/ad94fcc2/contrib/views/hive20/src/main/resources/ui/app/templates/components/table-advanced-settings.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/components/table-advanced-settings.hbs
b/contrib/views/hive20/src/main/resources/ui/app/templates/components/table-advanced-settings.hbs
index 4aca56d..da1c0b4 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/templates/components/table-advanced-settings.hbs
+++ b/contrib/views/hive20/src/main/resources/ui/app/templates/components/table-advanced-settings.hbs
@@ -39,7 +39,7 @@
           <label class="col-md-2 control-label">Number of buckets</label>
           <div class="col-md-6">
             <div class="{{if hasNumBucketError 'has-error'}}">
-              {{input type="number" class="form-control" value=settings.numBuckets disabled=disableNumBucketsInput}}
+              {{input type="number" min="0" class="form-control" value=settings.numBuckets
disabled=disableNumBucketsInput}}
               {{#if hasNumBucketError}}
                 <span class="help-block">{{numBucketErrorText}}</span>
               {{/if}}

http://git-wip-us.apache.org/repos/asf/ambari/blob/ad94fcc2/contrib/views/hive20/src/main/resources/ui/app/templates/databases/database/tables/table/edit.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/databases/database/tables/table/edit.hbs
b/contrib/views/hive20/src/main/resources/ui/app/templates/databases/database/tables/table/edit.hbs
index 79f1701..6e4de64 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/templates/databases/database/tables/table/edit.hbs
+++ b/contrib/views/hive20/src/main/resources/ui/app/templates/databases/database/tables/table/edit.hbs
@@ -35,7 +35,7 @@
     container-class="modal-dialog modal-sm"}}
     <div class="modal-content">
       <div class="modal-header text-danger">
-        <p class="modal-title">{{fa-icon "plus"}}&nbsp;&nbsp;&nbsp; Create
Database</p>
+        <p class="modal-title">{{fa-icon "plus"}}&nbsp;&nbsp;&nbsp; Edit
Table</p>
       </div>
       <div class="modal-body text-center text-primary">
         <p>{{modalMessage}}</p>


Mime
View raw message