Browse Source

HUE-6077 [frontend] Removed all references to table-striped

Enrico Berti 8 years ago
parent
commit
7a9d092
41 changed files with 66 additions and 66 deletions
  1. 2 2
      apps/beeswax/src/beeswax/static/beeswax/js/stats.utils.js
  2. 1 1
      apps/beeswax/src/beeswax/templates/configuration.mako
  3. 3 3
      apps/beeswax/src/beeswax/templates/execute.mako
  4. 1 1
      apps/beeswax/src/beeswax/templates/import_wizard_choose_delimiter.mako
  5. 1 1
      apps/beeswax/src/beeswax/templates/import_wizard_define_columns.mako
  6. 1 1
      apps/beeswax/src/beeswax/templates/list_history.mako
  7. 1 1
      apps/beeswax/src/beeswax/templates/my_queries.mako
  8. 2 2
      apps/beeswax/src/beeswax/templates/watch_results.mako
  9. 2 2
      apps/filebrowser/src/filebrowser/templates/listdir_components.mako
  10. 1 1
      apps/hbase/src/hbase/templates/app.mako
  11. 1 1
      apps/jobsub/src/jobsub/static/jobsub/templates/designs.html
  12. 1 1
      apps/metastore/src/metastore/templates/describe_partitions.mako
  13. 5 5
      apps/metastore/src/metastore/templates/metastore.mako
  14. 2 2
      apps/oozie/src/oozie/templates/dashboard/list_oozie_bundle.mako
  15. 3 3
      apps/oozie/src/oozie/templates/dashboard/list_oozie_coordinator.mako
  16. 4 4
      apps/oozie/src/oozie/templates/dashboard/list_oozie_info.mako
  17. 1 1
      apps/oozie/src/oozie/templates/dashboard/list_oozie_sla.mako
  18. 2 2
      apps/oozie/src/oozie/templates/dashboard/list_oozie_workflow.mako
  19. 1 1
      apps/oozie/src/oozie/templates/editor/edit_bundle.mako
  20. 3 3
      apps/oozie/src/oozie/templates/editor/edit_coordinator.mako
  21. 1 1
      apps/oozie/src/oozie/templates/utils.inc.mako
  22. 3 3
      apps/pig/src/pig/templates/app.mako
  23. 1 1
      apps/rdbms/src/rdbms/templates/execute.mako
  24. 1 1
      apps/useradmin/src/useradmin/templates/list_configurations.mako
  25. 1 1
      apps/useradmin/src/useradmin/templates/list_groups.mako
  26. 1 1
      apps/useradmin/src/useradmin/templates/list_permissions.mako
  27. 1 1
      desktop/core/src/desktop/static/desktop/js/sqlAutocompleter.js
  28. 1 1
      desktop/core/src/desktop/templates/500.mako
  29. 1 1
      desktop/core/src/desktop/templates/check_config.mako
  30. 1 1
      desktop/core/src/desktop/templates/common_import_export.mako
  31. 1 1
      desktop/core/src/desktop/templates/common_notebook_ko_components.mako
  32. 1 1
      desktop/core/src/desktop/templates/document_browser.mako
  33. 1 1
      desktop/core/src/desktop/templates/dump_config.mako
  34. 1 1
      desktop/core/src/desktop/templates/home.mako
  35. 1 1
      desktop/core/src/desktop/templates/popup_error.mako
  36. 4 4
      desktop/core/src/desktop/templates/sql_context_popover.mako
  37. 2 2
      desktop/libs/dashboard/src/dashboard/templates/common_search.mako
  38. 1 1
      desktop/libs/indexer/src/indexer/templates/importer.mako
  39. 1 1
      desktop/libs/indexer/src/indexer/templates/indexer.mako
  40. 2 2
      desktop/libs/notebook/src/notebook/templates/editor_components.mako
  41. 1 1
      desktop/libs/notebook/src/notebook/templates/editor_m.mako

+ 2 - 2
apps/beeswax/src/beeswax/static/beeswax/js/stats.utils.js

