Commit ac81fe69cebb8fdd5004cdd2a0357b0fd6ae6382

Authored by Charles Oliveira
1 parent 72c77ff5

Fixed gitlab wiki page creation

src/proxy/diazo/gitlab.xml
... ... @@ -7,6 +7,10 @@
7 7 <before css:theme-children="#main-content" css:content-children="body" />
8 8  
9 9 <merge attributes="class" css:theme="body" css:content="body" />
  10 +
  11 + <!-- Add gitlab properties -->
  12 + <merge attributes="data-page" css:theme="body" css:content="body" />
  13 + <merge attributes="data-project-id" css:theme="body" css:content="body" />
10 14  
11 15 <drop css:content="#top-panel" />
12 16 <drop css:content=".navbar-gitlab" />
... ...
src/proxy/templates/proxy/gitlab.html
... ... @@ -3,6 +3,14 @@
3 3  
4 4 {% block head_css %}
5 5 <style>
  6 + /* Reset left and with for .modal-dialog style (like gitlab does),
  7 + the bootstrap.css one makes it small */
  8 + @media screen and (min-width: 768px) {
  9 + .modal-dialog {
  10 + left: auto;
  11 + width: auto;
  12 + }
  13 + }
6 14 div#main-content {
7 15 margin-top: 65px;
8 16 }
... ...