Commit 654ef3bdbbab5bc35af24a3766c15471f261d704

Authored by Sergio Oliveira
1 parent b66a1e82

Moved diazo rules for gitlab and redmine to repective apps

src/proxy/diazo/gitlab.xml
... ... @@ -1,25 +0,0 @@
1   -<rules
2   - xmlns="http://namespaces.plone.org/diazo"
3   - xmlns:css="http://namespaces.plone.org/diazo/css"
4   - xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
5   -
6   - <before theme-children="/html/head" content-children="/html/head" />
7   - <before css:theme-children="#main-content" css:content-children="body" />
8   -
9   - <merge attributes="class" css:theme="body" css:content="body" />
10   -
11   - <drop css:content="#top-panel" />
12   - <drop css:content=".navbar-gitlab" />
13   - <after theme-children="/html/head">
14   - <script>jQuery.noConflict();</script>
15   - <style>
16   - #breadcrumbs {
17   - border: 0 !important;
18   - }
19   -
20   - #right-top-nav {
21   - margin-right: 5em !important;
22   - }
23   - </style>
24   - </after>
25   -</rules>
src/proxy/diazo/redmine.xml
... ... @@ -1,11 +0,0 @@
1   -<rules
2   - xmlns="http://namespaces.plone.org/diazo"
3   - xmlns:css="http://namespaces.plone.org/diazo/css"
4   - xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
5   -
6   - <before theme-children="/html/head" content-children="/html/head" />
7   - <before css:theme-children="#main-content" css:content-children="body" />
8   -
9   - <merge attributes="class" css:theme="body" css:content="body" />
10   - <drop css:content="#top-panel" />
11   -</rules>
src/proxy/gitlab/diazo.xml 0 → 100644
... ... @@ -0,0 +1,25 @@
  1 +<rules
  2 + xmlns="http://namespaces.plone.org/diazo"
  3 + xmlns:css="http://namespaces.plone.org/diazo/css"
  4 + xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  5 +
  6 + <before theme-children="/html/head" content-children="/html/head" />
  7 + <before css:theme-children="#main-content" css:content-children="body" />
  8 +
  9 + <merge attributes="class" css:theme="body" css:content="body" />
  10 +
  11 + <drop css:content="#top-panel" />
  12 + <drop css:content=".navbar-gitlab" />
  13 + <after theme-children="/html/head">
  14 + <script>jQuery.noConflict();</script>
  15 + <style>
  16 + #breadcrumbs {
  17 + border: 0 !important;
  18 + }
  19 +
  20 + #right-top-nav {
  21 + margin-right: 5em !important;
  22 + }
  23 + </style>
  24 + </after>
  25 +</rules>
... ...
src/proxy/redmine/diazo.xml 0 → 100644
... ... @@ -0,0 +1,11 @@
  1 +<rules
  2 + xmlns="http://namespaces.plone.org/diazo"
  3 + xmlns:css="http://namespaces.plone.org/diazo/css"
  4 + xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  5 +
  6 + <before theme-children="/html/head" content-children="/html/head" />
  7 + <before css:theme-children="#main-content" css:content-children="body" />
  8 +
  9 + <merge attributes="class" css:theme="body" css:content="body" />
  10 + <drop css:content="#top-panel" />
  11 +</rules>
... ...