@@ -43,7 +43,7 @@ function showStats(options) {
     dataType: "json",
     success: function (data) {
       if (data && data.status == 0) {
-        var _stats = "<table class='table table-striped'>";
+        var _stats = "<table class='table table-condensed'>";
         if (options.isTable) {
           data.stats.forEach(function (item) {
             _stats += "<tr><th>" + item.data_type + "</th><td>" + item.comment + "</td></tr>";
@@ -103,7 +103,7 @@ function loadTerms(options) {
       if (data && data.status == 0) {
         if (data.terms.length > 0){
           $("#columnAnalysisTerms .alert").addClass("hide");
-          var _terms = '<table class="table table-striped">';
+          var _terms = '<table class="table table-condensed">';
           data.terms.forEach(function(item){
             _terms += '<tr><td>' + item[0] + '</td>';
             _terms += '<td style="width: 40px">';

+ 1 - 1
apps/beeswax/src/beeswax/templates/configuration.mako

@@ -34,7 +34,7 @@ ${layout.menubar(section='configuration')}
           <input type="text" id="filterInput" class="input-xlarge search-query" placeholder="${_('Search for key or value.')}">
           <a href="#" id="clearFilterBtn" class="btn">${_('Clear')}</a>
         </form>
-        <table class="table table-striped table-condensed datatables">
+        <table class="table table-condensed datatables">
           <thead>
             <tr>
               <th>${_('Key')}</th>

+ 3 - 3
apps/beeswax/src/beeswax/templates/execute.mako

@@ -391,7 +391,7 @@ ${ layout.menubar(section='query') }
             <div id="recentLoader">
               <i class="fa fa-spinner fa-spin" style="font-size: 20px; color: #DDD"></i>
             </div>
-            <table id="recentQueries" class="table table-striped table-condensed datatables" cellpadding="0" cellspacing="0" data-tablescroller-enforce-height="true">
+            <table id="recentQueries" class="table table-condensed datatables" cellpadding="0" cellspacing="0" data-tablescroller-enforce-height="true">
               <thead>
                 <tr>
                   <th>${_('Time')}</th>
@@ -450,7 +450,7 @@ ${ layout.menubar(section='query') }
             <div data-bind="visible: $root.design.results.columns().length > 10">
               <input id="columnFilter" class="input-xlarge" type="text" placeholder="${_('Filter for column name or type...')}" />
             </div>
-            <table class="table table-striped table-condensed" cellpadding="0" cellspacing="0">
+            <table class="table table-condensed" cellpadding="0" cellspacing="0">
               <tbody data-bind="foreach: $root.design.results.columns">
                 <tr class="columnRow" data-bind="visible: $index() > 0">
                   <td rel="columntooltip" data-placement="left" data-bind="attr: {title: '${ _ko("Scroll to the column") }">
@@ -472,7 +472,7 @@ ${ layout.menubar(section='query') }
             </div>
 
             <div data-bind="css: {'hide': !$root.hasResults()}">
-              <table id="resultTable" class="table table-striped table-condensed" cellpadding="0" cellspacing="0" data-tablescroller-enforce-height="true">
+              <table id="resultTable" class="table table-condensed" cellpadding="0" cellspacing="0" data-tablescroller-enforce-height="true">
                 <thead>
                 <tr data-bind="foreach: $root.design.results.columns">
                   <th data-bind="html: ($index() == 0 ? '&nbsp;' : $data.name), css: { 'sort-numeric': isNumericColumn($data.type), 'sort-date': isDateTimeColumn($data.type), 'sort-string': isStringColumn($data.type), 'datatables-counter-col': $index() == 0}"></th>

+ 1 - 1
apps/beeswax/src/beeswax/templates/import_wizard_choose_delimiter.mako

@@ -136,7 +136,7 @@ ${ assist.assistPanel() }
                       <label class="control-label">${_('Table preview')}</label>
                       <div class="controls">
                           <div class="scrollable">
-                              <table class="table table-striped table-condensed">
+                              <table class="table table-condensed">
                                   <thead>
                                   <tr>
                                     % for i in range(n_cols):

+ 1 - 1
apps/beeswax/src/beeswax/templates/import_wizard_define_columns.mako

@@ -136,7 +136,7 @@ ${ assist.assistPanel() }
                 <div class="control-group" style="margin-top: 10px">
                   <div class="controls">
                     <div class="scrollable">
-                      <table class="table table-striped">
+                      <table class="table table-condensed">
                         <thead>
                           <th id="column_names" style="width:210px">${ _('Column name') }</th>
                           <th style="width:210px">${ _('Column Type') }</th>

+ 1 - 1
apps/beeswax/src/beeswax/templates/list_history.mako

@@ -108,7 +108,7 @@ ${ layout.menubar(section='history') }
             <div class="card-body">
               <p>
 
-            <table class="table table-striped table-condensed datatables" style="padding-left: 0;">
+            <table class="table table-condensed datatables" style="padding-left: 0;">
             <thead>
               <tr>
                 <th width="15%">${_('Time')}</th>

+ 1 - 1
apps/beeswax/src/beeswax/templates/my_queries.mako

@@ -116,7 +116,7 @@ ${layout.menubar(section='my queries')}
     </div>
 
     <div class="tab-pane" id="recentRunQueries">
-      <table id="recentRunQueriesTable" class="table table-striped table-condensed datatables">
+      <table id="recentRunQueriesTable" class="table table-condensed datatables">
         <thead>
           <tr>
             <th width="1%"><div class="hueCheckbox selectAll" data-selectables="runCheck"></div></th>

+ 2 - 2
apps/beeswax/src/beeswax/templates/watch_results.mako

@@ -169,7 +169,7 @@ ${layout.menubar(section='query')}
             % if expected_first_row != start_row:
                 <div class="alert"><strong>${_('Warning:')}</strong> ${_('Page offset may have incremented since last view.')}</div>
             % endif
-            <table id="resultTable" class="table table-striped table-condensed resultTable" cellpadding="0" cellspacing="0" data-tablescroller-min-height-disable="true" data-tablescroller-enforce-height="true">
+            <table id="resultTable" class="table table-condensed resultTable" cellpadding="0" cellspacing="0" data-tablescroller-min-height-disable="true" data-tablescroller-enforce-height="true">
             <thead>
             <tr>
               <th>&nbsp;</th>
@@ -216,7 +216,7 @@ ${layout.menubar(section='query')}
 
         % if not error:
         <div class="tab-pane" id="columns">
-          <table class="table table-striped table-condensed" cellpadding="0" cellspacing="0">
+          <table class="table table-condensed" cellpadding="0" cellspacing="0">
             <thead>
               <tr><th>${_('Name')}</th></tr>
             </thead>

+ 2 - 2
apps/filebrowser/src/filebrowser/templates/listdir_components.mako

@@ -334,7 +334,7 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
         <h2 class="modal-title">${_('Change Permissions')}</h2>
       </div>
       <div class="modal-body table-margin">
-        <table class="table table-striped">
+        <table class="table table-condensed">
           <thead>
             <tr>
               <th>&nbsp;</th>
@@ -537,7 +537,7 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
     </div>
     <div class="modal-body">
       <div data-bind="visible: isLoadingSummary"><i class="fa fa-spin fa-spinner fa-2x fa-fw" style="color: #CCC"></i></div>
-      <table class="table table-striped" data-bind="visible: !isLoadingSummary()">
+      <table class="table table-condensed" data-bind="visible: !isLoadingSummary()">
         <tr>
           <th>${ _('Disk space consumed') }</th>
           <td data-bind="text: formatBytes(contentSummary().spaceConsumed(), 4)"></td>

+ 1 - 1
apps/hbase/src/hbase/templates/app.mako

@@ -44,7 +44,7 @@ ${ commonheader(None, "hbase", user, request) | n,unicode }
 </div>
 
 <%def name="datatable(datasource,rowTemplate = 'itemTemplate')">
-  <table data-datasource="${datasource}" class="table table-striped table-condensed datatables tablescroller-disable" style="padding-left: 0;padding-right: 0">
+  <table data-datasource="${datasource}" class="table table-condensed datatables tablescroller-disable" style="padding-left: 0;padding-right: 0">
       <thead>
         <tr>
           <th width="1%"><div data-bind="click: ${datasource}.toggleSelectAll, css: {hueCheckbox: true, 'fa': true, 'fa-check': ${datasource}.allVisibleSelected() }"></div></th>

+ 1 - 1
apps/jobsub/src/jobsub/static/jobsub/templates/designs.html

@@ -1,4 +1,4 @@
-<table class="table table-striped table-condensed datatables">
+<table class="table table-condensed datatables">
   <thead>
     <tr>
       <th width="1%"><div class="hueCheckbox selectAll" data-selectables="savedCheck"></div></th>

+ 1 - 1
apps/metastore/src/metastore/templates/describe_partitions.mako

@@ -121,7 +121,7 @@ ${ assist.assistPanel() }
               </div>
             </div>
 
-            <table class="table table-striped table-condensed datatables" data-bind="visible: values().length > 0, style:{'opacity': isLoading() ? '.5': '1' }">
+            <table class="table table-condensed datatables" data-bind="visible: values().length > 0, style:{'opacity': isLoading() ? '.5': '1' }">
               <tr>
                 <th width="1%"><div class="hueCheckbox selectAll fa" data-selectables="partitionCheck"></div></th>
                 <!-- ko foreach: keys -->

+ 5 - 5
apps/metastore/src/metastore/templates/metastore.mako

@@ -112,7 +112,7 @@ ${ components.menubar() }
 
 <script type="text/html" id="metastore-columns-table">
   <div style="overflow-x: auto; overflow-y: hidden">
-    <table class="table table-striped table-condensed table-nowrap">
+    <table class="table table-condensed table-nowrap">
       <br/>
       <thead>
       <tr>
@@ -168,7 +168,7 @@ ${ components.menubar() }
 
 <script type="text/html" id="metastore-partition-columns-table">
   <div style="overflow-x: auto; overflow-y: hidden">
-    <table class="table table-striped table-condensed table-nowrap">
+    <table class="table table-condensed table-nowrap">
       <thead>
         <tr>
           <th style="width: 1%">&nbsp;</th>
@@ -191,7 +191,7 @@ ${ components.menubar() }
 
 <script type="text/html" id="metastore-partition-values-table">
   <div style="overflow-x: auto; overflow-y: hidden">
-    <table class="table table-striped table-condensed table-nowrap">
+    <table class="table table-condensed table-nowrap">
       <thead>
         <tr>
           <th style="width: 1%">&nbsp;</th>
@@ -231,7 +231,7 @@ ${ components.menubar() }
 </script>
 
 <script type="text/html" id="metastore-samples-table">
-  <table class="table table-striped table-condensed table-nowrap sample-table">
+  <table class="table table-condensed table-nowrap sample-table">
     <thead>
       <tr>
         <th style="width: 1%">&nbsp;</th>
@@ -467,7 +467,7 @@ ${ components.menubar() }
           <!-- /ko -->
         </div>
 
-        <table id="tablesTable" class="table table-striped table-condensed table-nowrap" style="margin-bottom: 10px; width: 100%" data-bind="visible: filteredTables().length > 0">
+        <table id="tablesTable" class="table table-condensed table-nowrap" style="margin-bottom: 10px; width: 100%" data-bind="visible: filteredTables().length > 0">
           <thead>
           <tr>
             <th width="1%" style="text-align: center"><div class="hueCheckbox fa" data-bind="hueCheckAll: { allValues: filteredTables, selectedValues: selectedTables }"></div></th>

+ 2 - 2
apps/oozie/src/oozie/templates/dashboard/list_oozie_bundle.mako

@@ -151,7 +151,7 @@ ${ layout.menubar(section='bundles', dashboard=True) }
 
     <div class="tab-content" style="min-height:200px">
       <div class="tab-pane active" id="calendar">
-        <table class="table table-striped table-condensed">
+        <table class="table table-condensed">
           <thead>
           <tr>
             <th>${ _('Coordinator') }</th>
@@ -192,7 +192,7 @@ ${ layout.menubar(section='bundles', dashboard=True) }
 
 
       <div class="tab-pane" id="actions">
-        <table class="table table-striped table-condensed" cellpadding="0" cellspacing="0">
+        <table class="table table-condensed" cellpadding="0" cellspacing="0">
           <thead>
           <tr>
             <th>${ _('Name') }</th>

+ 3 - 3
apps/oozie/src/oozie/templates/dashboard/list_oozie_coordinator.mako

@@ -221,7 +221,7 @@ ${ layout.menubar(section='coordinators', dashboard=True) }
               </div>
               <div class="clearfix"></div>
 
-              <table class="table table-striped table-condensed margin-top-10">
+              <table class="table table-condensed margin-top-10">
                 <thead>
                 <tr>
                   <th width="20"><div data-bind="click: selectAll, css: { 'fa-check': allSelected }" class="hueCheckbox fa"></div></th>
@@ -278,7 +278,7 @@ ${ layout.menubar(section='coordinators', dashboard=True) }
                 <a class="btn btn-status btn-danger disable-feedback" data-table="actions" data-value="ERROR">${ _('Error') }</a>
               </div>
               <div class="clearfix"></div>
-              <table class="table table-striped table-condensed margin-top-10" cellpadding="0" cellspacing="0">
+              <table class="table table-condensed margin-top-10" cellpadding="0" cellspacing="0">
                 <thead>
                 <tr>
                   <th width="1%">${ _('Number') }</th>
@@ -418,7 +418,7 @@ ${ layout.menubar(section='coordinators', dashboard=True) }
             <div class="tab-pane" id="sla" style="padding-left: 20px">
               <div id="yAxisLabel" class="hide">${_('Time since Nominal Time in min')}</div>
               <div id="slaChart"></div>
-              <table id="slaTable" class="table table-striped table-condensed hide">
+              <table id="slaTable" class="table table-condensed hide">
                 <thead>
                   <th>${_('Status')}</th>
                   <th>${_('Nominal Time')}</th>

+ 4 - 4
apps/oozie/src/oozie/templates/dashboard/list_oozie_info.mako

@@ -79,7 +79,7 @@ ${ layout.menubar(section='oozie', dashboard=True) }
 
               % for index, group in enumerate(instrumentation[category]):
               <div class="nav-header">${ group['group'] }</div>
-              <table id="intrumentationTable-${ category }-${ index }" class="table table-striped table-condensed">
+              <table id="intrumentationTable-${ category }-${ index }" class="table table-condensed">
               <tbody>
                 % for item in group['data']:
                 <tr>
@@ -150,13 +150,13 @@ ${ layout.menubar(section='oozie', dashboard=True) }
     <%def name="recurse(metric)">
         % if metric:
           % if isinstance(metric, basestring):
-            <table class="table table-striped">
+            <table class="table table-condensed">
               <tr>
                 <th>${metric}</th>
               </tr>
             </table>
           % else:
-            <table class="table table-striped metricsTable">
+            <table class="table table-condensed metricsTable">
             <thead>
             <tr>
               <th>${_('Name')}</th>
@@ -189,7 +189,7 @@ ${ layout.menubar(section='oozie', dashboard=True) }
             </table>
           % endif
         % else:
-          <table class="table table-striped">
+          <table class="table table-condensed">
           <tr>
             <td>${ _('No metrics available for this section.') }</td>
           </tr>

+ 1 - 1
apps/oozie/src/oozie/templates/dashboard/list_oozie_sla.mako

@@ -125,7 +125,7 @@ ${ layout.menubar(section='sla', dashboard=True) }
              <div class="tab-pane active" id="slaListTab">
                <div class="tabbable">
                  <div class="tab-content">
-                   <table id="slaTable" class="table table-striped table-condensed">
+                   <table id="slaTable" class="table table-condensed">
                      <thead>
                        <th>${_('Status')}</th>
                        <th>${_('Name')}</th>

+ 2 - 2
apps/oozie/src/oozie/templates/dashboard/list_oozie_workflow.mako

@@ -176,7 +176,7 @@ ${ layout.menubar(section='workflows', dashboard=True) }
         % else:
         <div id="actions" class="tab-pane active">
         % endif
-          <table class="table table-striped table-condensed selectable">
+          <table class="table table-condensed selectable">
             <thead>
             <tr>
               <th>${ _('Logs') }</th>
@@ -300,7 +300,7 @@ ${ layout.menubar(section='workflows', dashboard=True) }
         <div class="tab-pane" id="sla" style="padding-left: 20px">
           <div id="yAxisLabel" class="hide">${_('Time since Nominal Time in min')}</div>
           <div id="slaChart"></div>
-          <table id="slaTable" class="table table-striped table-condensed hide">
+          <table id="slaTable" class="table table-condensed hide">
             <thead>
               <th>${_('Status')}</th>
               <th>${_('Nominal Time')}</th>

+ 1 - 1
apps/oozie/src/oozie/templates/editor/edit_bundle.mako

@@ -145,7 +145,7 @@ ${ layout.menubar(section='bundles') }
 
           <div>
             % if bundled_coordinator_formset.forms:
-            <table class="table table-striped table-condensed" cellpadding="0" cellspacing="0" data-missing="#bundled_coordinator_missing">
+            <table class="table table-condensed" cellpadding="0" cellspacing="0" data-missing="#bundled_coordinator_missing">
               <thead>
                 <tr>
                   <th data-row-selector-exclude="true">${ _('Name') }</th>

+ 3 - 3
apps/oozie/src/oozie/templates/editor/edit_coordinator.mako

@@ -163,7 +163,7 @@ ${ layout.menubar(section='coordinators') }
               <div class="alert">${ _('This type of coordinator does not require any dataset.') }</div>
             % endif
             % if data_input_formset.forms:
-              <table class="table table-striped table-condensed" cellpadding="0" cellspacing="0" data-missing="#dataset_input_missing">
+              <table class="table table-condensed" cellpadding="0" cellspacing="0" data-missing="#dataset_input_missing">
                 <thead>
                 <tr>
                   <th width="10%">${ _('Name') }</th>
@@ -216,7 +216,7 @@ ${ layout.menubar(section='coordinators') }
             % endif
 
             % if data_output_formset.forms:
-            <table class="table table-striped table-condensed" cellpadding="0" cellspacing="0" data-missing="#dataset_output_missing">
+            <table class="table table-condensed" cellpadding="0" cellspacing="0" data-missing="#dataset_output_missing">
               <thead>
                 <tr>
                   <th width="10%">${ _('Name') }</th>
@@ -336,7 +336,7 @@ ${ layout.menubar(section='coordinators') }
           % if coordinator.id:
           <div>
             % if dataset_formset.forms:
-            <table class="table table-striped table-condensed" cellpadding="0" cellspacing="0" data-missing="#dataset_missing">
+            <table class="table table-condensed" cellpadding="0" cellspacing="0" data-missing="#dataset_missing">
               <thead>
                 <tr>
                   <th>${ _('Name') }</th>

+ 1 - 1
apps/oozie/src/oozie/templates/utils.inc.mako

@@ -125,7 +125,7 @@
 
 
 <%def name="display_conf(configs, id=None)">
-  <table class="table table-condensed table-striped"
+  <table class="table table-condensed"
     % if id is not None:
       id="${ id }"
     % endif

+ 3 - 3
apps/pig/src/pig/templates/app.mako

@@ -65,7 +65,7 @@ ${ commonheader(None, "pig", user, request) | n,unicode }
           ${_('There are currently no scripts defined. Please add a new script clicking on "New script"')}
         </div>
 
-        <table class="table table-striped table-condensed tablescroller-disable" data-bind="visible: scripts().length > 0">
+        <table class="table table-condensed tablescroller-disable" data-bind="visible: scripts().length > 0">
           <thead>
           <tr>
             <th width="1%"><div data-bind="click: selectAll, css: {hueCheckbox: true, 'fa': true, 'fa-check': allSelected}"></div></th>
@@ -548,7 +548,7 @@ ${ commonheader(None, "pig", user, request) | n,unicode }
           <div class="alert alert-info" data-bind="visible: runningScripts().length == 0" style="margin-bottom:0">
             ${_('There are currently no running scripts.')}
           </div>
-          <table class="table table-striped table-condensed datatables tablescroller-disable" data-bind="visible: runningScripts().length > 0">
+          <table class="table table-condensed datatables tablescroller-disable" data-bind="visible: runningScripts().length > 0">
             <thead>
             <tr>
               <th width="20%">${_('Name')}</th>
@@ -572,7 +572,7 @@ ${ commonheader(None, "pig", user, request) | n,unicode }
           <div class="alert alert-info" data-bind="visible: completedScripts().length == 0">
             ${_('There are currently no completed scripts.')}
           </div>
-          <table class="table table-striped table-condensed datatables tablescroller-disable" data-bind="visible: completedScripts().length > 0">
+          <table class="table table-condensed datatables tablescroller-disable" data-bind="visible: completedScripts().length > 0">
             <thead>
             <tr>
               <th width="20%">${_('Name')}</th>

+ 1 - 1
apps/rdbms/src/rdbms/templates/execute.mako

@@ -135,7 +135,7 @@ ${ commonheader(_('Query'), app_name, user, request) | n,unicode }
         </div>
         <div data-bind="css: {'hide': rows().length == 0}" class="hide">
           <div class="card card-small scrollable">
-            <table id="resultTable" class="table table-striped table-condensed resultTable" cellpadding="0" cellspacing="0" data-tablescroller-min-height-disable="true" data-tablescroller-enforce-height="true">
+            <table id="resultTable" class="table table-condensed resultTable" cellpadding="0" cellspacing="0" data-tablescroller-min-height-disable="true" data-tablescroller-enforce-height="true">
               <thead>
                 <tr data-bind="foreach: columns">
                   <th data-bind="text: $data, css:{'datatables-counter-col': $index() == 0}"></th>

+ 1 - 1
apps/useradmin/src/useradmin/templates/list_configurations.mako

@@ -41,7 +41,7 @@ ${layout.menubar(section='configurations')}
   <div class="card card-small">
     <h1 class="card-heading simple">${ _('Configurations') }</h1>
 
-    <table class="table table-striped table-condensed datatables margin-top-20">
+    <table class="table table-condensed datatables margin-top-20">
       <thead>
       <tr>
         <th>${ _('Application') }</th>

+ 1 - 1
apps/useradmin/src/useradmin/templates/list_groups.mako

@@ -56,7 +56,7 @@ ${layout.menubar(section='groups')}
       </%def>
     </%actionbar:render>
 
-    <table class="table table-striped table-condensed datatables">
+    <table class="table table-condensed datatables">
       <thead>
       <tr>
         %if user.is_superuser:

+ 1 - 1
apps/useradmin/src/useradmin/templates/list_permissions.mako

@@ -36,7 +36,7 @@ ${layout.menubar(section='permissions')}
       </%def>
     </%actionbar:render>
 
-    <table class="table table-striped table-condensed datatables">
+    <table class="table table-condensed datatables">
       <thead>
       <tr>
         <th>${_('Application')}</th>

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/sqlAutocompleter.js

@@ -892,7 +892,7 @@ var SqlAutocompleter = (function () {
 
       }
     } else if (item.meta === 'column' && item.popularValues && !item.docHTML) {
-      item.docHTML = '<div style="width: 400px; height: 120px; overflow-y: auto;"><div style="margin:10px; font-size: 14px; margin-bottom: 8px;">Popular Values</div><table style="width: 380px; margin: 5px 10px 0 10px;" class="table table-striped"><tbody>';
+      item.docHTML = '<div style="width: 400px; height: 120px; overflow-y: auto;"><div style="margin:10px; font-size: 14px; margin-bottom: 8px;">Popular Values</div><table style="width: 380px; margin: 5px 10px 0 10px;" class="table"><tbody>';
       item.popularValues.forEach(function (value) {
         item.docHTML += '<tr><td><div style=" width: 360px; overflow-x: hidden; font-family: monospace; white-space: nowrap; text-overflow: ellipsis" title="' + value + '">' + value + '</div></td></tr>';
       });

+ 1 - 1
desktop/core/src/desktop/templates/500.mako

@@ -50,7 +50,7 @@ ${ commonheader(_('500 - Server error'), "", user, request) | n,unicode }
           &nbsp;|&nbsp;
         <a href="/logs" target="_new" title="${ _('View server logs') }">${_('View logs')}</a>
         <div id="traceback" class="hide">
-          <table class="table table-striped table-condensed margin-top-30" style="background: white; border: 1px solid #DDDDDD;">
+          <table class="table table-condensed margin-top-30" style="background: white; border: 1px solid #DDDDDD;">
             <thead>
               <tr>
                 <td>${_("File Name")}</td>

+ 1 - 1
desktop/core/src/desktop/templates/check_config.mako

@@ -22,7 +22,7 @@ from django.utils.translation import ugettext as _
     % if error_list:
       <div class="alert alert-warn">${_('Potential misconfiguration detected. Fix and restart Hue.')}</div>
       <br/>
-        <table class="table table-striped">
+        <table class="table table-condensed">
       % for error in error_list:
         <tr>
             <td width="15%">

+ 1 - 1
desktop/core/src/desktop/templates/common_import_export.mako

@@ -72,7 +72,7 @@ from django.utils.translation import ugettext as _
       <!-- /ko -->
       <!-- ko if: $root.showTable() -->
         <a href="javascript:void(0)" class="margin-left-10 margin-top-10" data-bind="click: $root.toggleShowTable">${_('Hide Details')} <i class="fa fa-caret-up"></i></a>
-        <table class="table table-striped table-condensed">
+        <table class="table table-condensed">
           <thead>
             <tr>
               <th>${_('Name')}</th>

+ 1 - 1
desktop/core/src/desktop/templates/common_notebook_ko_components.mako

@@ -481,7 +481,7 @@ except ImportError, e:
       <div class="tab-content" data-bind="with: activeCategory">
         <div class="tab-pane active">
           <!-- ko if: filteredShortcuts().length > 0 -->
-          <table class="table table-striped">
+          <table class="table table-condensed">
             <thead>
               <tr>
                 <th>${ _('Windows/Linux')}</th>

+ 1 - 1
desktop/core/src/desktop/templates/document_browser.mako

@@ -475,7 +475,7 @@ from desktop.views import _ko
           <!-- /ko -->
           <!-- ko if: showTable() -->
           <a href="javascript:void(0)" class="margin-left-10 margin-top-10" data-bind="click: toggleShowTable">${_('Hide Details')} <i class="fa fa-caret-up"></i></a>
-            <table class="table table-striped table-condensed">
+            <table class="table table-condensed">
               <thead>
                 <tr>
                   <th>${_('Name')}</th>

+ 1 - 1
desktop/core/src/desktop/templates/dump_config.mako

@@ -97,7 +97,7 @@ ${ layout.menubar(section='dump_config') }
   </%def>
 
     <%def name="recurseList(config_obj, depth=0)">
-      <table class="table table-striped recurse">
+      <table class="table table-condensed recurse">
       % for v in config_obj:
         <%
           # Don't recurse into private variables.

+ 1 - 1
desktop/core/src/desktop/templates/home.mako

@@ -183,7 +183,7 @@ ${ commonheader(_('Welcome Home'), "home", user, request) | n,unicode }
 
         <div class="card-body">
           <p>
-          <table id="documents" class="table table-striped table-condensed" data-bind="visible: documents().length > 0">
+          <table id="documents" class="table table-condensed" data-bind="visible: documents().length > 0">
             <thead>
               <tr>
                 <th style="width: 26px">&nbsp;</th>

+ 1 - 1
desktop/core/src/desktop/templates/popup_error.mako

@@ -47,7 +47,7 @@ ${ commonheader(title, "", user, request, "40px") | n,unicode }
               <br />
               <br />
               <div id="traceback" class="hide">
-                <table class="table table-striped" style="background: white; border: 1px solid #DDDDDD;">
+                <table class="table table-condensed" style="background: white; border: 1px solid #DDDDDD;">
                   <thead>
                     <tr>
                       <td>${_("File Name")}</td>

+ 4 - 4
desktop/core/src/desktop/templates/sql_context_popover.mako

@@ -126,7 +126,7 @@ from metadata.conf import has_navigator
         <div class="alert">${ _('The selected table has no data.') }</div>
         <!-- /ko -->
         <!-- ko if: rows.length > 0 -->
-        <table id="samples-table" class="samples-table table table-striped table-condensed">
+        <table id="samples-table" class="samples-table table table-condensed">
           <thead>
           <tr>
             <th style="width: 10px">&nbsp;</th>
@@ -226,7 +226,7 @@ from metadata.conf import has_navigator
         <span style="font-size: 15px; font-weight: 300;">${_('Columns')}</span>
       </div>
       <div>
-        <table class="table table-striped table-condensed table-nowrap">
+        <table class="table table-condensed table-nowrap">
           <thead>
           <tr>
             <th style="width: 1%">&nbsp;</th>
@@ -244,7 +244,7 @@ from metadata.conf import has_navigator
       <div style="margin: 10px 5px 0 10px;">
         <span style="font-size: 15px; font-weight: 300;">${_('Partitions')}</span>
       </div>
-      <table class="table table-striped table-condensed table-nowrap">
+      <table class="table table-condensed table-nowrap">
         <thead>
           <tr>
             <th style="width: 1%">&nbsp;</th>
@@ -1276,7 +1276,7 @@ from metadata.conf import has_navigator
         </div>
       </div>
       <div class="sql-context-flex-fill sql-columns-table" style="position:relative; height: 100%; overflow-y: auto;">
-        <table style="width: 100%" class="table table-striped table-condensed table-nowrap">
+        <table style="width: 100%" class="table table-condensed table-nowrap">
           <!-- ko if: filteredColumns().length !== 0 -->
           <thead>
           <tr>

+ 2 - 2
desktop/libs/dashboard/src/dashboard/templates/common_search.mako

@@ -2365,7 +2365,7 @@ ${ dashboard.layout_skeleton() }
           <i class="fa fa-spinner fa-spin"></i>
         </div>
         <div class="alert" data-bind="visible: ! $parent.isLoading() && $data.data().length == 0">${ _('There are no terms to be shown') }</div>
-        <table style="width: 100%" data-bind="visible: ! $parent.isLoading() && $data.data().length > 0" class="table-striped">
+        <table style="width: 100%" data-bind="visible: ! $parent.isLoading() && $data.data().length > 0" class="table table-condensed">
           <tbody data-bind="foreach: $data.data">
           <tr>
             <td data-bind="text: val.value"></td>
@@ -2391,7 +2391,7 @@ ${ dashboard.layout_skeleton() }
         </div>
         <div class="alert" data-bind="visible: ! $parent.isLoading() && $data.data().length > 0 && $data.data()[0].key.toLowerCase() == 'error'">${ _('This field does not support stats') }</div>
         <div class="alert" data-bind="visible: ! $parent.isLoading() && $data.data().length == 0">${ _('There are no stats to be shown') }</div>
-        <table style="width: 100%" data-bind="visible: ! $parent.isLoading() && $data.data().length > 0 && $data.data()[0].key.toLowerCase() != 'error'" class="table-striped">
+        <table style="width: 100%" data-bind="visible: ! $parent.isLoading() && $data.data().length > 0 && $data.data()[0].key.toLowerCase() != 'error'" class="table table-condensed">
           <tbody data-bind="foreach: $data.data">
           <tr>
             <td style="vertical-align: top"><strong data-bind="text: key"></strong></td>

+ 1 - 1
desktop/libs/indexer/src/indexer/templates/importer.mako

@@ -454,7 +454,7 @@ ${ assist.assistPanel() }
       <h3 class="card-heading simple">${_('Preview')}</h3>
       <div class="card-body">
         <div style="overflow: auto">
-          <table class="table table-striped table-condensed table-preview">
+          <table class="table table-condensed table-preview">
             <thead>
             <tr data-bind="foreach: createWizard.source.sampleCols">
               ##<!-- ko template: 'field-preview-header-template' --><!-- /ko -->

+ 1 - 1
desktop/libs/indexer/src/indexer/templates/indexer.mako

@@ -317,7 +317,7 @@ ${ assist.assistPanel() }
         <i class="fa fa-spinner fa-spin"></i>
         <!-- /ko -->
         <div style="overflow: auto">
-          <table class="table table-striped table-condensed" style="margin:auto;text-align:left">
+          <table class="table table-condensed" style="margin:auto;text-align:left">
             <thead>
             <tr data-bind="foreach: createWizard.fileFormat().columns">
               <!-- ko template: 'field-preview-header-template' --><!-- /ko -->

+ 2 - 2
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -380,7 +380,7 @@ from notebook.conf import ENABLE_QUERY_BUILDER, ENABLE_QUERY_SCHEDULING, ENABLE_
     <h2 class="modal-title">${_('Row details')}</h2>
   </div>
   <div class="modal-body">
-    <table class="table table-striped table-condensed">
+    <table class="table table-condensed">
 
     </table>
   </div>
@@ -1379,7 +1379,7 @@ from notebook.conf import ENABLE_QUERY_BUILDER, ENABLE_QUERY_SCHEDULING, ENABLE_
           </div>
           <div class="grid-side" data-bind="css: {'span9': isResultSettingsVisible, 'span12 nomargin': ! isResultSettingsVisible() }">
             <div data-bind="visible: showGrid, delayedOverflow, css: resultsKlass" style="display: none;">
-              <table class="table table-condensed table-striped resultTable">
+              <table class="table table-condensed resultTable">
                 <thead>
                 <tr data-bind="foreach: result.meta">
                   <th class="sorting" data-bind="text: ($index() == 0 ? '&nbsp;' : $data.name), css: typeof cssClass != 'undefined' ? cssClass : 'sort-string', attr: {title: $data.type }, style:{'width': $index() == 0 ? '1%' : '', 'height': $index() == 0 ? '32px' : ''}, click: function(obj, e){ $(e.target).parents('table').trigger('sort', obj); }"></th>

+ 1 - 1
desktop/libs/notebook/src/notebook/templates/editor_m.mako

@@ -98,7 +98,7 @@ ${ commonheader_m(editor_type, editor_type, user, request, "68px") | n,unicode }
 
   <!-- ko if: result -->
   <div class="table-container">
-    <table class="table table-condensed table-striped resultTable">
+    <table class="table table-condensed resultTable">
       <thead>
       <tr data-bind="foreach: result.meta">
         <th class="sorting" data-bind="text: ($index() == 0 ? '&nbsp;' : $data.name), css: typeof cssClass != 'undefined' ? cssClass : 'sort-string', attr: {title: $data.type }, style:{'width': $index() == 0 ? '1%' : ''}, click: function(obj, e){ $(e.target).parents('table').trigger('sort', obj); }"></th>