Commit ab91382112b27c08da739644033cb16f1dd6ca3e

Authored by Charles Oliveira
Committed by Sergio Oliveira
1 parent 8fca7d8a

Initial noosfero integration, needs lots of improvements

src/proxy/diazo/noosfero.xml 0 → 100644
... ... @@ -0,0 +1,15 @@
  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 noosfero headers
  12 + <drop css:content="#top-panel" />
  13 + <drop css:content=".navbar-gitlab" />
  14 + -->
  15 +</rules>
... ...
src/proxy/templates/proxy/noosfero.html 0 → 100644
... ... @@ -0,0 +1,12 @@
  1 +{% extends 'base.html' %}
  2 +{% load static %}
  3 +
  4 +{% block head_css %}
  5 +<style>
  6 +
  7 +</style>
  8 +{% endblock %}
  9 +
  10 +{% block head_js %}
  11 +<script>jQuery.noConflict();</script>
  12 +{% endblock %}
... ...