浏览代码

HUE-6077 [frontend] Fixed LESS main component for the common dashboard and added it to Oozie

Enrico Berti 8 年之前
父节点
当前提交
78077903b5

+ 1 - 1
apps/oozie/src/oozie/templates/editor2/workflow_editor.mako

@@ -31,7 +31,7 @@ from oozie.conf import ENABLE_DOCUMENT_ACTION, ENABLE_IMPALA_ACTION
 ${ commonheader(_("Workflow Editor"), "Oozie", user, request, "40px") | n,unicode }
 %endif
 
-<div id="oozie_workflowComponents">
+<div id="oozie_workflowComponents" class="dashboard-container">
 
 <%def name="buttons()">
   <div class="pull-right" style="padding-right: 10px">

文件差异内容过多而无法显示
+ 0 - 0
desktop/libs/dashboard/src/dashboard/static/dashboard/css/common_dashboard.css


文件差异内容过多而无法显示
+ 0 - 0
desktop/libs/dashboard/src/dashboard/static/dashboard/css/search.css


+ 1 - 1
desktop/libs/dashboard/src/dashboard/static/dashboard/css/search_mobile.css

@@ -14,4 +14,4 @@ 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.
- */.dashboard-search .card-column,.dashboard-search .ui-sortable{min-height:0 !important}.dashboard-search .dashboard{margin-top:0 !important}.dashboard-search .card{padding-top:0 !important}.dashboard-search .card-widget{padding-top:10px !important}.dashboard-search .dashboard .container-fluid{padding:0 !important}.dashboard-search .form-search .input-append{width:100%}.dashboard-search .form-search .input-append input{width:80%}
+ */.dashboard-container .card-column,.dashboard-container .ui-sortable{min-height:0 !important}.dashboard-container .dashboard{margin-top:0 !important}.dashboard-container .card{padding-top:0 !important}.dashboard-container .card-widget{padding-top:10px !important}.dashboard-container .dashboard .container-fluid{padding:0 !important}.dashboard-container .form-search .input-append{width:100%}.dashboard-container .form-search .input-append input{width:80%}

+ 1 - 1
desktop/libs/dashboard/src/dashboard/static/dashboard/less/common_dashboard.less

@@ -16,7 +16,7 @@
  limitations under the License.
 */
 
-.dashboard-search {
+.dashboard-container {
   .dashboard .container-fluid {
     padding: 6px;
   }

+ 1 - 1
desktop/libs/dashboard/src/dashboard/static/dashboard/less/search.less

@@ -16,7 +16,7 @@
  limitations under the License.
 */
 
-.dashboard-search {
+.dashboard-container {
   .dropdown-menu li {
     font-size: 14px;
   }

+ 1 - 1
desktop/libs/dashboard/src/dashboard/static/dashboard/less/search_mobile.less

@@ -16,7 +16,7 @@
  limitations under the License.
 */
 
-.dashboard-search {
+.dashboard-container {
   .card-column, .ui-sortable {
     min-height: 0 !important;
   }

+ 1 - 1
desktop/libs/dashboard/src/dashboard/templates/search.mako

@@ -29,7 +29,7 @@ ${ commonheader(_('Dashboard'), "dashboard", user, request, "80px") | n,unicode
 ${ notebookKoComponents.downloadSnippetResults() }
 %endif
 
-<div id="searchComponents" class="dashboard-search">
+<div id="searchComponents" class="dashboard-container">
 ${ common_search.page_structure(False, is_embeddable) }
 </div>
 

+ 1 - 1
desktop/libs/dashboard/src/dashboard/templates/search_m.mako

@@ -29,7 +29,7 @@ ${ commonheader_m(_('Dashboard'), "dashboard", user, request, "80px") | n,unicod
 ${ notebookKoComponents.downloadSnippetResults() }
 
 
-<div id="searchComponents" class="dashboard-search">
+<div id="searchComponents" class="dashboard-container">
 ${ common_search.page_structure(is_mobile=True) }
 </div>
 

部分文件因为文件数量过多而无法显示