Forum Ametys

Forum de la communauté Ametys

You are not logged in.

#1 05/08/2021 11:42:37

serialbob
Guest
From: Tarbes
Registered: 22/10/2016
Posts: 14

Paramétrer les couleurs du gestionnaire de liens

Bonjour,

Est-il possible de paramétrer les couleurs disponibles dans le plugin link-directory ?

Bien cordialement

SR

Offline

#2 06/08/2021 12:18:15

Raphaël Franchet
Expert Team
From: Toulouse
Registered: 10/08/2010
Posts: 1,111

Re: Paramétrer les couleurs du gestionnaire de liens

Bonjour.
Oui c'est possible.
Il faut créer un fichier WEB-INF/param/linkdirectory-colors.xml
dont voici la version par défaut dans le plugin
                       <colors default="4">
                            <color id="1">
                                <main>#FF66FF</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="2">
                                <main>#CC33CC</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="3">
                                <main>#CC66FF</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="4">
                                <main>#9900CC</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="5">
                                <main>#9966FF</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="6">
                                <main>#6600CC</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="7">
                                <main>#6699FF</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="8">
                                <main>#0066CC</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="9">
                                <main>#00CCFF</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="10">
                                <main>#006699</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="11">
                                <main>#00CCCC</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="12">
                                <main>#009999</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="13">
                                <main>#66CC66</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="14">
                                <main>#009933</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="15">
                                <main>#99CC66</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="16">
                                <main>#669933</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="17">
                                <main>#EFC203</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="18">
                                <main>#FF9900</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="19">
                                <main>#FF9966</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="20">
                                <main>#CC6600</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="21">
                                <main>#FF6666</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="22">
                                <main>#CC0000</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="23">
                                <main>#FF3399</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="24">
                                <main>#CC0066</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="25">
                                <main>#999999</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="26">
                                <main>#666666</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="27">
                                <main>#333333</main>
                                <text>#FFFFFF</text>
                            </color>
                            <color id="28">
                                <main>#000000</main>
                                <text>#FFFFFF</text>
                            </color>
                       </colors>


Raphael Franchet
Expert Ametys

Offline

Board footer

Powered by FluxBB