Commit c532584627a3e460da2716abfbc873cc7ad83b86
1 parent
2e909ff7
Exists in
master
and in
39 other branches
Adding jenkins css and js
Showing
3 changed files
with
10 additions
and
1 deletions
Show diff stats
src/proxy/diazo/jenkins.xml
... | ... | @@ -3,6 +3,8 @@ |
3 | 3 | xmlns:css="http://namespaces.plone.org/diazo/css" |
4 | 4 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
5 | 5 | |
6 | + <replace css:theme="#jenkins-css" content="//head/link" /> | |
7 | + <replace css:theme="#jenkins-js" content="//head/script" /> | |
6 | 8 | <before css:theme-children="#main-content" css:content="#main-table" /> |
7 | 9 | |
8 | 10 | </rules> | ... | ... |
src/proxy/views.py
... | ... | @@ -52,6 +52,6 @@ class TracProxyView(HitCounterViewMixin, ProxyView): |
52 | 52 | class JenkinsProxyView(ProxyView): |
53 | 53 | base_url = settings.COLAB_CI_URL |
54 | 54 | add_remote_user = settings.REVPROXY_ADD_REMOTE_USER |
55 | - diazo_theme_template = 'base.html' | |
55 | + diazo_theme_template = 'proxy/jenkins.html' | |
56 | 56 | diazo_rules = os.path.join(DIAZO_RULES_DIR, 'jenkins.xml') |
57 | 57 | html5 = True | ... | ... |