ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12684) Ambari web stylesheet should be overridable on build time
Date Sun, 09 Aug 2015 21:43:45 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-12684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14679362#comment-14679362
] 

Hudson commented on AMBARI-12684:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #3250 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3250/])
AMBARI-12684. Ambari web stylesheet should be overridable on build time. (jaimin) (jaimin:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=34e96e247949f10dd9d0c70f873f654f4b04dc5a)
* ambari-admin/src/main/resources/ui/admin-web/gulpfile.js
* ambari-web/config.coffee
* ambari-admin/src/main/resources/ui/admin-web/package.json
* ambari-admin/pom.xml


> Ambari web stylesheet should be overridable on build time
> ---------------------------------------------------------
>
>                 Key: AMBARI-12684
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12684
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-web
>    Affects Versions: 2.1.1
>            Reporter: Jaimin D Jetly
>            Assignee: Jaimin D Jetly
>             Fix For: 2.1.1
>
>         Attachments: AMBARI-12684.patch
>
>
> As part of this ticket css order of concatenation is set in a way that if following files
are dropped at build time, they will be the last to get concatenated making selectors defined
in them override any ambari css selector:
> # *custom-ui.less* file should be dropped in *ambari/ambari-web/app/styles/* directory
> # *custom-admin-ui.css* file should be dropped in *ambari-admin/src/main/resources/ui/admin-web/app/styles/*
directory 
> Since all the CSS related attributes are defined in the stylesheets and not in html/templates
in ambari, This gives an ability to override the look and feel of ambari and ambari-admin
view by simply dropping stylesheet with desired changes as pointed above. 
> NOTE: Since ambari uses RAT plugin in its maven build, these stylesheets being dropped
before compilation should have apache header or else maven build will fail complaining about
missing apache license



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message