diff --git a/panikdb/static/css/style.css b/panikdb/static/css/style.css index d0668c800ae0030bf36b25d9658a45d454ba6aa6..d4764e58f9e81d3d6700addb6b39635e48964119 100644 --- a/panikdb/static/css/style.css +++ b/panikdb/static/css/style.css @@ -17,6 +17,7 @@ div#top { div#top a { padding: 0 1ex; + color: white; } div#main-content { @@ -226,9 +227,11 @@ a.big-friendly-button:hover { } a.actually-not-that-friendly { - background: #F52F2D; + border-color: #F52F2D; + color: #F52F2D; position: absolute; right: -10px; + padding: 0 1ex; } a.actually-not-that-friendly:hover { @@ -592,3 +595,22 @@ form#track-search p { form#track-search button { margin-top: 2.5ex; } + +#more-user-links a { + background: white; + border: 1px solid #386ede; + padding: 1ex; + border-radius: 3px; + font-weight: bold; +} + +.home .block { + background: white; + padding: 1rem; + margin-bottom: 1rem; + border-radius: 3px; +} + +.home .block hr { + border-color: white; +} diff --git a/panikdb/templates/emissions/episode_detail.html b/panikdb/templates/emissions/episode_detail.html index ca952c3874e6063ee0e23eff921ba756b8e10ac8..fe3ff7a1e6a75b57e4afb7a0d8159bfeb40bd99c 100644 --- a/panikdb/templates/emissions/episode_detail.html +++ b/panikdb/templates/emissions/episode_detail.html @@ -9,23 +9,23 @@ {% if can_manage %}

-Modifier +Modifier {% if perms.emissions.add_diffusion %} -Ajouter une diffusion +Ajouter une diffusion {% endif %} -Ajouter un son +Ajouter un son {% if episode.effective_start and episode.effective_end %} {% if internal_ip %} - Télécharger l'enregistrement + Télécharger l'enregistrement {% endif %} {% elif not soundfiles %} {% if episode.effective_start %} - Arrêter l'enregistrement + Arrêter l'enregistrement {% else %} - Démarrer l'enregistrement + Démarrer l'enregistrement {% endif %} {% endif %} -Supprimer +Supprimer

{% endif %} diff --git a/panikdb/templates/emissions/newscategory_list.html b/panikdb/templates/emissions/newscategory_list.html index bbf5f9c4e5e521ef39e7e7f2173476b658b98a5f..a06b507ae40592795a5b5372bbe6625a11f4b8f7 100644 --- a/panikdb/templates/emissions/newscategory_list.html +++ b/panikdb/templates/emissions/newscategory_list.html @@ -13,7 +13,7 @@ {% if perms.emissions.add_newsitem %}

-Ajouter une actu +Ajouter une actu

{% endif %} diff --git a/panikdb/templates/home.html b/panikdb/templates/home.html index eb4545b3a51c537bd33682793531a5ea86fbf0fb..be36ff55f6505e24a4725b2b006a798f3618848a 100644 --- a/panikdb/templates/home.html +++ b/panikdb/templates/home.html @@ -1,5 +1,7 @@ {% extends "base.html" %} +{% block bodyargs %}class="home"{% endblock %} + {% block appbar %} {% if perms.emissions.change_emission %} Toutes les émissions @@ -34,14 +36,14 @@

Émissions

{% for emission in emissions %} -
+

{{ emission.title }}

-Ajouter un épisode +Ajouter un épisode -Ajouter une actu +Ajouter une actu -Modifier le profil de l'émission +Modifier le profil de l'émission
@@ -80,10 +82,10 @@ Aucune actu. {% for news_category in news_categories %} -
+

Actu : {{ news_category.title }}

-Ajouter une actu +Ajouter une actu
    {% for newsitem in news_category.get_sorted_newsitems|slice:":10" %} @@ -99,7 +101,7 @@ Aucune actu. {% endfor %} {% if perms.emissions.add_focus %} -
    +

    Focus