mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 03:13:12 +00:00
Include logo in navbar, favicon and ogp image
This commit is contained in:
parent
cb1073985f
commit
aa6fa036e8
2 changed files with 27 additions and 9 deletions
|
@ -35,6 +35,18 @@ footer a {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Reduce the padding for the logo in the navbar-brand so the 32px-high logo
|
||||||
|
* is centered in the navbar */
|
||||||
|
.navbar-brand {
|
||||||
|
padding-top: 9px;
|
||||||
|
padding-bottom: 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Display logo and site name side by side and not on top of each other */
|
||||||
|
.navbar-brand img {
|
||||||
|
display: initial;
|
||||||
|
}
|
||||||
|
|
||||||
/* Add right colors for buttons in dropdown in navbar-inverse (else it is light
|
/* Add right colors for buttons in dropdown in navbar-inverse (else it is light
|
||||||
* gray on white bg and white when hovered */
|
* gray on white bg and white when hovered */
|
||||||
.navbar-inverse .dropdown-menu .btn-link {
|
.navbar-inverse .dropdown-menu .btn-link {
|
||||||
|
|
|
@ -33,12 +33,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="fr">
|
<html lang="fr">
|
||||||
<head prefix="og: http://ogp.me/ns#">
|
<head prefix="og: http://ogp.me/ns#">
|
||||||
<meta property="og:title" content="Re2o" />
|
<meta property="og:title" content="Re2o" />
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="\\{{request.get_host}}" />
|
<meta property="og:url" content="{{ request.scheme }}://{{ request.get_host }}/" />
|
||||||
<meta property="og:image" content="\\{{request.get_host}}/static/logo/re2o.png"/>
|
<meta property="og:image" content="{% static 'images/logo_re2o.svg' %}"/>
|
||||||
<meta property="og:description" content="Site de gestion de réseau supporté par FedeRez." />
|
<meta property="og:image:type" content="image/svg"/>
|
||||||
<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>
|
<meta property="og:image:alt" content="The Re2o logo"/>
|
||||||
|
<meta property="og:description" content="Site de gestion de réseau supporté par FedeRez." />
|
||||||
|
<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>
|
||||||
{# Load CSS and JavaScript #}
|
{# Load CSS and JavaScript #}
|
||||||
{% bootstrap_css %}
|
{% bootstrap_css %}
|
||||||
<link href="/static/css/typeaheadjs.css" rel="stylesheet">
|
<link href="/static/css/typeaheadjs.css" rel="stylesheet">
|
||||||
|
@ -50,9 +52,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<script src="/static/js/konami/konami.js"></script>
|
<script src="/static/js/konami/konami.js"></script>
|
||||||
<script src="/static/js/sapphire.js"> var s=Sapphire(); Konami(s.activate); </script>
|
<script src="/static/js/sapphire.js"> var s=Sapphire(); Konami(s.activate); </script>
|
||||||
<script src="/static/js/bootstrap-tokenfield/bootstrap-tokenfield.js"></script>
|
<script src="/static/js/bootstrap-tokenfield/bootstrap-tokenfield.js"></script>
|
||||||
<script src="/static/js/shortcuts.js"></script>
|
<script src="/static/js/shortcuts.js"></script>
|
||||||
<link rel="stylesheet" href="{% static "/css/base.css" %}">
|
<link rel="stylesheet" href="{% static 'css/base.css' %}">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="shortcut icon" type="image/svg" href="{% static 'images/logo_re2o.svg' %}">
|
||||||
<title>{{ site_name }} : {% block title %}Accueil{% endblock %}</title>
|
<title>{{ site_name }} : {% block title %}Accueil{% endblock %}</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -66,7 +69,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="/">{{ site_name }}</a>
|
<a class="navbar-brand" href="/">
|
||||||
|
<img src="{% static 'images/logo_re2o_navbar.svg' %}" height=32>
|
||||||
|
{{ site_name }}
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="collapse navbar-collapse" id="myNavbar">
|
<div class="collapse navbar-collapse" id="myNavbar">
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
|
|
Loading…
Reference in a new issue