Projet

Général

Profil

0001-add-default-div-for-logo-9953.patch

Josué Kouka, 12 février 2016 16:42

Télécharger (1,93 ko)

Voir les différences:

Subject: [PATCH] add default div for logo (#9953)

 README                                             | 2 +-
 mandayejs/mandaye/templates/mandaye/associate.html | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
README
178 178
        * css related to the panel, must be name *mandaye.css* and located in tenants/<my_tenant>/static/css/mandaye.css
179 179

  
180 180
    #Association
181
        * css and js related to the association page must be named respectively *associate.css* and *associate.js* and located in tenants/<my_tenant>/static/{css.js}/associate.{css,js}
181
        * css, js and image (logo) related to the association page must be named respectively *associate.css* and *associate.js* and located in tenants/<my_tenant>/static/{css.js,images}/associate.{css,js,png}
182 182

  
183 183

  
184 184
N.B:
mandayejs/mandaye/templates/mandaye/associate.html
1 1
{% load i18n gadjo staticfiles %}
2 2
<html>
3 3
    <head>
4
        <script src="{% xstatic 'jquery' 'jquery.min.js' %}"></script>
5 4
        <link rel="stylesheet" href="{% static 'css/associate.css' %}" type="text/css"/>
6
        <script src="{% static 'js/associate.js' %}" type="text/javascript"></script>
7 5
    </head>
8 6
    <body>
9 7
        <div id="main-div">
10 8
            <h1>{% trans 'Associate your account' %}</h1>
9
            <div id='div-logo'><img id='logo' src="{% static 'images/associate.png' alt='associate.png' %}" /></div>
11 10
            {% if messages %}
12 11
            <ul class="messages">
13 12
                {%for message in messages%}
14
-