Browse Source

Personnalisation de la forge

* Mise en place d'un logo SPIP
* Activation de la bousolle
master
cam.lafit 3 years ago
parent
commit
82e85f7f78
  1. 4
      .gitattributes
  2. BIN
      public/img/favicon.png
  3. BIN
      public/img/gitea-sm.png
  4. 11
      public/js/boussole.js
  5. 1
      templates/custom/footer.tmpl

4
.gitattributes vendored

@ -1,2 +1,6 @@
* text=auto !eol
public/img/favicon.png -text
public/img/gitea-sm.png -text
public/js/boussole.js -text
/readme.md -text
templates/custom/footer.tmpl -text

BIN
public/img/favicon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
public/img/gitea-sm.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

11
public/js/boussole.js

@ -0,0 +1,11 @@
$(document).ready(function() {
$("body").css({
"padding-top" : "40px",
});
var js = document.createElement("script");
js.type = "text/javascript";
js.src = "//boussole.spip.net/?page=spipnav.js";
document.head.appendChild(js);
});

1
templates/custom/footer.tmpl

@ -0,0 +1 @@
<script src="{{AppSubUrl}}/js/boussole.js"></script>
Loading…
Cancel
Save