Intégration smartphone
This commit is contained in:
		@@ -1026,6 +1026,11 @@ article form p .recurrence-widget {
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.large-table {
 | 
			
		||||
    overflow-x: scroll;
 | 
			
		||||
    width: 100%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.container-fluid article form .hidden {
 | 
			
		||||
    display: none;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,4 @@
 | 
			
		||||
<div class="large-table">
 | 
			
		||||
    <table role="grid">
 | 
			
		||||
        <thead>
 | 
			
		||||
            <tr>
 | 
			
		||||
@@ -54,3 +55,4 @@
 | 
			
		||||
    {% endif %}
 | 
			
		||||
        </tbody>
 | 
			
		||||
    </table>
 | 
			
		||||
</div>
 | 
			
		||||
@@ -1,35 +1,37 @@
 | 
			
		||||
{% if modifications|length == 0 %}
 | 
			
		||||
    <em>Aucune activité dans la période choisie</em>
 | 
			
		||||
{% else %}
 | 
			
		||||
<table role="grid">
 | 
			
		||||
    <thead>
 | 
			
		||||
        <tr>
 | 
			
		||||
            <th>{% if modifications.0.when.0 == modifications.0.when.1 %}Date{% else %}Semaine{% endif %}</th>
 | 
			
		||||
            <th>Créations manuelles</th>
 | 
			
		||||
            <th>Imports manuels</th>
 | 
			
		||||
            <th>Imports automatiques</th>
 | 
			
		||||
            <th>Créations de copies locales</th>
 | 
			
		||||
        </tr>
 | 
			
		||||
    </thead>
 | 
			
		||||
    <tbody>
 | 
			
		||||
        {% for m in modifications %}
 | 
			
		||||
        <tr>
 | 
			
		||||
            <td>{{ m.when.0|date:'D j b' }}{% if modifications.0.when.0 != modifications.0.when.1 %} - {{ m.when.1|date:'D j b' }}{% endif %}</td>
 | 
			
		||||
            <td>{{ m.nb_manual_creation }}</td>
 | 
			
		||||
            <td>{{ m.nb_manual_import }}</td>
 | 
			
		||||
            <td>{{ m.nb_first_import }}</td>
 | 
			
		||||
            <td>{{ m.nb_local_copies }}</td>
 | 
			
		||||
        </tr>
 | 
			
		||||
        {% endfor %}
 | 
			
		||||
        {% if next %}
 | 
			
		||||
        <tr>
 | 
			
		||||
            <td><a href="{% url 'activite' %}">...</a></td>
 | 
			
		||||
            <td><a href="{% url 'activite' %}">...</a></td>
 | 
			
		||||
            <td><a href="{% url 'activite' %}">...</a></td>
 | 
			
		||||
            <td><a href="{% url 'activite' %}">...</a></td>
 | 
			
		||||
            <td><a href="{% url 'activite' %}">...</a></td>
 | 
			
		||||
        </tr>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    </tbody>
 | 
			
		||||
</table>
 | 
			
		||||
<div class="large-table">
 | 
			
		||||
    <table role="grid">
 | 
			
		||||
        <thead>
 | 
			
		||||
            <tr>
 | 
			
		||||
                <th>{% if modifications.0.when.0 == modifications.0.when.1 %}Date{% else %}Semaine{% endif %}</th>
 | 
			
		||||
                <th>Créations manuelles</th>
 | 
			
		||||
                <th>Imports manuels</th>
 | 
			
		||||
                <th>Imports automatiques</th>
 | 
			
		||||
                <th>Créations de copies locales</th>
 | 
			
		||||
            </tr>
 | 
			
		||||
        </thead>
 | 
			
		||||
        <tbody>
 | 
			
		||||
            {% for m in modifications %}
 | 
			
		||||
            <tr>
 | 
			
		||||
                <td>{{ m.when.0|date:'D j b' }}{% if modifications.0.when.0 != modifications.0.when.1 %} - {{ m.when.1|date:'D j b' }}{% endif %}</td>
 | 
			
		||||
                <td>{{ m.nb_manual_creation }}</td>
 | 
			
		||||
                <td>{{ m.nb_manual_import }}</td>
 | 
			
		||||
                <td>{{ m.nb_first_import }}</td>
 | 
			
		||||
                <td>{{ m.nb_local_copies }}</td>
 | 
			
		||||
            </tr>
 | 
			
		||||
            {% endfor %}
 | 
			
		||||
            {% if next %}
 | 
			
		||||
            <tr>
 | 
			
		||||
                <td><a href="{% url 'activite' %}">...</a></td>
 | 
			
		||||
                <td><a href="{% url 'activite' %}">...</a></td>
 | 
			
		||||
                <td><a href="{% url 'activite' %}">...</a></td>
 | 
			
		||||
                <td><a href="{% url 'activite' %}">...</a></td>
 | 
			
		||||
                <td><a href="{% url 'activite' %}">...</a></td>
 | 
			
		||||
            </tr>
 | 
			
		||||
        {% endif %}
 | 
			
		||||
        </tbody>
 | 
			
		||||
    </table>
 | 
			
		||||
</div>
 | 
			
		||||
{% endif %}
 | 
			
		||||
@@ -57,9 +57,9 @@ def picto_visibility(event, visible=True):
 | 
			
		||||
    if not visible:
 | 
			
		||||
        return ""
 | 
			
		||||
    if event.is_representative():
 | 
			
		||||
        return picto_from_name("award", "version mise en avant")
 | 
			
		||||
        return picto_from_name("award")
 | 
			
		||||
    elif event.masked():
 | 
			
		||||
        return picto_from_name("archive", "version non mise en avant")
 | 
			
		||||
        return picto_from_name("archive")
 | 
			
		||||
    else:
 | 
			
		||||
        return ""
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user