Browse Source

homogeneiser les icones, afficher les liens en exemple dans le formulaire de configuration

master
Cerdic 2 years ago
parent
commit
211a445ff4
  1. 12
      formulaires/configurer_podcast.html
  2. BIN
      images/icon-feed-256.png
  3. BIN
      images/icon-feed-64.png
  4. 4
      images/icon-feed-xx.svg
  5. BIN
      images/icon-miro-64.png
  6. BIN
      images/icon_miro.png
  7. 8
      inclure/podcasts_liens.html

12
formulaires/configurer_podcast.html

@ -20,6 +20,18 @@
itunes,<:podcast:valeur_itunes:>,
miro,<:podcast:valeur_miro:>,
mrss,<:podcast:valeur_mrss:>}})]
<[(#DIV|sinon{li})] class="editer">
<div class="example-liens">
<INCLURE{fond=inclure/podcasts_liens} />
<style type="text/css">
.example-liens {
padding: 1em 2em;
background: #eee;
}
.example-liens img {max-width: 1.0em; vertical-align: middle;margin-right: 0.5em;}
</style>
</div>
</[(#DIV|sinon{li})]>
[(#SAISIE{input,titre_podcast,
explication=<:podcast:explication_titre:>,
label=<:podcast:label_titre:>,

BIN
images/icon-feed-256.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

BIN
images/icon-feed-64.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

4
images/icon-feed-xx.svg

@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="256" height="256">
<rect rx="90" width="512" height="512" fill="#fff"/>
<path d="M437 0H75A75 75 0 000 75v362a75 75 0 0075 75h362a75 75 0 0075-75V75a75 75 0 00-75-75zM106.2 446.4a44.1 44.1 0 110-88.2 44.1 44.1 0 010 88.2zm149-8.1c-22 0-40-18-40-40 0-58-47-105-105-105a40 40 0 010-80c102 0 185 83 185 185 0 22-18 40-40 40zm150 0c-22 0-40-18-40-40 0-68.1-26.5-132.2-74.7-180.3a253.3 253.3 0 00-180.3-74.7 40 40 0 010-80c89.5 0 173.6 34.8 236.9 98.1a332.8 332.8 0 0198.1 236.9c0 22-18 40-40 40z" fill="#ffb500"/>
</svg>

After

Width:  |  Height:  |  Size: 590 B

BIN
images/icon-miro-64.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
images/icon_miro.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

8
inclure/podcasts_liens.html

@ -10,19 +10,19 @@
[(#VAL{itunes}|in_array{#GET{podcast_flux}}|oui)
<li class="item">
<a href="[(#URL_PAGE{podcast}|parametre_url{type,itunes}|url_absolue|replace{http://,itpc://})]">
[(#CHEMIN{images/podcast-64.png}|image_reduire{16,16}|inserer_attribut{alt,''})]&nbsp;iTunes
[(#CHEMIN{images/podcast-64.png}|image_reduire{32,32}|inserer_attribut{alt,''})]&nbsp;iTunes
</a>
</li>]
[(#VAL{miro}|in_array{#GET{podcast_flux}}|oui)
<li class="item">
<a href="http://subscribe.getmiro.com/?url1=[(#URL_PAGE{podcast}|url_absolue)]">
[(#CHEMIN{images/icon_miro.png}|image_reduire{16,16}|inserer_attribut{alt,''})]&nbsp;Miro
<a href="https://subscribe.getmiro.com/?url1=[(#URL_PAGE{podcast}|url_absolue)]">
[(#CHEMIN{images/icon-miro-64.png}|image_reduire{32,32}|inserer_attribut{alt,''})]&nbsp;Miro
</a>
</li>]
[(#VAL{mrss}|in_array{#GET{podcast_flux}}|oui)
<li class="item">
<a href="[(#URL_PAGE{podcast}|url_absolue)]">
[(#CHEMIN{feed.png}|image_reduire{16,16}|inserer_attribut{alt,''})]&nbsp;Media RSS
[(#CHEMIN{images/icon-feed-64.png}|image_reduire{32,32}|inserer_attribut{alt,''})]&nbsp;Media RSS
</a>
</li>]
</ul>]
Loading…
Cancel
Save